From e95e0a8bc677170edd33123b5a11f086c2ab60c7 Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 1 Jan 2022 18:16:16 -0600 Subject: [PATCH] minor syscall change --- ableos/src/wasm/wasm_sys.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ableos/src/wasm/wasm_sys.rs b/ableos/src/wasm/wasm_sys.rs index 7ee8b45..eeba79b 100644 --- a/ableos/src/wasm/wasm_sys.rs +++ b/ableos/src/wasm/wasm_sys.rs @@ -34,11 +34,9 @@ syscall_enum! { CONSOLE_OUT=3, // Console output CONSOLE_GET_TITLE=4, // Get the console title CONSOLE_SET_TITLE=5, // Set the console title - GET_PID=6, // Get the proccess ID - PROCESS_INFO=7, // Get information about the process - //scheduler Related Syscals - GET_PRIORITY=8, // Get scheduler priority - SET_PRIORITY=9, // Set scheduler priority + CONSOLE_GET_BAR=6, + CONSOLE_SET_BAR=7, + // GET_HOSTNAME=10, SET_HOSTNAME=11, @@ -84,7 +82,11 @@ syscall_enum! { SOCKET_RECEIVE=43, - + GET_PID=44, // Get the proccess ID + PROCESS_INFO=45, // Get information about the process + //scheduler Related Syscals + GET_PRIORITY=46, // Get scheduler priority + SET_PRIORITY=47, // Set scheduler priority EXIT=50, EMPTY=0xFFFF,