Decompile `osEPiLinkHandle`
This commit is contained in:
parent
2062f09ac0
commit
56c27dd0fb
|
|
@ -36,7 +36,7 @@ options:
|
|||
asm_data_macro: dlabel
|
||||
asm_jtbl_label_macro: jlabel
|
||||
asm_emit_size_directive: True
|
||||
|
||||
|
||||
segments:
|
||||
- name: header
|
||||
type: header
|
||||
|
|
@ -163,7 +163,7 @@ segments:
|
|||
- [0x1BCC0, asm, "libultra/io/pimgr"]
|
||||
- [0x1BE50, asm, "libultra/io/epirawdma"]
|
||||
- [0x1C040, asm, "libultra/io/epidma"]
|
||||
- [0x1C0E0, asm, "libultra/io/epilinkhandle"]
|
||||
- [0x1C0E0, c, "libultra/io/epilinkhandle"]
|
||||
- [0x1C130, asm, "libultra/io/cartrominit"]
|
||||
- [0x1C2B0, asm, "libultra/io/devmgr"]
|
||||
- [0x1C670, asm, "libultra/io/piacs"]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
#include "common.h"
|
||||
|
||||
s32 osEPiLinkHandle(OSPiHandle *EPiHandle)
|
||||
{
|
||||
u32 saveMask = __osDisableInt();
|
||||
EPiHandle->next = __osPiTable;
|
||||
__osPiTable = EPiHandle;
|
||||
__osRestoreInt(saveMask);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue