Go to the documentation of this file.
44 static unsigned char *videoBuffer = (
unsigned char*) 0xB8000;
54 char buf[16] = {
"a\n" };
57 kpanic(
"Error: Error creating mailbox: system\n");
64 x = (
int*) &myMsg.
data;
65 kprintf(
"Switching to term: [%i][%i]\n", *x, myMsg.
pid);
69 kprintf(
"Restarting the system in 5 seconds\n");
77 kprintf(
"system: backdoor opened\n");
89 biosCall(0x10, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0);
90 for (i = 0x0; i < 100; i++)
107 if (tmpTask != 0x0) {
108 if (tmpTask->
files[0] != 0x0)
117 videoBuffer[1] =
'c';
int mpi_fetchMessage(char *, mpi_message_t *)
void kfree(void *baseAddr)
void vmm_freeProcessPages(pidType pid)
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)
tty_term * tty_find(uInt16)
kTask_t * schedFindTask(uInt32 id)
vitalsNode * systemVitals
int fclose(fileDescriptor_t *fd)
fileDescriptor_t * files[MAX_OFILES]
uInt32 execThread(void(*tproc)(void), uInt32 stack, char *arg)
int sys_shutdown(shutdownCMD_t)
int kprintf(const char *,...)
kTask_t * sched_getDelTask()
int mpi_createMbox(char *)