mmu.h: unused SEG_NULL
This commit is contained in:
parent
f9a06440ab
commit
b8912d999f
1 changed files with 0 additions and 3 deletions
3
mmu.h
3
mmu.h
|
@ -41,9 +41,6 @@ struct segdesc {
|
||||||
uint base_31_24 : 8; // High bits of segment base address
|
uint base_31_24 : 8; // High bits of segment base address
|
||||||
};
|
};
|
||||||
|
|
||||||
// Null segment
|
|
||||||
#define SEG_NULL (struct segdesc){ 0,0,0,0,0,0,0,0,0,0,0,0,0 }
|
|
||||||
|
|
||||||
// Normal segment
|
// Normal segment
|
||||||
#define SEG(type, base, lim, dpl) (struct segdesc) \
|
#define SEG(type, base, lim, dpl) (struct segdesc) \
|
||||||
{ ((lim) >> 12) & 0xffff, (base) & 0xffff, ((base) >> 16) & 0xff, \
|
{ ((lim) >> 12) & 0xffff, (base) & 0xffff, ((base) >> 16) & 0xff, \
|
||||||
|
|
Loading…
Reference in a new issue