Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRAram Class Reference

#include <JKRAram.h>

+ Inheritance diagram for JKRAram:
+ Collaboration diagram for JKRAram:

Public Member Functions

u32 getAudioMemory () const
 
u32 getAudioMemSize () const
 
u32 getGraphMemory () const
 
u32 getGraphMemSize () const
 
- Public Member Functions inherited from JKRThread
 JKRThread (u32 stack_size, int message_count, int param_3)
 
 JKRThread (JKRHeap *heap, u32 stack_size, int message_count, int param_4)
 
 JKRThread (OSThread *thread, int message_count)
 
virtual ~JKRThread ()
 
void setCommon_mesgQueue (JKRHeap *heap, int message_count)
 
void setCommon_heapSpecified (JKRHeap *heap, u32 stack_size, int param_3)
 
OSThreadgetThreadRecord () const
 
voidgetStack () const
 
TLoadgetLoadInfo ()
 
JKRHeapgetCurrentHeap () const
 
s32 getCurrentHeapError () const
 
void setCurrentHeap (JKRHeap *heap)
 

Static Public Member Functions

static JKRAramcreate (u32, u32, s32, s32, s32)
 
static void checkOkAddress (u8 *, u32, JKRAramBlock *, u32)
 
static void changeGroupIdIfNeed (u8 *, int)
 
static JKRAramBlockmainRamToAram (u8 *, u32, u32, JKRExpandSwitch, u32, JKRHeap *, int, u32 *)
 
static u8aramToMainRam (u32, u8 *, u32, JKRExpandSwitch, u32, JKRHeap *, int, u32 *)
 
static void dump (void)
 
static JKRAramgetManager ()
 
static JKRAramHeapgetAramHeap ()
 
static JSUList< JKRAMCommand > & getCommandList ()
 
static u8 decideAramGroupId (int groupId)
 
static u32 getSZSBufferSize ()
 
static void setSZSBufferSize (u32 size)
 
- Static Public Member Functions inherited from JKRThread
static voidstart (void *param_1)
 
static JKRThreadsearchThread (OSThread *thread)
 
static JSUList< JKRThread > & getList ()
 

Public Attributes

u32 mAudioMemoryPtr
 
u32 mAudioMemorySize
 
u32 mGraphMemoryPtr
 
u32 mGraphMemorySize
 
u32 mAramMemoryPtr
 
u32 mAramMemorySize
 
JKRAramHeapmAramHeap
 
u32 mStackArray [3]
 

Static Public Attributes

static OSMessageQueue sMessageQueue = {0}
 
- Static Public Attributes inherited from JKRThread
static JSUList< JKRThreadsThreadList
 

Private Member Functions

 JKRAram (u32, u32, s32)
 
virtual ~JKRAram ()
 
voidrun (void)
 

Static Private Attributes

static JKRAramsAramObject
 
static u32 sSZSBufferSize = 0x00000400
 
static OSMessage sMessageBuffer [4]
 
static JSUList< JKRAMCommandsAramCommandList
 

Additional Inherited Members

- Protected Member Functions inherited from JKRThread
void resume ()
 
BOOL sendMessage (OSMessage message)
 
void sendMessageBlock (OSMessage message)
 
OSMessage waitMessage ()
 
OSMessage waitMessage (BOOL *received)
 
OSMessage waitMessageBlock ()
 
void jamMessageBlock (OSMessage message)
 

Constructor & Destructor Documentation

◆ JKRAram()

JKRAram::JKRAram ( u32  audio_buffer_size,
u32  audio_graph_size,
s32  priority 
)
private

◆ ~JKRAram()

JKRAram::~JKRAram ( )
privatevirtual

Member Function Documentation

◆ aramToMainRam()

u8 * JKRAram::aramToMainRam ( u32  address,
u8 buf,
u32  p3,
JKRExpandSwitch  expandSwitch,
u32  p5,
JKRHeap heap,
int  id,
u32 pSize 
)
static

◆ changeGroupIdIfNeed()

void JKRAram::changeGroupIdIfNeed ( u8 data,
int  groupId 
)
static

◆ checkOkAddress()

void JKRAram::checkOkAddress ( u8 addr,
u32  size,
JKRAramBlock block,
u32  param_4 
)
static

◆ create()

JKRAram * JKRAram::create ( u32  aram_audio_buffer_size,
u32  aram_audio_graph_size,
s32  stream_priority,
s32  decomp_priority,
s32  piece_priority 
)
static

◆ decideAramGroupId()

static u8 JKRAram::decideAramGroupId ( int  groupId)
inlinestatic

◆ dump()

static void JKRAram::dump ( void  )
static

◆ getAramHeap()

static JKRAramHeap * JKRAram::getAramHeap ( )
inlinestatic

◆ getAudioMemory()

u32 JKRAram::getAudioMemory ( ) const
inline

◆ getAudioMemSize()

u32 JKRAram::getAudioMemSize ( ) const
inline

◆ getCommandList()

static JSUList< JKRAMCommand > & JKRAram::getCommandList ( )
inlinestatic

◆ getGraphMemory()

u32 JKRAram::getGraphMemory ( ) const
inline

◆ getGraphMemSize()

u32 JKRAram::getGraphMemSize ( ) const
inline

◆ getManager()

static JKRAram * JKRAram::getManager ( )
inlinestatic

◆ getSZSBufferSize()

static u32 JKRAram::getSZSBufferSize ( )
inlinestatic

◆ mainRamToAram()

JKRAramBlock * JKRAram::mainRamToAram ( u8 buf,
u32  bufSize,
u32  alignedSize,
JKRExpandSwitch  expandSwitch,
u32  fileSize,
JKRHeap heap,
int  id,
u32 pSize 
)
static

◆ run()

void * JKRAram::run ( void  )
privatevirtual

Reimplemented from JKRThread.

◆ setSZSBufferSize()

static void JKRAram::setSZSBufferSize ( u32  size)
inlinestatic

Member Data Documentation

◆ mAramHeap

JKRAramHeap* JKRAram::mAramHeap

◆ mAramMemoryPtr

u32 JKRAram::mAramMemoryPtr

◆ mAramMemorySize

u32 JKRAram::mAramMemorySize

◆ mAudioMemoryPtr

u32 JKRAram::mAudioMemoryPtr

◆ mAudioMemorySize

u32 JKRAram::mAudioMemorySize

◆ mGraphMemoryPtr

u32 JKRAram::mGraphMemoryPtr

◆ mGraphMemorySize

u32 JKRAram::mGraphMemorySize

◆ mStackArray

u32 JKRAram::mStackArray[3]

◆ sAramCommandList

JSUList< JKRAMCommand > JKRAram::sAramCommandList
staticprivate

◆ sAramObject

JKRAram * JKRAram::sAramObject
staticprivate

◆ sMessageBuffer

OSMessage JKRAram::sMessageBuffer
staticprivate
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74

◆ sMessageQueue

OSMessageQueue JKRAram::sMessageQueue = {0}
static

◆ sSZSBufferSize

u32 JKRAram::sSZSBufferSize = 0x00000400
staticprivate

The documentation for this class was generated from the following files: