.extern SDK_AUTOLOAD_ITCM_START
.extern SDK_AUTOLOAD_DTCM_START
.extern SDK_AUTOLOAD_LIST
.extern SDK_AUTOLOAD_LIST_END
.extern SDK_AUTOLOAD_START
.extern SDK_MAIN_ARENA_LO
.extern SDK_SECTION_ARENA_DTCM_START
.extern SDK_SECTION_ARENA_EX_START
.extern SDK_SECTION_ARENA_ITCM_START
.extern SDK_STATIC_BSS_END
.extern SDK_STATIC_BSS_START

; .itcm
.extern WVR_ShelterExtWram

; .wram
.extern OS_IrqHandler
.extern NitroSpMain
.extern CARDi_EraseBackupSectorCore
.extern CARDi_EraseChipCore
.extern CARDi_InitCommon
.extern CARDi_InitStatusRegister
.extern CARDi_OnFifoRecv
.extern CARDi_ProgramBackupCore
.extern CARDi_ReadBackupCore
.extern CARDi_ReadRomID
.extern CARDi_ReadRomIDCore
.extern CARDi_TaskThread
.extern CARDi_VerifyBackupCore
.extern CARDi_WriteBackupCore
.extern CARD_GetRomHeader
.extern CARD_Init
.extern CARD_InitPulledOutCallback
.extern sub_03800E0C
.extern OS_IrqHandler_ThreadSwitch
.extern OSi_EnterTimerCallback
.extern OSi_IrqVBlank
.extern OSi_IrqTimer3
.extern OSi_IrqTimer2
.extern OSi_IrqTimer1
.extern OSi_IrqTimer0
.extern OSi_IrqDma3
.extern OSi_IrqDma2
.extern OSi_IrqDma1
.extern OSi_IrqDma0
.extern OSi_RemoveMutexLinkFromQueue
.extern OSi_SetTimerReserved
.extern OSi_UnlockAllMutex
.extern OS_IrqDummy
.extern OS_CheckHeap
.extern OS_CreateHeap
.extern OS_CreateHeap
.extern OS_DisableInterrupts_IrqAndFiq
.extern OS_DisableIrqMask
.extern OS_EnableInterrupts
.extern OS_EnableIrqMask
.extern OS_GetArenaHi
.extern OS_GetArenaLo
.extern OS_GetProcMode
.extern OS_Init
.extern OS_InitAlloc
.extern OS_InitArena
.extern OS_InitContext
.extern OS_InitIrqTable
.extern OS_InitLock
.extern OS_InitReset
.extern OS_InitThread
.extern OS_IsResetOccurred
.extern OS_IsTickAvailable
.extern OS_LoadContext
.extern OS_ResetRequestIrqMask
.extern OS_ResetSystem
.extern OS_RestoreInterrupts_IrqAndFiq
.extern OS_SaveContext
.extern OS_SetArenaLo
.extern OS_SetCurrentHeap
.extern OS_SetIrqMask
.extern OS_SetIrqFunction
.extern OS_UnLockCartridge
.extern OS_GetLockID
.extern OS_ReleaseLockID
.extern OS_ReadOwnerOfLockWord
.extern OS_TryLockCartridge
.extern OS_UnlockCartridge
.extern OS_LockCartridge
.extern sub_037F8000
.extern sub_037F8530
.extern sub_037F8CB4
.extern OS_Sleep
.extern OS_WakeupThreadDirect
.extern OS_WakeupThread
.extern OS_SleepThread
.extern OS_JoinThread
.extern OS_ExitThread
.extern OS_CreateThread
.extern OS_ReadMessage
.extern OS_ReceiveMessage
.extern OS_SendMessage
.extern OS_InitMessageQueue
.extern OS_UnlockMutex
.extern OS_LockMutex
.extern OS_InitTick
.extern OS_CancelAlarm
.extern OS_SetAlarm
.extern OS_CreateAlarm
.extern OS_InitAlarm
.extern OS_CancelVAlarms
.extern OS_SetVAlarmTag
.extern OS_SetPeriodicVAlarm
.extern OS_CreateVAlarm
.extern OS_IsVAlarmAvailable
.extern OS_InitVAlarm
.extern OS_DisableInterrupts
.extern OS_RestoreInterrupts
.extern OS_SpinWait
.extern MIi_CpuClear32
.extern MIi_CpuClearFast
.extern MIi_CpuCopyFast
.extern MI_CpuFill8
.extern MI_SwapWord
.extern PXI_Init
.extern PXI_InitFifo
.extern PXI_IsCallbackReady
.extern PXI_SendWordByFifo
.extern PXI_SetFifoRecvCallback
.extern EXIi_SelectRcnt
.extern EXIi_SetBitRcnt0L
.extern PADi_xyButtonAlarmHandler
.extern SNDi_LockMutex
.extern SNDi_SetPlayerParam
.extern SNDi_SetSurroundDecay
.extern SNDi_SetTrackParam
.extern SNDi_UnlockMutex
.extern SND_AlarmInit
.extern SND_AllocExChannel
.extern SND_BeginSleep
.extern SND_CalcChannelVolume
.extern SND_CalcRandom
.extern SND_CalcTimer
.extern SND_CommandInit
.extern SND_CommandProc
.extern SND_Enable
.extern SND_EndSleep
.extern SND_ExChannelInit
.extern SND_ExChannelMain
.extern SND_FreeExChannel
.extern SND_GetChannelControl
.extern SND_GetLfoValue
.extern SND_GetLockedChannel
.extern SND_Init
.extern SND_InitLfoParam
.extern SND_InvalidateBank
.extern SND_InvalidateSeq
.extern SND_InvalidateWave
.extern SND_IsCaptureActive
.extern SND_IsChannelActive
.extern SND_IsExChannelActive
.extern SND_LockChannel
.extern SND_NoteOn
.extern SND_PauseSeq
.extern SND_PrepareSeq
.extern SND_ReadInstData
.extern SND_ReleaseExChannel
.extern SND_SendWakeupMessage
.extern SND_SetChannelPan
.extern SND_SetChannelTimer
.extern SND_SetChannelVolume
.extern SND_SetExChannelAttack
.extern SND_SetExChannelDecay
.extern SND_SetExChannelRelease
.extern SND_SetExChannelSustain
.extern SND_SetMasterPan
.extern SND_SetMasterVolume
.extern SND_SetOutputSelector
.extern SND_SetPlayerGlobalVariable
.extern SND_SetPlayerLocalVariable
.extern SND_SetTrackAllocatableChannel
.extern SND_SetTrackMute
.extern SND_SetupAlarm
.extern SND_SetupCapture
.extern SND_SetupChannelNoise
.extern SND_SetupChannelPcm
.extern SND_SetupChannelPsg
.extern SND_SeqInit
.extern SND_SeqMain
.extern SND_Shutdown
.extern SND_SinIdx
.extern SND_SkipSeq
.extern SND_StartAlarm
.extern SND_StartExChannelNoise
.extern SND_StartExChannelPcm
.extern SND_StartExChannelPsg
.extern SND_StartIntervalTimer
.extern SND_StartLfo
.extern SND_StartPreparedSeq
.extern SND_StartSeq
.extern SND_StopAlarm
.extern SND_StopChannel
.extern SND_StopIntervalTimer
.extern SND_StopSeq
.extern SND_StopUnlockedChannel
.extern SND_UnlockChannel
.extern SND_UpdateExChannel
.extern SND_UpdateLfo
.extern SND_UpdateSharedWork
.extern ExChannelLfoUpdate
.extern ExChannelSweepUpdate
.extern ExChannelVolumeCmp
.extern ExChannelStart
.extern ExChannelSetup
.extern TrackMute
.extern AllocateTrack
.extern PlayerStepTicks
.extern PlayerUpdateChannelVolume
.extern PlayerStop
.extern PlayerGetTrack
.extern PlayerSeqMain
.extern TrackFreeChannels
.extern TrackReleaseChannels
.extern PlayerSetBank
.extern TrackSetSeq
.extern TrackInit
.extern TrackReadU16
.extern SeqReadByte
.extern SeqCacheFetch
.extern SPIi_CheckEntry
.extern SPIi_CheckException
.extern SPIi_GetException
.extern SPIi_ReleaseException
.extern SPIi_ReturnResult
.extern SPIi_SetEntry
.extern SPI_Init
.extern sub_03801660
.extern sub_038016A8
.extern PMi_ResetControl
.extern PMi_SetControl
.extern PMi_SetLED
.extern PM_AnalyzeCommand
.extern PM_ExecuteProcess
.extern PM_Init
.extern PM_SelfBlinkProc
.extern MIC_AnalyzeCommand
.extern MIC_ExecuteProcess
.extern MIC_Init
.extern TP_AnalyzeCommand
.extern TP_ExecuteProcess
.extern TP_Init
.extern CTRDGi_InitCommon
.extern CTRDGi_SendtoPxi
.extern CTRDG_CheckPullOut_Polling
.extern CTRDG_VibPulseEdgeUpdate
.extern CTRDG_Init
.extern CTRDG_IsExisting
.extern CTRDG_IsPulledOut
.extern NVRAM_AnalyzeCommand
.extern NVRAM_ExecuteProcess
.extern NVRAM_Init
.extern NVRAM_ReadDataBytes
.extern RTC_Init
.extern RTC_ReadAdjust
.extern RTC_ReadAlarm1
.extern RTC_ReadAlarm2
.extern RTC_ReadDate
.extern RTC_ReadDateTime
.extern RTC_ReadFree
.extern RTC_ReadPulse
.extern RTC_ReadStatus1
.extern RTC_ReadStatus2
.extern RTC_ReadTime
.extern RTC_Reset
.extern RTC_SetHourFormat
.extern RTC_WriteAdjust
.extern RTC_WriteAlarm1
.extern RTC_WriteAlarm2
.extern RTC_WriteDateTime
.extern RTC_WriteFree
.extern RTC_WritePulse
.extern RTC_WriteStatus1
.extern RTC_WriteStatus2
.extern RTC_WriteTime
.extern WVR_Shutdown
.extern WVR_Init
.extern OSi_DoResetSystem
.extern WMSP_GetAllowedChannel
.extern OS_DisableIrqMask
.extern OS_EnableIrqMask
.extern OS_SetIrqFunction
.extern OS_GetLockID
.extern OS_EnableScheduler
.extern OS_DisableScheduler
.extern OS_Sleep
.extern OS_SetThreadPriority
.extern OS_WakeupThreadDirect
.extern OS_IsThreadTerminated
.extern OS_JoinThread
.extern OS_ExitThread
.extern OS_CreateThread
.extern OS_ReceiveMessage
.extern OS_SendMessage
.extern OS_InitMessageQueue
.extern OS_UnlockMutex
.extern OS_LockMutex
.extern OS_InitMutex
.extern OS_FreeToHeap
.extern OS_AllocFromHeap
.extern OS_GetTick
.extern OS_CancelAlarm
.extern OS_SetPeriodicAlarm
.extern OS_SetAlarm
.extern OS_CreateAlarm
.extern OS_IsAlarmAvailable
.extern OS_CancelVAlarm
.extern OS_SetVAlarm
.extern OS_CreateVAlarm
.extern OS_IsVAlarmAvailable
.extern OS_InitVAlarm
.extern OS_DisableInterrupts
.extern OS_RestoreInterrupts
.extern OS_Terminate
.extern MI_StopDma
.extern MI_WaitDma
.extern MIi_CpuClear16
.extern MIi_CpuCopy16
.extern MIi_CpuClear32
.extern MIi_CpuCopy32
.extern MIi_CpuClearFast
.extern MI_CpuFill8
.extern MI_CpuCopy8
.extern PXI_Init
.extern PXI_SetFifoRecvCallback
.extern SND_BeginSleep
.extern SPI_Unlock
.extern SPI_Lock
.extern PM_SetLEDPattern
.extern NVRAM_SoftwareReset
.extern NVRAM_ReadDataBytes
.extern NVRAM_ReadStatusRegister
.extern sub_03806F8C
.extern WMSP_GetAllowedChannel
.extern WMSP_GetBuffer4Callback2Wm9
.extern WMSP_ReturnResult2Wm9
.extern MATH_CountPopulation
.extern _0380B764
.extern _0380B808
.extern _0380B8AC
.extern _0380B8D8
.extern _0380B904
.extern _ll_sdiv
.extern _ll_udiv
.extern _s32_div_f
.extern _u32_div_f
.extern sLfoSinTable
.extern SNDi_DecibelSquareTable
.extern sSampleDataShiftTable
.extern sChannelAllocationOrder
.extern sAttackCoeffTable
.extern _038072BC
.extern _038072C0
.extern _038072C4
.extern _038072C8
.extern SVC_CpuSet
.extern SVC_GetCRC16
.extern SVC_GetPitchTable
.extern SVC_GetVolumeTable
.extern SVC_Halt
.extern SVC_SoundBiasReset
.extern SVC_SoundBiasSet
.extern SVC_Stop
.extern SVC_WaitByLoop
.extern _038075E4
.extern OS_IRQTable
.extern sMasterPan
.extern _03807660
.extern cardi_rom_header_addr
.extern CARD_CheckPullOut_Polling
.extern CARD_SetThreadPriority
.extern _03807668
.extern _0380766C
.extern PMi_LEDStatus
.extern PMi_BlinkPatternData
.extern _03807704
.extern _03807708
.extern OSi_IrqThreadQueue
.extern OSi_IrqCallbackInfo
.extern _03807718
.extern _0380771C
.extern _03807744
.extern _03807748
.extern _0380774C
.extern _03807774
.extern _03807780
.extern OSi_StackForDestructor
.extern OSi_RescheduleCount
.extern _0380778C
.extern OSi_SystemCallbackInSwitchThread
.extern OSi_CurrentThreadPtr
.extern OSi_IsThreadInitialized
.extern OSi_ThreadInfo
.extern _038077A0
.extern OSi_IdleThread
.extern OSi_LauncherThread
.extern _038078F4
.extern OSiHeapInfo
.extern _0380791C
.extern OSi_UseTick
.extern OSi_NeedResetTimer
.extern OSi_TickCounter
.extern _03807930
.extern _03807934
.extern _0380793C
.extern _03807940
.extern _03807944
.extern _03807948
.extern _03807950
.extern _03807954
.extern _03807958
.extern _0380795C
.extern PAD_InitXYButton
.extern PADi_XYButtonAvailable
.extern _038079E0
.extern sSurroundDecay
.extern sOrgPan
.extern sOrgVolume
.extern _03807A30
.extern _03807A34
.extern _03807A54
.extern _03807A74
.extern _03807AA0
.extern _03807F4C
.extern _03807F50
.extern _03807F58
.extern SNDi_SharedWork
.extern SNDi_Work
.extern _038084AC
.extern _038086EC
.extern _03808EEC
.extern _038090EC
.extern _0380910C
.extern _0380912C
.extern cardi_common
.extern _03809188
.extern _03809760
.extern _03809764
.extern cardi_rom_base
.extern rom_stat
.extern _038099A0
.extern _038099A4
.extern _038099A8
.extern _038099AC
.extern _038099B0
.extern _038099B8
.extern _03809C5C
.extern _03809C7C
.extern _03809CBC
.extern _03809CC0
.extern _03809E40
.extern _03809E4C
.extern _03809E50
.extern _03809E54
.extern _03809E80
.extern _03809F28
.extern PMi_KeyPattern
.extern PMi_TriggerBL
.extern PMi_Initialized
.extern PMi_Work
.extern _03809F64
.extern PMi_BlinkPatternNo
.extern _03809F6C
.extern _03809FA8
.extern CTRDGi_Work
.extern _03809FBC
.extern current_vib
.extern _03809FC4
.extern _03809FC8
.extern _03809FCC
.extern _03809FD0
.extern _03809FD4
.extern _03809FEC
.extern _0380A018
.extern _0380A038
.extern _0380A03C
.extern _0380A05C
.extern _0380A06C
.extern _0380A13C
.extern _0380A210
.extern _0380A3F0
.extern _0380A3F4
.extern _0380A3F8
.extern _0380A3FC
.extern _0380A400
.extern _0380A4A4
.extern _0380AA64
.extern _0380B064
.extern FS_Init

; .ext
.extern WMSP_GetIndicateThread
.extern WMSP_GetRequestThread
.extern WMSP_Init
.extern WMSP_CancelAllAlarms
.extern WMSP_CancelVAlarm
.extern WL_Terminate
.extern wmspW
