fix: remove kernel mouse cursor demo, +add two future-implemented syscalls for shutdown & reset
This commit is contained in:
@@ -326,6 +326,12 @@ namespace Zenith {
|
||||
return (int64_t)Sys_TermSize();
|
||||
case SYS_GETARGS:
|
||||
return (int64_t)Sys_GetArgs((char*)frame->arg1, frame->arg2);
|
||||
case SYS_RESET:
|
||||
/* Unimplemented */
|
||||
return -1;
|
||||
case SYS_SHUTDOWN:
|
||||
/* Unimplemented */
|
||||
return -1;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace Zenith {
|
||||
static constexpr uint64_t SYS_WAITPID = 23;
|
||||
static constexpr uint64_t SYS_TERMSIZE = 24;
|
||||
static constexpr uint64_t SYS_GETARGS = 25;
|
||||
static constexpr uint64_t SYS_RESET = 26;
|
||||
static constexpr uint64_t SYS_SHUTDOWN = 27;
|
||||
|
||||
struct FbInfo {
|
||||
uint64_t width;
|
||||
|
||||
Reference in New Issue
Block a user