- Timestamp:
- Mar 20, 2025 12:28:34 PM (8 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168052
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/VMM/VMMAll/IEMAllN8veExecMem.cpp ¶
r108195 r108639 1179 1179 1180 1180 /* There is __builtin___clear_cache() but it flushes both the instruction and data cache, so do it manually. */ 1181 static uint 32_t s_u32CtrEl0 = 0;1182 if (!s_u 32CtrEl0)1183 asm volatile ("mrs %0, ctr_el0":"=r" (s_u 32CtrEl0));1184 uintptr_t cbICacheLine = (uintptr_t)4 << (s_u 32CtrEl0 & 0xf);1181 static uint64_t s_u64CtrEl0 = 0; 1182 if (!s_u64CtrEl0) 1183 asm volatile ("mrs %0, ctr_el0":"=r" (s_u64CtrEl0)); 1184 uintptr_t cbICacheLine = (uintptr_t)4 << (s_u64CtrEl0 & 0xf); 1185 1185 1186 1186 uintptr_t pb = (uintptr_t)pv & ~(cbICacheLine - 1);
Note:
See TracChangeset
for help on using the changeset viewer.