newlib: bugfixes

git-svn-id: svn://kolibrios.org@2827 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2012-06-27 12:31:46 +00:00
parent 21140b30f2
commit b3ffd0487f
6 changed files with 48 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ void *user_alloc(size_t size)
__asm__ __volatile__(
"int $0x40"
:"=eax"(val)
:"=a"(val)
:"a"(68),"b"(12),"c"(size));
return val;
}
@@ -82,7 +82,7 @@ int user_free(void *mem)
__asm__ __volatile__(
"int $0x40"
:"=eax"(val)
:"=a"(val)
:"a"(68),"b"(13),"c"(mem));
return val;
}