Changeset 04803bf in mainline for kernel/arch/ia32/include/pm.h


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
Parents:
b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes (needs fixes).

File:
1 edited

Legend:

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

    rb50b5af2 r04803bf  
    5858#endif /* CONFIG_FB */
    5959
    60 #define gdtselector(des)  ((des) << 3)
     60#define GDT_SELECTOR(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  (0x0e)
    70 #define AR_TSS        (0x09)
     69#define AR_INTERRUPT  (0xe)
     70#define AR_TRAP       (0xf)
     71#define AR_TSS        (0x9)
    7172
    7273#define DPL_KERNEL  (PL_KERNEL << 5)
     
    7475
    7576#define TSS_BASIC_SIZE  104
    76 #define TSS_IOMAP_SIZE  (16 * 1024 + 1)  /* 16K for bitmap + 1 terminating byte for convenience */
     77#define TSS_IOMAP_SIZE  (8 * 1024 + 1)  /* 8K for bitmap + 1 terminating byte for convenience */
    7778
    7879#define IO_PORTS  (64 * 1024)
     
    8081#ifndef __ASM__
    8182
    82 #include <arch/types.h>
     83#include <typedefs.h>
    8384#include <arch/context.h>
    8485
     
    152153
    153154extern ptr_16_32_t gdtr;
    154 extern 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.