mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Print CKernel sys_gdt_ptr values in zealbooter.
This commit is contained in:
parent
a02dca9e41
commit
f0c751e962
1 changed files with 3 additions and 0 deletions
|
@ -229,6 +229,9 @@ void _start(void) {
|
|||
kernel->sys_gdt_ptr.base = (void *)&kernel->sys_gdt - (uintptr_t)module_kernel->address;
|
||||
kernel->sys_gdt_ptr.base += final_address;
|
||||
|
||||
printf("kernel->sys_gdt_ptr.limit: 0x%X\n", kernel->sys_gdt_ptr.limit);
|
||||
printf("kernel->sys_gdt_ptr.base: 0x%X\n", kernel->sys_gdt_ptr.base);
|
||||
|
||||
kernel->sys_pci_buses = 256;
|
||||
|
||||
struct E801 E801 = get_E801();
|
||||
|
|
Loading…
Reference in a new issue