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

#include <JKRAramStream.h>

+ Inheritance diagram for JKRAramStream:
+ Collaboration diagram for JKRAramStream:

Static Public Member Functions

static JKRAramStreamcreate (s32)
 
static s32 readFromAram (void)
 
static s32 writeToAram (JKRAramStreamCommand *)
 
static JKRAramStreamCommandwrite_StreamToAram_Async (JSUFileInputStream *, u32, u32, u32, u32 *)
 
static JKRAramStreamCommandsync (JKRAramStreamCommand *, BOOL)
 
static void setTransBuffer (u8 *, u32, JKRHeap *)
 
- Static Public Member Functions inherited from JKRThread
static voidstart (void *param_1)
 
static JKRThreadsearchThread (OSThread *thread)
 
static JSUList< JKRThread > & getList ()
 

Private Member Functions

 JKRAramStream (s32)
 
virtual ~JKRAramStream ()
 
voidrun (void)
 

Static Private Attributes

static JKRAramStreamsAramStreamObject
 
static OSMessage sMessageBuffer [4]
 
static OSMessageQueue sMessageQueue = {0}
 
static u8transBuffer
 
static u32 transSize
 
static JKRHeaptransHeap
 

Additional Inherited Members

- 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 Attributes inherited from JKRThread
static JSUList< JKRThreadsThreadList
 
- 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

◆ JKRAramStream()

JKRAramStream::JKRAramStream ( s32  priority)
private

◆ ~JKRAramStream()

JKRAramStream::~JKRAramStream ( )
privatevirtual

Member Function Documentation

◆ create()

JKRAramStream * JKRAramStream::create ( s32  priority)
static

◆ readFromAram()

s32 JKRAramStream::readFromAram ( void  )
static

◆ run()

void * JKRAramStream::run ( void  )
privatevirtual

Reimplemented from JKRThread.

◆ setTransBuffer()

void JKRAramStream::setTransBuffer ( u8 buffer,
u32  bufferSize,
JKRHeap heap 
)
static

◆ sync()

JKRAramStreamCommand * JKRAramStream::sync ( JKRAramStreamCommand command,
BOOL  isNonBlocking 
)
static

◆ write_StreamToAram_Async()

JKRAramStreamCommand * JKRAramStream::write_StreamToAram_Async ( JSUFileInputStream stream,
u32  addr,
u32  size,
u32  offset,
u32 returnSize 
)
static

◆ writeToAram()

s32 JKRAramStream::writeToAram ( JKRAramStreamCommand command)
static

Member Data Documentation

◆ sAramStreamObject

JKRAramStream * JKRAramStream::sAramStreamObject
staticprivate

◆ sMessageBuffer

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

◆ sMessageQueue

OSMessageQueue JKRAramStream::sMessageQueue = {0}
staticprivate

◆ transBuffer

u8 * JKRAramStream::transBuffer
staticprivate

◆ transHeap

JKRHeap * JKRAramStream::transHeap
staticprivate

◆ transSize

u32 JKRAramStream::transSize
staticprivate

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