callback addr as u32 not a void ptr
[my-code/arm.git] / betty / system.h
1 /*
2  * system.h - header file for misc system specific stuff
3  *
4  * author: hackbard@hackdaworld.org
5  *
6  */
7
8 #ifndef SYSTEM_H
9 #define SYSTEM_H
10
11 #include "lpc2xxx.h"
12 #include "types.h"
13
14 /* defines */
15
16 #define MEMTYPE_BOOT            0x00
17 #define MEMTYPE_RESERVED        0x01
18 #define MEMTYPE_RAM             0x02
19 #define MEMTYPE_EXT             0x03
20
21 /* function prototypes */
22 void pll_init(void);
23 void ext_mem_init(void);
24 void pin_init(void);
25 void mmap_init(u8 memtype);
26 void pause(u32 cnt);
27
28 #endif