diff options
Diffstat (limited to 'lib/ultralib/src/io/epirawwrite.c')
| -rw-r--r-- | lib/ultralib/src/io/epirawwrite.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/ultralib/src/io/epirawwrite.c b/lib/ultralib/src/io/epirawwrite.c new file mode 100644 index 0000000..5cc1752 --- /dev/null +++ b/lib/ultralib/src/io/epirawwrite.c @@ -0,0 +1,14 @@ +#include "piint.h" + +// TODO: this comes from a header +#ident "$Revision: 1.17 $" + +s32 __osEPiRawWriteIo(OSPiHandle* pihandle, u32 devAddr, u32 data) { + u32 stat; + u32 domain; + + EPI_SYNC(pihandle, stat, domain); + IO_WRITE(pihandle->baseAddress | devAddr, data); + + return 0; +} |
