|
Modestus Moon OS
R4
CS 450 project
|

Go to the source code of this file.
Data Structures | |
| struct | date_time |
| struct | s_processContext |
| The s_processContext struct defines the context that each process stores . More... | |
Macros | |
| #define | NULL 0 |
| #define | no_warn(p) if (p) while (1) break |
| #define | asm __asm__ |
| #define | volatile __volatile__ |
| #define | sti() asm volatile ("sti"::) |
| #define | cli() asm volatile ("cli"::) |
| #define | nop() asm volatile ("nop"::) |
| #define | hlt() asm volatile ("hlt"::) |
| #define | iret() asm volatile ("iret"::) |
| #define | GDT_CS_ID 0x01 |
| #define | GDT_DS_ID 0x02 |
Typedefs | |
| typedef unsigned int | size_t |
| typedef unsigned char | u8int |
| typedef unsigned short | u16int |
| typedef unsigned long | u32int |
| typedef unsigned char | uint8_t |
| typedef unsigned short | uint16_t |
| typedef unsigned long | uint32_t |
| typedef struct s_processContext | processContext_t |
Functions | |
| void | klogv (const char *msg) |
| void | kpanic (const char *msg) |
| struct s_processContext | __attribute__ ((packed)) |
Variables | |
| u32int | gs |
| u32int | fs |
| u32int | es |
| u32int | ds |
| u32int | edi |
| u32int | esi |
| u32int | ebp |
| u32int | esp |
| u32int | ebx |
| u32int | edx |
| u32int | ecx |
| u32int | eax |
| u32int | eip |
| u32int | cs |
| u32int | eflags |
Definition at line 15 of file system.h.
Referenced by kmain(), kpanic(), set_date(), and set_time().
| #define no_warn | ( | p | ) | if (p) while (1) break |
Definition at line 7 of file system.h.
Referenced by alloc(), and make_heap().
| #define NULL 0 |
Definition at line 4 of file system.h.
Referenced by parse_comm(), and strtok().
Definition at line 14 of file system.h.
Referenced by set_date(), and set_time().
| typedef struct s_processContext processContext_t |
| struct s_processContext __attribute__ | ( | (packed) | ) |
| void klogv | ( | const char * | msg | ) |
Definition at line 11 of file system.c.
References serial_println(), and strcat().
Referenced by kmain(), and kpanic().
| void kpanic | ( | const char * | msg | ) |
Definition at line 24 of file system.c.
References cli, hlt, klogv(), and strcat().
Referenced by do_bounds(), do_breakpoint(), do_coprocessor(), do_coprocessor_segment(), do_debug(), do_device_not_available(), do_divide_error(), do_double_fault(), do_general_protection(), do_invalid_op(), do_invalid_tss(), do_nmi(), do_overflow(), do_page_fault(), do_segment_not_present(), do_stack_segment(), new_frame(), and sys_call().