link dspboot

This commit is contained in:
Prakxo
2024-06-12 21:52:32 +02:00
parent 5d9a146bc3
commit 5299baa10b
6 changed files with 402 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ void DSPHalt();
void DSPSendMailToDSP(u32 mail);
u32 DSPCheckMailToDSP();
u32 DSPCheckMailFromDSP();
u32 DSPReadMailFromDSP();
u32 DSPGetDMAStatus();
DSPTaskInfo* DSPAddTask(DSPTaskInfo* task);
+14
View File
@@ -3,6 +3,20 @@
#include "types.h"
typedef struct STRUCT_DSP_TASK2 {
/* 0x00 */ u16* iram_mmem_addr;
/* 0x04 */ u32 iram_length;
/* 0x08 */ u16 iram_addr;
/* 0x0A */ u16* dram_mmem_addr;
/* 0x0E */ u32 dram_length;
/* 0x12 */ u16 dram_addr;
/* 0x16 */ u16 dsp_init_vector;
}DSPTaskInfo2;
extern s32 __DSPCheckMXICBoot2(DSPTaskInfo2* task);
extern void DSPInit2(DSPTaskInfo2* task);
extern void DspBoot(void);
extern u16 jdsp[];
#endif
+1
View File
@@ -5,5 +5,6 @@
extern u32 DSPReleaseHalt(void);
extern void DsyncFrame(u32 subframes, u32 dspbuf_start, u32 dspbuf_end);
extern void DwaitFrame();
#endif