nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
error_code Union Reference

Error code. More...

#include <isr.h>

Data Fields

struct {
   unsigned long   ext:1
 
   unsigned long   idt:1
 
   unsigned long   selector:29
 
   unsigned long   ti:1
 
normal
 
struct {
   unsigned long   instr: 1
 
   unsigned long   present: 1
 
   unsigned long   reserved: 27
 
   unsigned long   reserved_write: 1
 
   unsigned long   user: 1
 
   unsigned long   write: 1
 
page_fault
 
unsigned long value
 

Detailed Description

Error code.

Definition at line 57 of file isr.h.

Field Documentation

unsigned long ext

Definition at line 61 of file isr.h.

unsigned long idt

Definition at line 62 of file isr.h.

unsigned long instr

1: caused by instr fetch

Definition at line 82 of file isr.h.

struct { ... } normal
struct { ... } page_fault

Referenced by page_fault_handler().

unsigned long present
Note
1: page protection violation 0: page is not present

Definition at line 73 of file isr.h.

Referenced by page_fault_handler().

unsigned long reserved

Definition at line 83 of file isr.h.

unsigned long reserved_write
Note
1: caused by reserved field writing

Definition at line 81 of file isr.h.

unsigned long selector

Code 셀렉터

Definition at line 64 of file isr.h.

unsigned long ti

테이블 인디케이터, GDT/LDT 구분

Definition at line 63 of file isr.h.

unsigned long user

1: page fault from ring 3

Definition at line 75 of file isr.h.

unsigned long value

Definition at line 58 of file isr.h.

unsigned long write

1: caused by write

Definition at line 74 of file isr.h.

Referenced by page_fault_handler().


The documentation for this union was generated from the following file: