Ignore:
File:
1 edited

Legend:

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

    r1d3d2cf r91ef7cfd  
    225225         * Switch to kernel selectors.
    226226         */
    227         movw $(GDT_SELECTOR(KDATA_DES)), %ax
     227        movw $(gdtselector(KDATA_DES)), %ax
    228228        movw %ax, %ds
    229229        movw %ax, %es
     
    304304         * Switch to kernel selectors.
    305305         */
    306         movl $(GDT_SELECTOR(KDATA_DES)), %eax
     306        movl $(gdtselector(KDATA_DES)), %eax
    307307        movl %eax, %ds
    308308        movl %eax, %es
     
    407407         * Switch to kernel selectors.
    408408         */
    409         movl $(GDT_SELECTOR(KDATA_DES)), %eax
     409        movl $(gdtselector(KDATA_DES)), %eax
    410410        movl %eax, %ds
    411411        movl %eax, %es
     
    416416         */
    417417        xorl %eax, %eax
    418         cmpl $(GDT_SELECTOR(KTEXT_DES)), ISTATE_OFFSET_CS(%esp)
     418        cmpl $(gdtselector(KTEXT_DES)), ISTATE_OFFSET_CS(%esp)
    419419        cmovnzl %eax, %ebp
    420420
Note: See TracChangeset for help on using the changeset viewer.