2005-03-02 23:49:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __DEFS_H__
|
|
|
|
#define __DEFS_H__
|
|
|
|
|
|
|
|
#include "rockmacros.h"
|
|
|
|
|
2005-05-07 22:41:17 +00:00
|
|
|
#ifdef ROCKBOX_LITTLE_ENDIAN
|
2005-03-02 23:49:38 +00:00
|
|
|
#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
|
|
|
|
|