Changeset 7e956eb in mainline for kernel/arch/ia32/include/pm.h


Ignore:
Timestamp:
2007-11-17T19:49:31Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c383b0
Parents:
9cc0d7c
Message:

Cleanup.

File:
1 edited

Legend:

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

    r9cc0d7c r7e956eb  
    3636#define KERN_ia32_PM_H_
    3737
    38 #define IDT_ITEMS 64
    39 #define GDT_ITEMS 7
     38#define IDT_ITEMS       64     
     39#define GDT_ITEMS       7
    4040
    4141#define VESA_INIT_SEGMENT 0x8000
     
    6464#define PL_USER         3
    6565
    66 #define AR_PRESENT      (1<<7)
    67 #define AR_DATA         (2<<3)
    68 #define AR_CODE         (3<<3)
    69 #define AR_WRITABLE     (1<<1)
     66#define AR_PRESENT      (1 << 7)
     67#define AR_DATA         (2 << 3)
     68#define AR_CODE         (3 << 3)
     69#define AR_WRITABLE     (1 << 1)
    7070#define AR_INTERRUPT    (0xe)
    7171#define AR_TSS          (0x9)
    7272
    73 #define DPL_KERNEL      (PL_KERNEL<<5)
    74 #define DPL_USER        (PL_USER<<5)
     73#define DPL_KERNEL      (PL_KERNEL << 5)
     74#define DPL_USER        (PL_USER << 5)
    7575
    7676#define TSS_BASIC_SIZE  104
    77 #define TSS_IOMAP_SIZE  (16*1024+1)     /* 16K for bitmap + 1 terminating byte for convenience */
     77#define TSS_IOMAP_SIZE  (16 * 1024 + 1) /* 16K for bitmap + 1 terminating byte for convenience */
    7878
    79 #define IO_PORTS        (64*1024)
     79#define IO_PORTS        (64 * 1024)
    8080
    8181#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.