Go to the source code of this file.
|
| #define | PF_P 0x1 /* 0: not-present page. 1: access rights violation. */ |
| |
| #define | PF_W 0x2 /* 0: read, 1: write. */ |
| |
| #define | PF_U 0x4 /* 0: kernel, 1: user process. */ |
| |
◆ PF_P
| #define PF_P 0x1 /* 0: not-present page. 1: access rights violation. */ |
◆ PF_U
| #define PF_U 0x4 /* 0: kernel, 1: user process. */ |
◆ PF_W
| #define PF_W 0x2 /* 0: read, 1: write. */ |
◆ exception_init()
| void exception_init |
( |
void |
| ) |
|
31 {
32
33
34
35
39 "#BR BOUND Range Exceeded Exception");
40
41
42
43
44
49 "#NM Device Not Available Exception");
55 "#XF SIMD Floating-Point Exception");
56
57
58
59
61}
static void kill(struct intr_frame *)
Definition: exception.c:71
static void page_fault(struct intr_frame *)
Definition: exception.c:120
@ INTR_ON
Definition: interrupt.h:10
@ INTR_OFF
Definition: interrupt.h:9
void intr_register_int(uint8_t vec, int dpl, enum intr_level, intr_handler_func *, const char *name)
Definition: interrupt.c:248
◆ exception_print_stats()
| void exception_print_stats |
( |
void |
| ) |
|
65 {
67}
static long long page_fault_cnt
Definition: exception.c:10
int printf(const char *,...) PRINTF_FORMAT(1