pintos/src/userprog/exception.h File Reference

Go to the source code of this file.

Defines

#define PF_P   0x1
#define PF_W   0x2
#define PF_U   0x4

Functions

void exception_init (void)
void exception_print_stats (void)


Define Documentation

#define PF_P   0x1

Definition at line 6 of file exception.h.

Referenced by page_fault().

#define PF_U   0x4

Definition at line 8 of file exception.h.

Referenced by page_fault().

#define PF_W   0x2

Definition at line 7 of file exception.h.

Referenced by load(), and page_fault().


Function Documentation

void exception_init ( void   ) 

Definition at line 31 of file exception.c.

References INTR_OFF, INTR_ON, intr_register_int(), kill(), and page_fault().

Referenced by main().

void exception_print_stats ( void   ) 

Definition at line 66 of file exception.c.

References page_fault_cnt, and printf().

Referenced by print_stats().


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6