Skip to main content

Module HWDefs

Module HWDefs 

Source

Constantsยง

IDT_CAPACITY
number of entries in IDT
IDT_VALID
32 exceptions + 16 irqs from PIC = 48 valid interrupts
SEG_KERNEL_CODE
SEG_KERNEL_DATA
GDT segment selectors (see boot/startup-x86_64.s).docs/ GDT[0]=null, [1]=kdata, [2]=kcode, [3]=ucode, [4]=udata, [5]=tss
SEG_USER_CODE
user code/data with RPL=3
SEG_USER_DATA
VECTOR_SIZE
size of interrupt handler wrapper routine (vector)