mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
4b30f1a654
* internal_rsp; move size_t and NULL to ultratypes.h * guint.h * Move system variables to os_system.h * controller, pi and vi * osint.h * piint.h * siint, ucode, viint, voiceinternal * Remove remaining variables from variables.h * format * final renames * bss * review * review
29 lines
835 B
C
29 lines
835 B
C
#ifndef PR_PIINT_H
|
|
#define PR_PIINT_H
|
|
|
|
#include "ultratypes.h"
|
|
#include "os_pi.h"
|
|
#include "libc/stdint.h"
|
|
|
|
|
|
extern OSDevMgr __osPiDevMgr;
|
|
extern OSPiHandle* __osCurrentHandle[];
|
|
extern u32 __osPiAccessQueueEnabled;
|
|
|
|
extern OSPiHandle __Dom1SpeedParam;
|
|
extern OSPiHandle __Dom2SpeedParam;
|
|
|
|
extern OSMesgQueue __osPiAccessQueue;
|
|
|
|
void __osDevMgrMain(void* arg);
|
|
void __osPiCreateAccessQueue(void);
|
|
void __osPiRelAccess(void);
|
|
void __osPiGetAccess(void);
|
|
s32 __osPiRawStartDma(s32 direction, uintptr_t devAddr, void* dramAddr, size_t size);
|
|
s32 __osEPiRawWriteIo(OSPiHandle* handle, uintptr_t devAddr, u32 data);
|
|
s32 __osEPiRawReadIo(OSPiHandle* handle, uintptr_t devAddr, u32* data);
|
|
s32 __osEPiRawStartDma(OSPiHandle* handle, s32 direction, uintptr_t cartAddr, void* dramAddr, size_t size);
|
|
OSMesgQueue* osPiGetCmdQueue(void);
|
|
|
|
#endif
|