mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-31 07:56:17 -04:00
osFlash (#158)
* some matches * Decompile code_0x80186A70 Add defines for KSEG0/1 and (Un)Cached RDRAM * format * cleanup * moved osFlash and imported data * implement fixes * format again * Update include/functions.h Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update include/variables.h Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update src/libultra/flash/osFlash.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * returns are needed * format * Update src/libultra/flash/osFlash.c Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com> * Update src/libultra/flash/osFlash.c Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com> * should be fixed Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain> Co-authored-by: MMDecomp <mmdecomp@gmail.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
This commit is contained in:
+17
-15
@@ -416,7 +416,7 @@ void __osViInit(void);
|
||||
void __osViSwapContext(void);
|
||||
OSMesgQueue* osPiGetCmdQueue(void);
|
||||
f32 __cosf(f32 __x);
|
||||
// void osEPiReadIo(void);
|
||||
s32 osEPiReadIo(OSPiHandle* pihandle, u32 devAddr, u32* data);
|
||||
void osViSetSpecialFeatures(u32 func);
|
||||
s16 coss(u16 x);
|
||||
void osSetTime(OSTime ticks);
|
||||
@@ -439,7 +439,7 @@ u32 __osGetFpcCsr(void);
|
||||
// void corrupted_init(void);
|
||||
// void corrupted(void);
|
||||
u32 osAiGetLength(void);
|
||||
// void osEPiWriteIo(void);
|
||||
s32 osEPiWriteIo(OSPiHandle* pihandle, u32 devAddr, u32 data);
|
||||
void osMapTLBRdb(void);
|
||||
void osYieldThread(void);
|
||||
// void guTranslate(void);
|
||||
@@ -3494,19 +3494,21 @@ void SysFlashrom_ThreadEntry(s80185D40* param_1);
|
||||
// void func_80185F04(void);
|
||||
// void func_80185F64(void);
|
||||
s32 func_80185F90(u32 param_1);
|
||||
// void func_80186A70(void);
|
||||
// void func_80186B78(void);
|
||||
// void func_80186CAC(void);
|
||||
// void func_80186D60(void);
|
||||
// void func_80186E64(void);
|
||||
// void func_80186EC8(void);
|
||||
// void func_80187018(void);
|
||||
// void func_80187080(void);
|
||||
// void func_80187124(void);
|
||||
// void func_80187284(void);
|
||||
// void func_801872FC(void);
|
||||
// void func_801873BC(void);
|
||||
// void func_8018752C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
u32 osFlashGetAddr(u32 pageNum);
|
||||
OSPiHandle* osFlashReInit(u8 latency, u8 pulse, u8 pageSize, u8 relDuration, u32 start);
|
||||
void osFlashChange(u32 flashNum);
|
||||
OSPiHandle* osFlashInit(void);
|
||||
void osFlashReadStatus(u8* flashStatus);
|
||||
void osFlashReadId(u32* flashType, u32* flashVendor);
|
||||
void osFlashClearStatus(void);
|
||||
s32 osFlashAllErase(void);
|
||||
void osFlashAllEraseThrough(void);
|
||||
s32 osFlashCheckEraseEnd(void);
|
||||
s32 osFlashSectorErase(u32 pageNum);
|
||||
void osFlashSectorEraseThrough(u32 pageNum);
|
||||
s32 osFlashWriteBuffer(OSIoMesg* mb, s32 priority, void* dramAddr, OSMesgQueue* mq);
|
||||
s32 osFlashWriteArray(u32 pageNum);
|
||||
s32 osFlashReadArray(OSIoMesg* mb, s32 priority, u32 pageNum, void* dramAddr, u32 pageCount, OSMesgQueue* mq);
|
||||
// void func_801877D0(void);
|
||||
// void func_80187B64(void);
|
||||
// void func_80187BEC(void);
|
||||
|
||||
Reference in New Issue
Block a user