1 /* tag: data types for forth engine
3 * This file is autogenerated by types.sh. Do not edit!
5 * Copyright (C) 2003 Patrick Mauritz, Stefan Reinauer
7 * See the file "COPYING" for further information about
8 * the copyright and warranty status of this work.
19 /* physical address */
21 typedef uint64_t phys_addr_t;
23 #define FMT_plx "%016" PRIx64
25 /* cell based types */
28 typedef uint64_t ucell;
29 typedef __int128_t dcell;
30 typedef __uint128_t ducell;
32 #define FMT_cell "%" PRId64
33 #define FMT_ucellx "%016" PRIx64
34 #define FMT_ucell "%" PRIu64
36 typedef int64_t prom_arg_t;
37 typedef uint64_t prom_uarg_t;
39 #define PRIdPROMARG PRId64
40 #define PRIuPROMARG PRIu64
41 #define PRIxPROMARG PRIx64
42 #define FMT_prom_arg "%" PRIdPROMARG
43 #define FMT_prom_uarg "%" PRIuPROMARG
44 #define FMT_prom_uargx "%016" PRIxPROMARG
48 #define bitspercell (sizeof(cell)<<3)
49 #define bitsperdcell (sizeof(dcell)<<3)
55 /* size named types */
57 typedef unsigned char u8;
58 typedef unsigned short u16;
59 typedef unsigned int u32;
60 typedef unsigned long u64;