Disable fast syscall for the time being.

This commit is contained in:
Danila Fedorin 2019-05-03 15:49:42 -07:00
parent f1980d32ca
commit 86c4aa03ed

View File

@ -55,13 +55,13 @@ fast_syscall(int num, uint32_t a1, uint32_t a2, uint32_t a3, uint32_t a4) {
void
sys_cputs(const char *s, size_t len)
{
fast_syscall(SYS_cputs, (uint32_t)s, len, 0, 0);
syscall(SYS_cputs, 0, (uint32_t)s, len, 0, 0, 0);
}
int
sys_cgetc(void)
{
return fast_syscall(SYS_cgetc, 0, 0, 0, 0);
return syscall(SYS_cgetc, 0, 0, 0, 0, 0, 0);
}
int