Bullet Collision Detection & Physics Library
Macros | Functions
SpuFakeDma.h File Reference
#include "PlatformDefinitions.h"
#include "LinearMath/btScalar.h"
Include dependency graph for SpuFakeDma.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DMA_TAG(a)   (a)
 
#define DMA_MASK(a)   (a)
 

Functions

int cellDmaLargeGet (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 cellDmaLargeGet Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy) More...
 
int cellDmaGet (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 
int cellDmaLargePut (const void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 cellDmaLargePut Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy) More...
 
void cellDmaWaitTagStatusAll (int ignore)
 cellDmaWaitTagStatusAll Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy) More...
 
int stallingUnalignedDmaSmallGet (void *ls, uint64_t ea, uint32_t size)
 stallingUnalignedDmaSmallGet internally uses DMA_TAG(1) More...
 
void * cellDmaLargeGetReadOnly (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 
void * cellDmaGetReadOnly (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 
void * cellDmaSmallGetReadOnly (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid)
 

Macro Definition Documentation

#define DMA_MASK (   a)    (a)

Definition at line 113 of file SpuFakeDma.h.

#define DMA_TAG (   a)    (a)

Definition at line 112 of file SpuFakeDma.h.

Function Documentation

int cellDmaGet ( void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

Definition at line 173 of file SpuFakeDma.cpp.

void* cellDmaGetReadOnly ( void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

Definition at line 50 of file SpuFakeDma.cpp.

int cellDmaLargeGet ( void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

cellDmaLargeGet Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy)

Definition at line 157 of file SpuFakeDma.cpp.

void* cellDmaLargeGetReadOnly ( void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

Definition at line 26 of file SpuFakeDma.cpp.

int cellDmaLargePut ( const void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

cellDmaLargePut Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy)

Definition at line 192 of file SpuFakeDma.cpp.

void* cellDmaSmallGetReadOnly ( void *  ls,
uint64_t  ea,
uint32_t  size,
uint32_t  tag,
uint32_t  tid,
uint32_t  rid 
)

Definition at line 37 of file SpuFakeDma.cpp.

void cellDmaWaitTagStatusAll ( int  ignore)

cellDmaWaitTagStatusAll Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy)

Definition at line 210 of file SpuFakeDma.cpp.

int stallingUnalignedDmaSmallGet ( void *  ls,
uint64_t  ea,
uint32_t  size 
)

stallingUnalignedDmaSmallGet internally uses DMA_TAG(1)

stallingUnalignedDmaSmallGet internally uses DMA_TAG(1)

make sure last 4 bits are the same, for cellDmaSmallGet

Definition at line 62 of file SpuFakeDma.cpp.