common.h 355 Bytes
Newer Older
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
#ifndef _COMMON_H
#define _COMMON_H

#include <stdint.h>

#define u32 uint32_t
#define u16 uint16_t
#define u8 uint8_t

#define s32 int32_t
#define s16 int16_t
#define s8 int8_t

#define __u8 u8
#define __u16 u16
#define __u32 u32

#define __s8 s8
#define __s16 s16
#define __s32 s32


#include "io.h"
#include "cpu.h"


#endif