formatting

This commit is contained in:
rsc 2007-08-14 19:41:38 +00:00
parent 07ddc0fa82
commit cce27ba9fb

2
mmu.h
View file

@ -79,6 +79,7 @@ struct segdesc {
#define STS_IG32 0xE // 32-bit Interrupt Gate #define STS_IG32 0xE // 32-bit Interrupt Gate
#define STS_TG32 0xF // 32-bit Trap Gate #define STS_TG32 0xF // 32-bit Trap Gate
// PAGEBREAK: 40
// Task state segment format // Task state segment format
struct taskstate { struct taskstate {
uint link; // Old ts selector uint link; // Old ts selector
@ -120,6 +121,7 @@ struct taskstate {
ushort iomb; // I/O map base address ushort iomb; // I/O map base address
}; };
// PAGEBREAK: 12
// Gate descriptors for interrupts and traps // Gate descriptors for interrupts and traps
struct gatedesc { struct gatedesc {
uint off_15_0 : 16; // low 16 bits of offset in segment uint off_15_0 : 16; // low 16 bits of offset in segment