Home
last modified time | relevance | path

Searched refs:gBootGDT (Results 1 – 5 of 5) sorted by relevance

/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Darch_mmu.cpp38 segment_descriptor gBootGDT[BOOT_GDT_SEGMENT_COUNT]; variable
49 clear_segment_descriptor(&gBootGDT[0]); in long_gdt_init()
52 set_segment_descriptor(&gBootGDT[KERNEL_CODE_SEGMENT], DT_CODE_EXECUTE_ONLY, in long_gdt_init()
54 set_segment_descriptor(&gBootGDT[KERNEL_DATA_SEGMENT], DT_DATA_WRITEABLE, in long_gdt_init()
56 set_segment_descriptor(&gBootGDT[USER_CODE_SEGMENT], DT_CODE_EXECUTE_ONLY, in long_gdt_init()
58 set_segment_descriptor(&gBootGDT[USER_DATA_SEGMENT], DT_DATA_WRITEABLE, in long_gdt_init()
62 gLongGDT = (addr_t)gBootGDT + 0xFFFFFF0000000000; in long_gdt_init()
/haiku/src/system/boot/platform/bios_ia32/
H A Dlong.cpp72 clear_segment_descriptor(&gBootGDT[0]); in long_gdt_init()
75 set_segment_descriptor(&gBootGDT[KERNEL_CODE_SEGMENT], DT_CODE_EXECUTE_ONLY, in long_gdt_init()
77 set_segment_descriptor(&gBootGDT[KERNEL_DATA_SEGMENT], DT_DATA_WRITEABLE, in long_gdt_init()
79 set_segment_descriptor(&gBootGDT[USER_CODE_SEGMENT], DT_CODE_EXECUTE_ONLY, in long_gdt_init()
81 set_segment_descriptor(&gBootGDT[USER_DATA_SEGMENT], DT_DATA_WRITEABLE, in long_gdt_init()
85 gLongGDT = fix_address((addr_t)gBootGDT); in long_gdt_init()
H A Dmmu.cpp72 segment_descriptor gBootGDT[BOOT_GDT_SEGMENT_COUNT]; variable
569 clear_segment_descriptor(&gBootGDT[0]); in mmu_init_for_kernel()
572 set_segment_descriptor(&gBootGDT[KERNEL_CODE_SEGMENT], 0, 0xffffffff, in mmu_init_for_kernel()
576 set_segment_descriptor(&gBootGDT[KERNEL_DATA_SEGMENT], 0, 0xffffffff, in mmu_init_for_kernel()
580 set_segment_descriptor(&gBootGDT[USER_CODE_SEGMENT], 0, 0xffffffff, in mmu_init_for_kernel()
584 set_segment_descriptor(&gBootGDT[USER_DATA_SEGMENT], 0, 0xffffffff, in mmu_init_for_kernel()
589 gdtDescriptor.limit = sizeof(gBootGDT); in mmu_init_for_kernel()
590 gdtDescriptor.base = gBootGDT; in mmu_init_for_kernel()
594 TRACE("gdt at virtual address %p\n", gBootGDT); in mmu_init_for_kernel()
H A Dstart.cpp102 gdt_descr.limit = sizeof(gBootGDT) - 1; in smp_start_kernel()
103 gdt_descr.base = gBootGDT; in smp_start_kernel()
H A Dmmu.h18 extern segment_descriptor gBootGDT[BOOT_GDT_SEGMENT_COUNT];