From: <rob...@us...> - 2005-01-09 11:40:55
|
Update of /cvsroot/gc-linux/ipl/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5953/include Modified Files: exi.h ipl.h pad.h Log Message: Sorted all source files int / into the following directories: io, lowlevel, loadand ipl Did some cleaning in the source files, but there is still much to be done Index: exi.h =================================================================== RCS file: /cvsroot/gc-linux/ipl/include/exi.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- exi.h 29 Dec 2004 11:10:31 -0000 1.1.1.1 +++ exi.h 9 Jan 2005 11:40:46 -0000 1.2 @@ -14,6 +14,7 @@ void exi_dma_start(int channel, void *data, int len, int mode); void exi_read(int channel, void *data, int len); void exi_write(int channel, const void *data, int len); +unsigned long exi_rw(int channel,unsigned long data,int len); void exi_init(); Index: ipl.h =================================================================== RCS file: /cvsroot/gc-linux/ipl/include/ipl.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- ipl.h 29 Dec 2004 11:10:31 -0000 1.1.1.1 +++ ipl.h 9 Jan 2005 11:40:46 -0000 1.2 @@ -1,6 +1,8 @@ #ifndef __ipl_h #define __ipl_h +#define DATAFLASH_PAGE_SIZE 264 + extern unsigned char sram_data[64]; void exi_sram_read(void *data); @@ -16,4 +18,8 @@ void ipl_set_config(unsigned char c); void ipl_boot(int what); +/* ipl functions for rob's modchip */ +int ipl_rob_test(); +void ipl_rob_read(void *dst, unsigned long addr, int len); + #endif Index: pad.h =================================================================== RCS file: /cvsroot/gc-linux/ipl/include/pad.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- pad.h 29 Dec 2004 11:10:31 -0000 1.1.1.1 +++ pad.h 9 Jan 2005 11:40:46 -0000 1.2 @@ -85,6 +85,7 @@ /*+----------------------------------------------------------------------------------------------+*/ /*+----------------------------------------------------------------------------------------------+*/ /*+----------------------------------------------------------------------------------------------+*/ +void pad_init(); void PAD_ReadState(PAD *pPad, u8 PadChannel); /*+----------------------------------------------------------------------------------------------+*/ |