#include "SpuFakeDma.h"#include <LinearMath/btScalar.h>
Go to the source code of this file.
Defines | |
| #define | USE_MEMCPY 1 |
Functions | |
| void * | cellDmaLargeGetReadOnly (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) |
| void * | cellDmaGetReadOnly (void *ls, uint64_t ea, uint32_t size, uint32_t tag, uint32_t tid, uint32_t rid) |
| int | stallingUnalignedDmaSmallGet (void *ls, uint64_t ea, uint32_t size) |
| this unalignedDma should not be frequently used, only for small data. It handles alignment and performs check on size (<16 bytes) | |
| 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) | |
| 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) | |
| void | cellDmaWaitTagStatusAll (int ignore) |
| cellDmaWaitTagStatusAll Win32 replacements for Cell DMA to allow simulating most of the SPU code (just memcpy) | |
| #define USE_MEMCPY 1 |
Definition at line 20 of file SpuFakeDma.cpp.
| 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 188 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 206 of file SpuFakeDma.cpp.
| int stallingUnalignedDmaSmallGet | ( | void * | ls, | |
| uint64_t | ea, | |||
| uint32_t | size | |||
| ) |
this unalignedDma should not be frequently used, only for small data. It handles alignment and performs check on size (<16 bytes)
stallingUnalignedDmaSmallGet internally uses DMA_TAG(1)
make sure last 4 bits are the same, for cellDmaSmallGet
Definition at line 62 of file SpuFakeDma.cpp.
1.6.1