mem_map: Updated interface to expose template functions to other modules.
This commit is contained in:
parent
ad1adb2f92
commit
3013015a0c
2 changed files with 16 additions and 10 deletions
|
@ -128,6 +128,12 @@ extern u8* g_exefs_code; ///< ExeFS:/.code is loaded here
|
|||
void Init();
|
||||
void Shutdown();
|
||||
|
||||
template <typename T>
|
||||
inline void Read(T &var, const u32 addr);
|
||||
|
||||
template <typename T>
|
||||
inline void Write(u32 addr, const T data);
|
||||
|
||||
u8 Read8(const u32 addr);
|
||||
u16 Read16(const u32 addr);
|
||||
u32 Read32(const u32 addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue