Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1d3d2cf in mainline for kernel/arch/amd64/src/pm.c


Ignore:
Timestamp:
2010-08-11T14:18:34Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
be3f94c
Parents:
482dde7
Message:

rename gdtselector to GDT_SELECTOR to make explicit it is a macro
unify how bootstrap_gdtr is defined on amd64 and ia32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/pm.c

    r482dde7 r1d3d2cf  
    171171
    172172                d->unused = 0;
    173                 d->selector = gdtselector(KTEXT_DES);
     173                d->selector = GDT_SELECTOR(KTEXT_DES);
    174174
    175175                d->present = 1;
     
    291291         * to its own TSS. We just need to load the TR register.
    292292         */
    293         tr_load(gdtselector(TSS_DES));
     293        tr_load(GDT_SELECTOR(TSS_DES));
    294294}
    295295
Note: See TracChangeset for help on using the changeset viewer.