Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/pm.h

    ra13c6bc r99d6fd0  
    5858#endif /* CONFIG_FB */
    5959
    60 #define GDT_SELECTOR(des)  ((des) << 3)
     60#define gdtselector(des)  ((des) << 3)
    6161
    6262#define PL_KERNEL  0
     
    6767#define AR_CODE       (3 << 3)
    6868#define AR_WRITABLE   (1 << 1)
    69 #define AR_INTERRUPT  (0xe)
    70 #define AR_TRAP       (0xf)
    71 #define AR_TSS        (0x9)
     69#define AR_INTERRUPT  (0x0e)
     70#define AR_TSS        (0x09)
    7271
    7372#define DPL_KERNEL  (PL_KERNEL << 5)
     
    7574
    7675#define TSS_BASIC_SIZE  104
    77 #define TSS_IOMAP_SIZE  (8 * 1024 + 1)  /* 8K for bitmap + 1 terminating byte for convenience */
     76#define TSS_IOMAP_SIZE  (16 * 1024 + 1)  /* 16K for bitmap + 1 terminating byte for convenience */
    7877
    7978#define IO_PORTS  (64 * 1024)
     
    8180#ifndef __ASM__
    8281
    83 #include <typedefs.h>
     82#include <arch/types.h>
    8483#include <arch/context.h>
    8584
     
    153152
    154153extern ptr_16_32_t gdtr;
     154extern ptr_16_32_t bootstrap_gdtr;
    155155extern ptr_16_32_t protected_ap_gdtr;
    156156extern tss_t *tss_p;
Note: See TracChangeset for help on using the changeset viewer.