Home
last modified time | relevance | path

Searched refs:gdt_addr (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/x86/cpu/i386/
Dcpu.c118 u64 *gdt_addr; in arch_setup_gd() local
120 gdt_addr = new_gd->arch.gdt; in arch_setup_gd()
127 gdt_addr[X86_GDT_ENTRY_UNUSED] = GDT_ENTRY(0xc09b, 0, 0xfffff); in arch_setup_gd()
128 gdt_addr[X86_GDT_ENTRY_32BIT_CS] = GDT_ENTRY(0xc09b, 0, 0xfffff); in arch_setup_gd()
131 gdt_addr[X86_GDT_ENTRY_32BIT_DS] = GDT_ENTRY(0xc093, 0, 0xfffff); in arch_setup_gd()
135 gdt_addr[X86_GDT_ENTRY_32BIT_FS] = GDT_ENTRY(0xc093, in arch_setup_gd()
139 gdt_addr[X86_GDT_ENTRY_16BIT_CS] = GDT_ENTRY(0x009b, 0, 0x0ffff); in arch_setup_gd()
142 gdt_addr[X86_GDT_ENTRY_16BIT_DS] = GDT_ENTRY(0x0093, 0, 0x0ffff); in arch_setup_gd()
144 gdt_addr[X86_GDT_ENTRY_16BIT_FLAT_CS] = GDT_ENTRY(0x809b, 0, 0xfffff); in arch_setup_gd()
145 gdt_addr[X86_GDT_ENTRY_16BIT_FLAT_DS] = GDT_ENTRY(0x8093, 0, 0xfffff); in arch_setup_gd()
[all …]
/external/u-boot/arch/x86/include/asm/
Du-boot-x86.h18 void setup_gdt(struct global_data *id, u64 *gdt_addr);