Skip to content

Commit 3b6b5fb

Browse files
qianwang-intelwenlingz
authored andcommitted
hv: add FIX-ME for wbinvd emulation
Add a fix-me for wbinvd emulation. Tracked-On: #5330 Signed-off-by: Qian Wang <[email protected]>
1 parent af62d57 commit 3b6b5fb

File tree

1 file changed

+3
-0
lines changed
  • hypervisor/include/arch/x86

1 file changed

+3
-0
lines changed

hypervisor/include/arch/x86/mmu.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ void flush_address_space(void *addr, uint64_t size);
150150
*/
151151
void invept(const void *eptp);
152152

153+
/* FIX-ME:
154+
* this is an workaround for pSRAM protection. We should implement full emulation for WBINVD
155+
*/
153156
extern volatile bool psram_is_initialized;
154157
static inline void cache_flush_invalidate_all(void)
155158
{

0 commit comments

Comments
 (0)