FreeCalypso > hg > freecalypso-sw
comparison loadagent/romvars.h @ 1:da98dc08f575
loadagent: beginning to lay the foundation
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Apr 2013 03:21:00 +0000 |
parents | 9beb566ded04 |
children |
comparison
equal
deleted
inserted
replaced
0:9beb566ded04 | 1:da98dc08f575 |
---|---|
11 * | 11 * |
12 * This header file defines the layout of the IRAM structure in question, | 12 * This header file defines the layout of the IRAM structure in question, |
13 * based on the disassembly of the boot ROM. | 13 * based on the disassembly of the boot ROM. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef __ROMVARS_H | |
17 #define __ROMVARS_H | |
18 | |
19 #include "types.h" | |
20 | |
16 struct boot_rom_vars { | 21 struct boot_rom_vars { |
17 u8 baud_rate_code; | 22 u8 baud_rate_code; |
18 u8 pad1[3]; | 23 u8 pad1[3]; |
19 u32 uart_timeout; | 24 u32 uart_timeout; |
20 u8 uart_id; | 25 u8 uart_id; |
25 u16 chksum_cmd; | 30 u16 chksum_cmd; |
26 u16 chksum_accum; | 31 u16 chksum_accum; |
27 u16 pad2; | 32 u16 pad2; |
28 u32 branch_addr; | 33 u32 branch_addr; |
29 }; | 34 }; |
35 | |
36 #endif /* include guard */ |