1 | /* i386types.h |
---|
2 | * |
---|
3 | * This include file contains type definitions pertaining to the Intel |
---|
4 | * i386 processor family. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __i386_TYPES_h |
---|
18 | #define __i386_TYPES_h |
---|
19 | |
---|
20 | #ifndef ASM |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | /* |
---|
27 | * This section defines the basic types for this processor. |
---|
28 | */ |
---|
29 | |
---|
30 | typedef unsigned char unsigned8; /* unsigned 8-bit integer */ |
---|
31 | typedef unsigned short unsigned16; /* unsigned 16-bit integer */ |
---|
32 | typedef unsigned int unsigned32; /* unsigned 32-bit integer */ |
---|
33 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
34 | |
---|
35 | typedef unsigned16 Priority_Bit_map_control; |
---|
36 | |
---|
37 | typedef signed char signed8; /* 8-bit signed integer */ |
---|
38 | typedef signed short signed16; /* 16-bit signed integer */ |
---|
39 | typedef signed int signed32; /* 32-bit signed integer */ |
---|
40 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
41 | |
---|
42 | typedef unsigned32 boolean; /* Boolean value */ |
---|
43 | |
---|
44 | typedef float single_precision; /* single precision float */ |
---|
45 | typedef double double_precision; /* double precision float */ |
---|
46 | |
---|
47 | typedef void i386_isr; |
---|
48 | |
---|
49 | typedef i386_isr ( *i386_isr_entry )( void ); |
---|
50 | |
---|
51 | #ifdef __cplusplus |
---|
52 | } |
---|
53 | #endif |
---|
54 | |
---|
55 | #endif /* !ASM */ |
---|
56 | |
---|
57 | #endif |
---|
58 | /* end of include file */ |
---|