Disable fast syscall for the time being.
This commit is contained in:
parent
f1980d32ca
commit
86c4aa03ed
|
@ -55,13 +55,13 @@ fast_syscall(int num, uint32_t a1, uint32_t a2, uint32_t a3, uint32_t a4) {
|
||||||
void
|
void
|
||||||
sys_cputs(const char *s, size_t len)
|
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
|
int
|
||||||
sys_cgetc(void)
|
sys_cgetc(void)
|
||||||
{
|
{
|
||||||
return fast_syscall(SYS_cgetc, 0, 0, 0, 0);
|
return syscall(SYS_cgetc, 0, 0, 0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user