summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/defs.h
blob: fc929635cf22971429005c5e1f8d7453d45cc972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36



#ifndef __DEFS_H__
#define __DEFS_H__

#include "rockmacros.h"

#ifdef ROCKBOX_LITTLE_ENDIAN
#define LO 0
#define HI 1
#else
#define LO 1
#define HI 0
#endif


typedef unsigned char byte;

typedef unsigned char un8;
typedef unsigned short un16;
typedef unsigned int un32;

typedef signed char n8;
typedef signed short n16;
typedef signed int n32;

typedef un16 word;
typedef word addr;





#endif