mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
f8979749e3
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
35 lines
930 B
C
35 lines
930 B
C
#ifndef OSCACHE_H
|
|
#define OSCACHE_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
static void DCEnable(void);
|
|
void DCInvalidateRange(void* start, u32 nBytes);
|
|
void DCFlushRange(void* start, u32 nBytes);
|
|
void DCStoreRange(void* start, u32 nBytes);
|
|
void DCFlushRangeNoSync(void* start, u32 nBytes);
|
|
void DCStoreRangeNoSync(void* start, u32 nBytes);
|
|
void DCZeroRange(void* start, u32 nBytes);
|
|
void ICInvalidateRange(void* start, u32 nBytes);
|
|
void ICFlashInvalidate(void);
|
|
static void ICEnable(void);
|
|
void __LCEnable(void);
|
|
void LCEnable(void);
|
|
void LCDisable(void);
|
|
static void LCStoreBlocks(void* destAddr, void* srcAddr, u32 blockNum);
|
|
u32 LCStoreData(void* destAddr, void* srcAddr, u32 nBytes);
|
|
void LCQueueWait(u32 len);
|
|
static void L2GlobalInvalidate(void);
|
|
static void DMAErrorHandler(s32 error, struct OSContext* context);
|
|
void __OSCacheInit(void);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* OSCACHE_H */
|