Memmap: get rid of unused junk.
This should make it a bit more clear what interfaces we're actually exposing for memory access at the moment.
This commit is contained in:
1 parent
44f481ec13
commit
ec9dd80b7f
3 files changed
+11
-29
No files matched your search
@@ -95,17 +95,6 @@ void WriteUnchecked_U32(const u32 _Data, const u32 _Address);
|
||||
|
||||
bool IsRAMAddress(const u32 addr, bool allow_locked_cache = false, bool allow_fake_vmem = false);
|
||||
|
||||
inline u8* GetCachePtr() {return m_pL1Cache;}
|
||||
inline u8* GetMainRAMPtr() {return m_pRAM;}
|
||||
inline u32 ReadFast32(const u32 _Address)
|
||||
{
|
||||
#if _ARCH_32
|
||||
return Common::swap32(*(u32 *)(base + (_Address & MEMVIEW32_MASK))); // ReadUnchecked_U32(_Address);
|
||||
#else
|
||||
return Common::swap32(*(u32 *)(base + _Address));
|
||||
#endif
|
||||
}
|
||||
|
||||
// used by interpreter to read instructions, uses iCache
|
||||
u32 Read_Opcode(const u32 _Address);
|
||||
// this is used by Debugger a lot.
|
||||
@@ -115,11 +104,6 @@ u32 Read_Instruction(const u32 _Address);
|
||||
|
||||
// For use by emulator
|
||||
|
||||
// Read and write functions
|
||||
#define NUMHWMEMFUN 64
|
||||
#define HWSHIFT 10
|
||||
#define HW_MASK 0x3FF
|
||||
|
||||
u8 Read_U8(const u32 _Address);
|
||||
u16 Read_U16(const u32 _Address);
|
||||
u32 Read_U32(const u32 _Address);
|
||||
@@ -133,9 +117,6 @@ double Read_F64(const u32 _Address);
|
||||
u32 Read_U8_ZX(const u32 _Address);
|
||||
u32 Read_U16_ZX(const u32 _Address);
|
||||
|
||||
// used by JIT (Jit64::lXz)
|
||||
u32 EFB_Read(const u32 addr);
|
||||
|
||||
void Write_U8(const u8 _Data, const u32 _Address);
|
||||
void Write_U16(const u16 _Data, const u32 _Address);
|
||||
void Write_U32(const u32 _Data, const u32 _Address);
|
||||
@@ -148,7 +129,6 @@ void Write_U64_Swap(const u64 _Data, const u32 _Address);
|
||||
// Useful helper functions, used by ARM JIT
|
||||
void Write_F64(const double _Data, const u32 _Address);
|
||||
|
||||
void WriteHW_U32(const u32 _Data, const u32 _Address);
|
||||
void GetString(std::string& _string, const u32 _Address);
|
||||
|
||||
void WriteBigEData(const u8 *_pData, const u32 _Address, const size_t size);
|
||||
@@ -169,9 +149,6 @@ enum XCheckTLBFlag
|
||||
};
|
||||
u32 TranslateAddress(u32 _Address, XCheckTLBFlag _Flag);
|
||||
void InvalidateTLBEntry(u32 _Address);
|
||||
void GenerateDSIException(u32 _EffectiveAdress, bool _bWrite);
|
||||
void GenerateISIException(u32 _EffectiveAdress);
|
||||
extern u32 pagetable_base;
|
||||
extern u32 pagetable_hashmask;
|
||||
|
||||
};
|
||||
Reference in new issue
Block a user