Many changes:
[Marmot.git] / types.h
blob921a6841ba119eff847bce4741fd137e3446eb54
1 /*
2 * types.h --
4 * Basic marmot types.
6 */
8 #ifndef _TYPES_H
9 #define _TYPES_H
13 #ifndef ASM
15 typedef long long int int64;
16 typedef unsigned long long int uint64;
17 typedef int int32;
18 typedef unsigned int uint32;
19 typedef short int int16;
20 typedef unsigned short int uint16;
21 typedef signed char int8;
22 typedef unsigned char uint8;
24 typedef uint64 PA;
25 typedef uint64 VA;
26 typedef uint64 UReg;
27 typedef uint8 Bool;
28 typedef uint64 size_t;
30 #define TRUE ((Bool)1)
31 #define FALSE ((Bool)0)
34 typedef uint32 Color;
35 typedef uint64 Length;
37 typedef struct {
38 uint64 x;
39 uint64 y;
40 } __attribute__((packed)) Point;
42 #endif
44 #endif