pcsx2/fps2bios/kernel/iopload/libkernel/iop_thsemap.s
laurence.muller a2791d843e Using standard SVN folder structure
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@398 96395faa-99c1-11dd-bbfe-3dabce05a288
2008-11-06 23:27:06 +00:00

68 lines
1.1 KiB
ArmAsm

/*
_____ ___ ____
____| | ____| 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