git subrepo pull --force emummc
subrepo: subdir: "emummc" merged: "2fc47cbb8" upstream: origin: "https://github.com/lulle2007200/emuMMC.git" branch: "develop" commit: "2fc47cbb8" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "30db3b8"
This commit is contained in:
14
emummc/source/utils/util.h
vendored
14
emummc/source/utils/util.h
vendored
@@ -21,6 +21,12 @@
|
||||
#include "types.h"
|
||||
#include "../emuMMC/emummc_ctx.h"
|
||||
|
||||
// #define DEBUG_LOG_ARGS(fmt, ...) log_iram(fmt, __VA_ARGS__)
|
||||
// #define DEBUG_LOG(fmt) log_iram(fmt)
|
||||
|
||||
#define DEBUG_LOG_ARGS(fmt, ...)
|
||||
#define DEBUG_LOG(fmt)
|
||||
|
||||
intptr_t QueryIoMapping(u64 addr, u64 size);
|
||||
#define byte_swap_32(num) (((num >> 24) & 0xff) | ((num << 8) & 0xff0000) | \
|
||||
((num >> 8 )& 0xff00) | ((num << 24) & 0xff000000))
|
||||
@@ -38,11 +44,9 @@ void usleep(u64 ticks);
|
||||
void msleep(u64 milliseconds);
|
||||
void exec_cfg(u32 *base, const cfg_op_t *ops, u32 num_ops);
|
||||
|
||||
static inline void *armGetTls(void) {
|
||||
void *ret;
|
||||
__asm__ __volatile__("MRS %x[data], TPIDRRO_EL0" : [data]"=r"(ret));
|
||||
return ret;
|
||||
}
|
||||
void log_iram(const char* fmt, ...);
|
||||
|
||||
extern u8 working_buf[4096];
|
||||
|
||||
extern volatile emuMMC_ctx_t emuMMC_ctx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user