pcsx2/unfree/fps2bios/kernel/iopload/libkernel/iop_thsemap.s

69 lines
1.0 KiB
ArmAsm
Raw Normal View History

/*
_____ ___ ____
____| | ____| PSX2 OpenSource Project
| ___| |____ (C)2002, David Ryan (Oobles@hotmail.com)
------------------------------------------------------------------------
iop_thsemap.s Semaphore Function Imports.
taken from .irx files with symbol table.
*/
.text
.set noreorder
/* ############################### THSEMAP STUB ####### */
/* # Added by Oobles, 5th March 2002 # */
.local thsemap_stub
thsemap_stub:
.word 0x41e00000
.word 0
.word 0x00000101
.ascii "thsemap\0"
.align 2
.globl CreateSema # 004
CreateSema:
j $31
li $0, 4
.globl DeleteSema # 005
DeleteSema:
j $31
li $0, 5
.globl SignalSema # 006
SignalSema:
j $31
li $0, 6
.globl iSignalSema # 007
iSignalSema:
j $31
li $0, 7
.globl WaitSema # 008
WaitSema:
j $31
li $0, 8
.globl PollSema # 009
PollSema:
j $31
li $0, 0x09
.globl ReferSemaStatus # 00B
ReferSemaStatus:
j $31
li $0, 0x0B
.globl iReferSemaStatus # 00C
iReferSemaStatus:
j $31
li $0, 0x0C
.word 0
.word 0