mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
fix size of the GDT (forgot null descriptor)
This commit is contained in:
parent
3b8e6791ee
commit
81c7b8dac0
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ typedef struct {
|
|||
} __attribute__ ((packed)) gdt_ptr_t;
|
||||
|
||||
// a TSS descriptor is twice larger than a code/data descriptor
|
||||
#define GDT_ENTRIES (6+MAX_CORES*2)
|
||||
#define GDT_ENTRIES (7+MAX_CORES*2)
|
||||
|
||||
#if GDT_ENTRIES > 8192
|
||||
#error Too many GDT entries!
|
||||
|
|
Loading…
Add table
Reference in a new issue