mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-22 06:19:54 -04:00
sys_ucode OK (#432)
* sys_ucode OK * Update file split of data * Format * Name symbols, sizes -> u32 * Correct undefined_syms * Format
This commit is contained in:
+1
-1
@@ -3371,7 +3371,7 @@ void Matrix_InsertRotationAroundUnitVector_f(f32 rotation, Vec3f* vector, s32 ap
|
||||
void Matrix_InsertRotationAroundUnitVector_s(s16 rotation, Vec3f* vector, s32 appendToState);
|
||||
|
||||
u64* SysUcode_GetUCodeBoot(void);
|
||||
u32 SysUcode_GetUCodeBootSize(void);
|
||||
size_t SysUcode_GetUCodeBootSize(void);
|
||||
u64* SysUcode_GetUCode(void);
|
||||
u64* SysUcode_GetUCodeData(void);
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _SPTASK_H_
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
#include "libc/stddef.h"
|
||||
|
||||
/* Task Types */
|
||||
#define M_NULTASK 0
|
||||
@@ -80,7 +81,7 @@ typedef struct {
|
||||
/* 0x04 */ u32 flags;
|
||||
|
||||
/* 0x08 */ u64* ucodeBoot;
|
||||
/* 0x0C */ u32 ucodeBootSize;
|
||||
/* 0x0C */ u32 ucodeBootSize; // ucode will load these sizes with lw, so need to be 32-bit
|
||||
|
||||
/* 0x10 */ u64* ucode;
|
||||
/* 0x14 */ u32 ucodeSize;
|
||||
@@ -101,8 +102,7 @@ typedef struct {
|
||||
/* 0x3C */ u32 yieldDataSize;
|
||||
} OSTask_t; // size = 0x40
|
||||
|
||||
typedef union
|
||||
{
|
||||
typedef union {
|
||||
OSTask_t t;
|
||||
long long int force_structure_alignment;
|
||||
} OSTask;
|
||||
|
||||
+6
-6
@@ -18,7 +18,7 @@ extern u16 gFramebuffer1[SCREEN_HEIGHT][SCREEN_WIDTH]; // at 0x80000500
|
||||
extern u8 D_80025D00[];
|
||||
|
||||
// data
|
||||
extern UNK_TYPE1 D_800969C0;
|
||||
extern u64 rspbootTextStart[];
|
||||
extern u8 D_80096B20;
|
||||
extern vu8 gViConfigUseDefault;
|
||||
extern u8 gViConfigAdditionalScanLines;
|
||||
@@ -1636,8 +1636,8 @@ extern Vec3f D_801D15B0;
|
||||
extern Vec3s D_801D15BC;
|
||||
extern Mtx D_801D1DE0;
|
||||
extern MtxF D_801D1E20;
|
||||
extern UNK_PTR D_801D1E60;
|
||||
extern UNK_PTR D_801D1E64;
|
||||
// extern u64* initialgspUcodeText;
|
||||
// extern u64* initialgspUcodeData;
|
||||
// extern UNK_TYPE1 D_801D1E70;
|
||||
// extern UNK_TYPE1 D_801D2E80;
|
||||
// extern UNK_TYPE1 D_801D2F80;
|
||||
@@ -3099,8 +3099,8 @@ extern const AudioContextInitSizes gAudioContextInitSizes;
|
||||
// extern UNK_TYPE2 D_801E1630;
|
||||
// extern UNK_TYPE1 D_801E1E40;
|
||||
// extern UNK_TYPE1 D_801E1E80;
|
||||
// extern UNK_TYPE1 D_801E2160;
|
||||
// extern UNK_TYPE1 D_801E3790;
|
||||
extern u64 gspF3DEX2_NoN_fifoTextStart[];
|
||||
extern u64 gspF3DEX2_NoN_fifoDataStart[];
|
||||
extern u64 gJpegUCodeData[];
|
||||
// extern UNK_TYPE1 D_801E3FA0;
|
||||
|
||||
@@ -3413,7 +3413,7 @@ extern OSViMode* D_801FBB88;
|
||||
extern u16* gZBufferPtr;
|
||||
extern void* D_801FBB90;
|
||||
extern u64* gGfxSPTaskOutputBufferPtr;
|
||||
extern u32 gGfxSPTaskOutputBufferSize;
|
||||
extern size_t gGfxSPTaskOutputBufferSize;
|
||||
// extern UNK_TYPE1 D_801FBB9C;
|
||||
// extern UNK_TYPE1 D_801FBBA0;
|
||||
extern u16 (*gZBuffer)[SCREEN_WIDTH * SCREEN_HEIGHT];
|
||||
|
||||
Reference in New Issue
Block a user