Home
last modified time | relevance | path

Searched refs:set_segment_descriptor (Results 1 – 12 of 12) sorted by relevance

/haiku/src/system/kernel/arch/x86/32/
H A Dapm.cpp322 set_segment_descriptor(&gdt[BIOS_DATA_SEGMENT], biosData, in apm_init()
333 set_segment_descriptor(&gdt[APM_CODE32_SEGMENT], in apm_init()
336 set_segment_descriptor(&gdt[APM_CODE16_SEGMENT], in apm_init()
350 set_segment_descriptor(&gdt[APM_DATA_SEGMENT], in apm_init()
356 set_segment_descriptor(&gdt[APM_DATA_SEGMENT], in apm_init()
H A Ddescriptors.cpp248 set_segment_descriptor(&gdt[KERNEL_CODE_SEGMENT], 0, addr_t(-1), in init_gdt_percpu()
250 set_segment_descriptor(&gdt[KERNEL_DATA_SEGMENT], 0, addr_t(-1), in init_gdt_percpu()
253 set_segment_descriptor(&gdt[USER_CODE_SEGMENT], 0, addr_t(-1), in init_gdt_percpu()
255 set_segment_descriptor(&gdt[USER_DATA_SEGMENT], 0, addr_t(-1), in init_gdt_percpu()
271 set_segment_descriptor(&gdt[KERNEL_TLS_SEGMENT], in init_gdt_percpu()
274 set_segment_descriptor(&gdt[USER_TLS_SEGMENT], 0, TLS_SIZE, in init_gdt_percpu()
/haiku/src/system/boot/platform/efi/arch/x86/
H A Darch_mmu.cpp115 set_segment_descriptor(&bootGDT[KERNEL_CODE_SEGMENT], 0, 0xffffffff, in arch_mmu_init_gdt()
119 set_segment_descriptor(&bootGDT[KERNEL_DATA_SEGMENT], 0, 0xffffffff, in arch_mmu_init_gdt()
123 set_segment_descriptor(&bootGDT[USER_CODE_SEGMENT], 0, 0xffffffff, in arch_mmu_init_gdt()
127 set_segment_descriptor(&bootGDT[USER_DATA_SEGMENT], 0, 0xffffffff, in arch_mmu_init_gdt()
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Darch_mmu.cpp52 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()
/haiku/src/system/boot/platform/bios_ia32/
H A Dlong.cpp75 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()
H A Dmmu.cpp572 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()
H A Dsmp.cpp482 set_segment_descriptor(&tempGDT[1], 0, 0xffffffff, DT_CODE_READABLE, in smp_boot_other_cpus()
484 set_segment_descriptor(&tempGDT[2], 0, 0xffffffff, DT_DATA_WRITEABLE, in smp_boot_other_cpus()
/haiku/src/system/boot/arch/m68k/
H A Dmmu.cpp469 set_segment_descriptor(&virtualGDT[1], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
473 set_segment_descriptor(&virtualGDT[2], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
477 set_segment_descriptor(&virtualGDT[3], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
481 set_segment_descriptor(&virtualGDT[4], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
/haiku/src/system/boot/platform/atari_m68k/
H A Dmmu.cpp470 set_segment_descriptor(&virtualGDT[1], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
474 set_segment_descriptor(&virtualGDT[2], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
478 set_segment_descriptor(&virtualGDT[3], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
482 set_segment_descriptor(&virtualGDT[4], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
/haiku/src/system/boot/platform/amiga_m68k/
H A Dmmu.cpp469 set_segment_descriptor(&virtualGDT[1], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
473 set_segment_descriptor(&virtualGDT[2], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
477 set_segment_descriptor(&virtualGDT[3], 0, 0xffffffff, DT_CODE_READABLE, in mmu_init_for_kernel()
481 set_segment_descriptor(&virtualGDT[4], 0, 0xffffffff, DT_DATA_WRITEABLE, in mmu_init_for_kernel()
/haiku/headers/private/kernel/arch/x86/64/
H A Ddescriptors.h73 set_segment_descriptor(segment_descriptor* desc, uint8 type, uint8 dpl) in set_segment_descriptor() function
/haiku/headers/private/kernel/arch/x86/32/
H A Ddescriptors.h111 set_segment_descriptor(segment_descriptor* desc, addr_t base, uint32 limit, in set_segment_descriptor() function