Changeset 8fc0d455 in mainline for arch/amd64/include/pm.h


Ignore:
Timestamp:
2005-08-30T17:50:07Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c0a9b3
Parents:
b45aa23
Message:

Code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/pm.h

    rb45aa23 r8fc0d455  
    2727 */
    2828
    29 #ifndef __PM_H__
    30 #define __PM_H__
     29#ifndef __amd64_PM_H__
     30#define __amd64_PM_H__
    3131
    32 #include <arch/types.h>
    33 #include <typedefs.h>
    34 #include <arch/context.h>
     32#ifndef __ASM__
     33# include <arch/types.h>
     34# include <typedefs.h>
     35# include <arch/context.h>
     36#endif
    3537
    3638#define IDT_ITEMS 64
     
    4244#define UTEXT_DES       3
    4345#define UDATA_DES       4
    44 #define TSS_DES         5
     46#define KTEXT32_DES     5
     47#define TSS_DES         6
    4548
    4649#define selector(des)   ((des)<<3)
     
    6164
    6265#define IO_MAP_BASE     (104)
     66
     67#ifndef __ASM__
    6368
    6469struct ptr_16_32 {
     
    146151extern void tss_initialize(struct tss *t);
    147152
     153#endif /* __ASM__ */
     154
    148155#endif
Note: See TracChangeset for help on using the changeset viewer.