Print CKernel sys_gdt_ptr values in zealbooter.

This commit is contained in:
TomAwezome 2022-09-08 19:12:56 -04:00
parent a02dca9e41
commit f0c751e962

View file

@ -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 = (void *)&kernel->sys_gdt - (uintptr_t)module_kernel->address;
kernel->sys_gdt_ptr.base += final_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; kernel->sys_pci_buses = 256;
struct E801 E801 = get_E801(); struct E801 E801 = get_E801();