We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b7fb8 commit 4c6f11fCopy full SHA for 4c6f11f
hypervisor/include/arch/x86/mmu.h
@@ -376,6 +376,11 @@ static inline void *mmu_pt_for_pde(uint32_t *pd, uint32_t vaddr)
376
asm volatile (" wbinvd\n" : : : "memory"); \
377
}
378
379
+static inline void clflush(volatile void *p)
380
+{
381
+ asm volatile ("clflush (%0)" :: "r"(p));
382
+}
383
+
384
/* External variable declarations */
385
extern uint8_t CPU_Boot_Page_Tables_Start_VM[];
386
0 commit comments