From ba78bd9ba834260d035a9830726afc34fdad2a15 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 18 Oct 2009 23:32:54 +0200 Subject: import firmware from LEGO v1.05 --- AT91SAM7S256/Source/c_ioctrl.iom | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 AT91SAM7S256/Source/c_ioctrl.iom (limited to 'AT91SAM7S256/Source/c_ioctrl.iom') diff --git a/AT91SAM7S256/Source/c_ioctrl.iom b/AT91SAM7S256/Source/c_ioctrl.iom new file mode 100644 index 0000000..3385caa --- /dev/null +++ b/AT91SAM7S256/Source/c_ioctrl.iom @@ -0,0 +1,35 @@ +// +// Date init 14.12.2004 +// +// Revision date $Date:: 16-05-06 9:50 $ +// +// Filename $Workfile:: c_ioctrl.iom $ +// +// Version $Revision:: 8 $ +// +// Archive $Archive:: /LMS2006/Sys01/Main/Firmware/Source/c_ioctrl.i $ +// +// Platform C +// + +#ifndef CIOCTRL_IOM +#define CIOCTRL_IOM + +#define pMapIoCtrl ((IOMAPIOCTRL*)(pHeaders[ENTRY_IOCTRL]->pIOMap)) + +enum +{ + POWERDOWN = 0x5A00, + BOOT = 0xA55A +}; + +typedef struct +{ + UWORD PowerOn; +}IOMAPIOCTRL; + + +#endif + + + -- cgit v1.2.3