1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-06 11:22:15 +02:00
libnx/nx/include/switch/arm.h
2017-11-05 04:02:00 +01:00

8 lines
181 B
C

static inline void* armGetTls(void) {
void* ret;
__asm__ ("mrs %x[data], tpidrro_el0" : [data] "=r" (ret));
return ret;
}
void armDCacheFlush(void* addr, size_t size);