newlib: update

git-svn-id: svn://kolibrios.org@5808 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2015-09-06 08:56:26 +00:00
parent 1ea8f85a42
commit 2d6646029b
3 changed files with 19 additions and 12 deletions

View File

@@ -193,6 +193,17 @@ uint32_t get_tick_count(void)
return val;
};
static inline
uint64_t get_ns_count(void)
{
uint64_t val;
__asm__ __volatile__(
"int $0x40"
:"=A"(val)
:"a"(26), "b"(10));
return val;
};
static inline
oskey_t get_key(void)
{