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.
20 /* physical address: XXX theoretically 36 bits for PAE */
22 typedef uint32_t phys_addr_t;
24 #define FMT_plx "%08" PRIx32
26 /* cell based types */
29 typedef uint32_t ucell;
30 typedef int64_t dcell;
31 typedef uint64_t ducell;
33 #define FMT_cell "%" PRId32
34 #define FMT_ucell "%" PRIu32
35 #define FMT_ucellx "%08" PRIx32
36 #define FMT_ucellX "%08" PRIX32
38 typedef int32_t prom_arg_t;
39 typedef uint32_t prom_uarg_t;
41 #define PRIdPROMARG PRId32
42 #define PRIuPROMARG PRIu32
43 #define PRIxPROMARG PRIx32
44 #define FMT_prom_arg "%" PRIdPROMARG
45 #define FMT_prom_uarg "%" PRIuPROMARG
46 #define FMT_prom_uargx "%08" PRIxPROMARG
50 #define bitspercell (sizeof(cell)<<3)
51 #define bitsperdcell (sizeof(dcell)<<3)
57 /* size named types */
59 typedef unsigned char u8;
60 typedef unsigned short u16;
61 typedef unsigned int u32;
62 typedef unsigned long long u64;
67 typedef long long s64;