formatting
This commit is contained in:
parent
07ddc0fa82
commit
cce27ba9fb
1 changed files with 2 additions and 0 deletions
2
mmu.h
2
mmu.h
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue