Age | Commit message (Collapse) | Author |
|
Simplify the setup and definitions of GDT/TSS entries.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Rename the array/pointer to the GDT array in gdt.c pointer to be a bit
clearer.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Fix a bug in which the size of the main GDT array and the actual number
of descriptors are different values.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add two ring-3 segment discriptors to the GDT during gdt_install.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add parenthesis around the GDT setup macros. This is done to prevent
having to do it when using them.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add a set of routines that setup the x86's global descriptor table.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|