forked from KolibriOS/kolibrios
newlib: bugfixes
git-svn-id: svn://kolibrios.org@2827 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user