mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 07:24:37 +00:00
Update files
This commit is contained in:
parent
cae9572cc1
commit
7f47b2a3a4
@ -63,8 +63,8 @@ namespace GlobalDescriptorTable
|
||||
|
||||
trace("GDT_KERNEL_CODE: %#lx", GDT_KERNEL_CODE);
|
||||
trace("GDT_KERNEL_DATA: %#lx", GDT_KERNEL_DATA);
|
||||
trace("GDT_USER_DATA: %#lx", GDT_USER_DATA);
|
||||
trace("GDT_USER_CODE: %#lx", GDT_USER_CODE);
|
||||
trace("GDT_USER_DATA: %#lx", GDT_USER_DATA);
|
||||
trace("GDT_TSS: %#lx", GDT_TSS);
|
||||
trace("Global Descriptor Table initialized");
|
||||
}
|
||||
|
@ -66,8 +66,8 @@ namespace GlobalDescriptorTable
|
||||
|
||||
#define GDT_KERNEL_CODE offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, Code)
|
||||
#define GDT_KERNEL_DATA offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, Data)
|
||||
#define GDT_USER_DATA (offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, UserData) | 3)
|
||||
#define GDT_USER_CODE (offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, UserCode) | 3)
|
||||
#define GDT_USER_DATA (offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, UserData) | 3)
|
||||
#define GDT_TSS (offsetof(GlobalDescriptorTable::GlobalDescriptorTableEntries, TaskStateSegment) | 3)
|
||||
|
||||
#endif // !__FENNIX_KERNEL_GDT_H__
|
||||
|
Loading…
x
Reference in New Issue
Block a user