Feat: gura!!!

This commit is contained in:
2025-05-03 22:29:36 +08:00
parent e73f90395d
commit 8d1045f20d
6 changed files with 41 additions and 168 deletions

View File

@@ -49,10 +49,10 @@ int32_t sys_getpid(void)
}
size_t sys_uart_read(char buf[], size_t size)
{ return uart_getb_sync((uint8_t *)buf, size); }
{ return uart_getb((uint8_t *)buf, size); }
size_t sys_uart_write(const char buf[], size_t size)
{ return uart_putb_sync((const uint8_t *)buf, size); }
{ return uart_putb((const uint8_t *)buf, size); }
int32_t sys_exec(const char *name, char *const argv[])
{ return run_process_by_name((uint64_t)name); /* ignore argv for now */ }