[*] messed up AURORA_COMPILER_GCC macro usage
This commit is contained in:
parent
54dedf67cc
commit
f589227c1d
@ -88,7 +88,7 @@ namespace Aurora::Memory::Cache
|
|||||||
#elif defined(AURORA_IS_LINUX_DERIVED) && defined(LINUX_SUPPORTS_CACHE_CTL) && LINUX_SUPPORTS_CACHE_CTL
|
#elif defined(AURORA_IS_LINUX_DERIVED) && defined(LINUX_SUPPORTS_CACHE_CTL) && LINUX_SUPPORTS_CACHE_CTL
|
||||||
// https://man7.org/linux/man-pages/man2/cacheflush.2.html
|
// https://man7.org/linux/man-pages/man2/cacheflush.2.html
|
||||||
cacheflush(AuReinterpretCast<const void *>(base), length, ICACHE);
|
cacheflush(AuReinterpretCast<const void *>(base), length, ICACHE);
|
||||||
#elif (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && (defined(AURORA_COMPILER_CLANG) || AURORA_COMPILER_GCC)
|
#elif (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && (defined(AURORA_COMPILER_CLANG) || defined(AURORA_COMPILER_GCC))
|
||||||
|
|
||||||
auto dwCacheLine = AuHwInfo::GetCPUInfo().dwCacheLine;
|
auto dwCacheLine = AuHwInfo::GetCPUInfo().dwCacheLine;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user