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;
}
예제 #2
0
파일: shell.c 프로젝트: alebian/alebianOS
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;
}