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.
20 /* physical address */
22 typedef uint64_t phys_addr_t;
24 #define FMT_plx "%016" PRIx64
26 /* cell based types */
29 typedef uint64_t ucell;
30 typedef __int128_t dcell;
31 typedef __uint128_t ducell;
33 typedef int64_t prom_arg_t;
34 typedef uint64_t prom_uarg_t;
36 #define PRIdPROMARG PRId64
37 #define PRIuPROMARG PRIu64
38 #define PRIxPROMARG PRIx64
39 #define FMT_prom_arg "%" PRIdPROMARG
40 #define FMT_prom_uarg "%" PRIuPROMARG
41 #define FMT_prom_uargx "%016" PRIxPROMARG
43 #define bitspercell (sizeof(cell)<<3)
44 #define bitsperdcell (sizeof(dcell)<<3)
48 /* size named types */
50 typedef unsigned char u8;
51 typedef unsigned short u16;
52 typedef unsigned int u32;
53 typedef unsigned long u64;