# Function names found by matching the game's code against libultra 2.0I
# (built from decompals/ultralib) with tools/match_libultra.py.
# The kernel and bootup.uso each link their own copy of libultra. Copies of
# functions the PC runtime doesn't replace get a _kernel suffix so names stay unique.
# Format: <current name> <new name>
func_800014CC osSyncPrintf_kernel
func_80002890 osSetIntMask
func_80002DB0 osPiRawReadIo
func_80002E10 __ull_rshift
func_80002E3C __ull_rem
func_80002E78 __ull_div
func_80002EB4 __ll_lshift
func_80002EE0 __ll_rem
func_80002F1C __ll_div
func_80002F78 __ll_mul
func_80002FA8 __ull_divremi
func_80003008 __ll_mod
func_800030A4 __ll_rshift
func_800030D0 _bzero_kernel
func_800031D0 __osSetSR
func_800031F0 osWritebackDCache
func_80003270 __osExceptionPreamble
func_80003D0C __osEnqueueAndYield
func_80003E0C __osEnqueueThread
func_80003E54 __osPopThread
func_80003E64 __osDispatchThread
func_80003FF0 __osDequeueThread
func_80004030 osDestroyThread
func_80004140 __osLeoInterrupt
func_80004A50 osPiRawStartDma_kernel
func_80004B30 osVirtualToPhysical
func_80004EC0 __osSiRawReadIo
func_80004FE0 osRecvMesg
func_80005120 __osProbeTLB
func_800051E0 osSetEventMesg
func_80005250 osLeoDiskInit
func_80005350 osInvalICache
func_800053D0 osCreateMesgQueue
func_80005400 osInvalDCache
func_800056C0 __osSiDeviceBusy
func_800056F0 osEPiRawStartDma
func_80005C00 __osPiCreateAccessQueue
func_80005C50 __osPiGetAccess
func_80005C94 __osPiRelAccess
func_80005CC0 osCartRomInit
func_80005DC0 osSendMesg
func_80005F10 osCreateThread
func_80006060 __osDevMgrMain
func_800064F0 osGetThreadPri
func_80006510 osSetThreadPri
func_800065F0 __osSetGlobalIntMask
func_80006640 osPiGetStatus
func_80006650 __osResetGlobalIntMask
func_800066B0 __osDisableInt
func_800066D0 __osRestoreInt
func_800081D0 osStopThread
func_80008FB0 __osSpRawReadIo
func_80009000 __osSpDeviceBusy
func_80009C40 __osSetFpcCsr
func_80009C50 osEPiRawReadIo
func_80009DF0 osMapTLBRdb
func_80009E50 osYieldThread_kernel
func_80009EB0 osEPiRawWriteIo
func_8000A040 __osSiRawWriteIo
func_8000A090 __osSpRawWriteIo
func_8000A0E0 osWritebackDCacheAll
func_8000A110 osStartThread
bootup_07E470 osSendMesg
bootup_07E5C0 osViGetCurrentLine
bootup_07E5D0 osRecvMesg
bootup_07E710 osSetIntMask
bootup_07E7B0 __sinf
bootup_07EA8C osSpTaskLoad
bootup_07EC1C osSpTaskStartGo
bootup_07EC60 __osExceptionPreamble
bootup_07EC70 __osException
bootup_07F1A4 send_mesg
bootup_07F258 handle_CpU
bootup_07F28C __osEnqueueAndYield
bootup_07F38C __osEnqueueThread
bootup_07F3D4 __osPopThread
bootup_07F3E4 __osDispatchThread
bootup_07F570 __osDequeueThread
bootup_07F5B0 osDestroyThread
bootup_07F6C0 _bzero
bootup_07F760 __osLeoInterrupt
bootup_07FFE0 osPiReadIo
bootup_080020 __osPiCreateAccessQueue
bootup_080070 __osPiGetAccess
bootup_0800B4 __osPiRelAccess
bootup_0800E0 osPiRawReadIo
bootup_080140 osContInit
bootup_0802B0 __osContGetInitData
bootup_080380 __osPackRequestData
bootup_080480 __osSiCreateAccessQueue
bootup_0804D0 __osSiGetAccess
bootup_080514 __osSiRelAccess
bootup_0805A0 osCreateThread
bootup_0806F0 osContStartReadData
bootup_08077C osContGetReadData
bootup_080910 osDriveRomInit
bootup_0809F0 osVirtualToPhysical
bootup_080A70 osWritebackDCache
bootup_080AF0 osInitialize
bootup_080D80 __ull_rshift
bootup_080DAC __ull_rem
bootup_080DE8 __ull_div
bootup_080E24 __ll_lshift
bootup_080E50 __ll_rem
bootup_080E8C __ll_div
bootup_080EE8 __ll_mul
bootup_080F18 __ull_divremi
bootup_080F78 __ll_mod
bootup_081014 __ll_rshift
bootup_081040 __osSetSR
bootup_081060 osPiRawStartDma_bootup
bootup_081140 __osSiRawStartDma
bootup_0811F0 __osSpRawStartDma
bootup_081280 osEPiLinkHandle
bootup_0812D0 osViBlack
bootup_081340 __osSiRawReadIo
bootup_081390 osSpTaskYield
bootup_0813B0 osViSetMode
bootup_081420 osMotorStop
bootup_0815C0 osMotorStart
bootup_0818DC osMotorInit
bootup_081BC0 osPfsIsPlug
bootup_081D60 __osPfsRequestData
bootup_081E30 __osPfsGetInitData
bootup_081F00 __osProbeTLB
bootup_081FD0 osPiStartDma
bootup_0820E0 osCreatePiManager
bootup_082270 osCartRomInit
bootup_082380 __osDevMgrMain
bootup_082810 osSetEventMesg
bootup_083574 sprintf
bootup_0835D0 osEPiStartDma
bootup_0836B0 osLeoDiskInit
bootup_0837B0 osSyncPrintf
bootup_083844 strchr
bootup_083890 osCreateMesgQueue
bootup_0838C0 osInvalICache
bootup_083940 osInvalDCache
bootup_0839F0 __osSpDeviceBusy
bootup_083A20 __osSiDeviceBusy
bootup_083A50 osJamMesg
bootup_083BA0 osSetThreadPri
bootup_083C80 osGetThreadPri
bootup_083CA0 osViSwapBuffer
bootup_083CF0 guPositionF
bootup_083EA0 guPosition
bootup_083F10 osEPiRawStartDma
bootup_084140 osSpTaskYielded
bootup_0841C0 osGetTime
bootup_084250 __osTimerServicesInit
bootup_0842DC __osTimerInterrupt
bootup_084454 __osSetTimerIntr
bootup_0844C8 __osInsertTimer
bootup_084650 __osSetGlobalIntMask
bootup_0846A0 osAiSetFrequency
bootup_084800 __osContAddressCrc
bootup_0848B0 __osContDataCrc
bootup_084990 _bcopy
bootup_084CA0 __osResetGlobalIntMask
bootup_084D00 guOrthoF
bootup_084E54 guOrtho
bootup_084EC0 guMtxF2L
bootup_084FC0 guMtxIdentF
bootup_085048 guMtxIdent
bootup_085078 guMtxL2F
bootup_085130 __osDisableInt
bootup_085150 __osRestoreInt
bootup_085170 __osViInit
bootup_0852B0 __osViSwapContext
bootup_085610 osPiGetCmdQueue
bootup_085640 __cosf
bootup_0857B0 osViSetSpecialFeatures
bootup_085970 osViSetEvent
bootup_0859E0 __osSetFpcCsr
bootup_0859F0 osPfsInitPak
bootup_085C90 __osPfsGetStatus
bootup_085D74 __osPfsRequestOneChannel
bootup_085E34 __osPfsGetOneChannelData
bootup_085ED0 __osSumcalc
bootup_085F2C __osIdCheckSum
bootup_085F94 __osRepairPackId
bootup_0863AC __osCheckPackId
bootup_086544 __osGetId
bootup_0867A0 __osCheckId
bootup_08689C __osPfsRWInode
bootup_086BBC __osPfsSelectBank
bootup_086C30 osPfsChecker
bootup_0872F4 corrupted_init
bootup_0874A8 corrupted
bootup_087690 osAiGetLength
bootup_0876A0 osPiWriteIo
bootup_0876E0 osPiRawWriteIo
bootup_087730 osEPiRawReadIo
bootup_0878D0 osMapTLBRdb
bootup_087930 osYieldThread_bootup
bootup_087980 osViGetCurrentField
bootup_0879A0 __osContRamWrite
bootup_087D00 osEPiRawWriteIo
bootup_087E90 osSetTimer
bootup_0884E0 _Ldtob
bootup_088A30 lldiv
bootup_088B30 ldiv
bootup_088BC0 _Litob
bootup_088E60 __osSiRawWriteIo
bootup_088EB0 __osSpSetStatus
bootup_088EC0 __osSpGetStatus
bootup_088ED0 osWritebackDCacheAll
bootup_088F10 __osContRamRead
bootup_089270 osStartThread
bootup_0893C0 osViSetYScale
bootup_089420 osViSetXScale
bootup_0898D0 __osSpSetPc
bootup_081FC0 osGetCount
bootup_084980 __osSetCompare
func_80002930 osInitialize
func_80005920 osCreatePiManager
bootup_089560 osCreateViManager
func_80006640 osPiGetStatus
bootup_0896E8 viMgrMain
bootup_03BDF0 osAiSetNextBuffer
