Imported odemuexi2, amcstubs and odenotstub
This commit is contained in:
parent
f6b979ac3c
commit
bedf7ba7b5
4 changed files with 378 additions and 4 deletions
40
src/amcstubs/AmcExi2Stubs.c
Normal file
40
src/amcstubs/AmcExi2Stubs.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#include <dolphin.h>
|
||||
|
||||
// EXI error codes
|
||||
typedef enum { AMC_EXI_NO_ERROR = 0, AMC_EXI_UNSELECTED } AmcExiError;
|
||||
|
||||
int AMC_IsStub();
|
||||
void EXI2_Unreserve();
|
||||
void EXI2_Reserve();
|
||||
AmcExiError EXI2_WriteN();
|
||||
AmcExiError EXI2_ReadN();
|
||||
int EXI2_Poll();
|
||||
void EXI2_EnableInterrupts();
|
||||
void EXI2_Init();
|
||||
|
||||
int AMC_IsStub()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void EXI2_Unreserve() { }
|
||||
|
||||
void EXI2_Reserve() { }
|
||||
|
||||
AmcExiError EXI2_WriteN()
|
||||
{
|
||||
return AMC_EXI_NO_ERROR;
|
||||
}
|
||||
|
||||
AmcExiError EXI2_ReadN()
|
||||
{
|
||||
return AMC_EXI_NO_ERROR;
|
||||
}
|
||||
|
||||
int EXI2_Poll()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void EXI2_EnableInterrupts() { }
|
||||
void EXI2_Init() { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue