switch ppc to ofmem module implementation (Igor Kovalenko)
[openbios.git] / include / x86 / types.h
bloba54dcef756e75346af8cfccc7282cdbd1dcd75cc
1 /* tag: data types for forth engine
3 * This file is autogenerated by types.sh. Do not edit!
5 * Copyright (C) 2003-2005 Stefan Reinauer, Patrick Mauritz
7 * See the file "COPYING" for further information about
8 * the copyright and warranty status of this work.
9 */
11 #ifndef __TYPES_H
12 #define __TYPES_H
14 #include <stdint.h>
16 /* endianess */
18 #include "autoconf.h"
20 /* cell based types */
22 typedef int32_t cell;
23 typedef uint32_t ucell;
24 typedef int64_t dcell;
25 typedef uint64_t ducell;
27 #define bitspercell (sizeof(cell)<<3)
28 #define bitsperdcell (sizeof(dcell)<<3)
30 #define BITS 32
32 /* size named types */
34 typedef unsigned char u8;
35 typedef unsigned short u16;
36 typedef unsigned int u32;
37 typedef unsigned long long u64;
39 typedef char s8;
40 typedef short s16;
41 typedef int s32;
42 typedef long long s64;
44 #endif