Home
last modified time | relevance | path

Searched refs:gdt_base (Results 1 – 3 of 3) sorted by relevance

/external/syslinux/memdisk/
Dsetup.c642 static void set_seg_base(uint32_t gdt_base, int seg, uint32_t v) in set_seg_base() argument
644 *(uint16_t *) (gdt_base + seg + 2) = v; in set_seg_base()
645 *(uint8_t *) (gdt_base + seg + 4) = v >> 16; in set_seg_base()
646 *(uint8_t *) (gdt_base + seg + 7) = v >> 24; in set_seg_base()
651 uint32_t gdt_base; in relocate_rm_code() local
666 gdt_base = rm_args.rm_gdt; in relocate_rm_code()
668 *(uint32_t *) (gdt_base + 2) = gdt_base; /* GDT self-pointer */ in relocate_rm_code()
671 set_seg_base(gdt_base, 0x10, rm_args.rm_base); in relocate_rm_code()
672 set_seg_base(gdt_base, 0x18, rm_args.rm_base); in relocate_rm_code()
675 asm volatile ("lgdtl %0"::"m" (*(char *)gdt_base)); in relocate_rm_code()
[all …]
/external/syslinux/gpxe/src/arch/i386/transitions/
Dlibrm.S54 gdt_base: .long 0 label
141 movl %eax, gdt_base
142 addl $gdt, gdt_base
/external/syslinux/gpxe/src/arch/i386/prefix/
Dlibprefix.S264 gdt_base: .long 0 label
331 movl %eax, PM_CALL_VAR(gdt_base)(%bp)