Go to the documentation of this file.
44 static unsigned char *videoBuffer = (
char *)0xB8000;
55 kpanic(
"Error: Error creating mailbox: system\n");
63 x = (
int *)&myMsg.
data;
64 kprintf(
"Switching to term: [%i][%i]\n",*x,myMsg.
pid);
68 kprintf(
"Restarting the system in 5 seconds\n");
78 kprintf(
"system: backdoor opened\n");
90 biosCall(0x10,0x3,0x0,0x0,0x0,0x0,0x0,0x0,0x0);
91 for (i=0x0;i<100;i++)
asm(
"hlt");
106 if (tmpTask != 0x0) {
107 if (tmpTask->
files[0] != 0x0)
109 vmmFreeProcessPages(tmpTask->
id);
int mpi_fetchMessage(char *, mpi_message_t *)
void outportByte(unsigned int, unsigned char)
outputut one byte to specified port
void kfree(void *baseAddr)
int strcmp(const char *str1, const char *str2)
void kpanic(const char *fmt,...)
print panic message and halt system
void biosCall(int biosInt, int eax, int ebx, int ecx, int edx, int esi, int edi, int es, int ds)
unsigned char inportByte(unsigned int)
input one byte from specified port
tty_term * tty_find(uInt16)
kTask_t * schedFindTask(uInt32 id)
vitalsNode * systemVitals
int fclose(fileDescriptor_t *fd)
fileDescriptor_t * files[MAX_OFILES]
int kprintf(const char *,...)
kTask_t * sched_getDelTask()
int mpi_createMbox(char *)