void shell(char* username, char* pcname){ sdata.user = username; sdata.computername = pcname; start_shell_buffer(); // Give the kernel the shell keyboard listener _syscall(3, 2,(uint64_t)&shell_keyboardListener, 1); prompt(); while(1){} return; }
void shell(char* username, char* pcname){ s_clearScreen(); sdata.user = username; sdata.computername = pcname; start_shell_buffer(); prompt(); // Set the listeners s_setKBlistener((int)&shell_keyboardListener); while(login_isLogued()){} return; }