X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fx86%2Fcpu%2Fstart16.S;h=5eb17f15c906f8a085f43161163a0668508c6745;hb=d46f2a68e64b14a54a120a4bab0781f8e11f07dd;hp=826e2b43615dbfd6775cd22ec08d58266a26913b;hpb=307367eaffc8638e10ba1784fc66bfe623ae79e2;p=oweals%2Fu-boot.git diff --git a/arch/x86/cpu/start16.S b/arch/x86/cpu/start16.S index 826e2b4361..5eb17f15c9 100644 --- a/arch/x86/cpu/start16.S +++ b/arch/x86/cpu/start16.S @@ -71,11 +71,12 @@ idt_ptr: */ gdt_ptr: .word 0x1f /* limit (31 bytes = 4 GDT entries - 1) */ - .long BOOT_SEG + gdt /* base */ + .long BOOT_SEG + gdt_rom /* base */ /* Some CPUs are picky about GDT alignment... */ .align 16 -gdt: +.globl gdt_rom +gdt_rom: /* * The GDT table ... *