Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/boot.S

    r1d3d2cf r22c3444  
    7878       
    7979        /* Initialize Global Descriptor Table register */
    80         lgdtl bootstrap_gdtr
     80        lgdtl KA2PA(bootstrap_gdtr)
    8181       
    8282        /* Kernel data + stack */
    83         movw $GDT_SELECTOR(KDATA_DES), %cx
     83        movw $gdtselector(KDATA_DES), %cx
    8484        movw %cx, %es
    8585        movw %cx, %fs
     
    8888        movw %cx, %ss
    8989       
    90         jmpl $GDT_SELECTOR(KTEXT_DES), $multiboot_meeting_point
     90        jmpl $gdtselector(KTEXT_DES), $multiboot_meeting_point
    9191        multiboot_meeting_point:
    9292       
     
    514514page_directory:
    515515        .space 4096, 0
    516 
    517 bootstrap_gdtr:
    518         .word GDT_SELECTOR(GDT_ITEMS)
    519         .long KA2PA(gdt)
    520516
    521517grub_eax:
Note: See TracChangeset for help on using the changeset viewer.