Replaced calls to flushmmucache_cr3() to direct calls to flushmmucache_nopc() and removed the #define.
This commit is contained in:
@@ -1683,7 +1683,7 @@ sysexit(uint32_t fetchdat)
|
||||
|
||||
cpu_cur_status &= ~(CPU_STATUS_NOTFLATSS /* | CPU_STATUS_V86*/);
|
||||
cpu_cur_status |= (CPU_STATUS_USE32 | CPU_STATUS_STACK32 | CPU_STATUS_PMODE);
|
||||
flushmmucache_cr3();
|
||||
flushmmucache_nopc();
|
||||
set_use32(1);
|
||||
set_stack32(1);
|
||||
|
||||
@@ -1804,7 +1804,7 @@ sysret(uint32_t fetchdat)
|
||||
|
||||
cpu_cur_status &= ~(CPU_STATUS_NOTFLATSS /* | CPU_STATUS_V86*/);
|
||||
cpu_cur_status |= (CPU_STATUS_USE32 | CPU_STATUS_STACK32 | CPU_STATUS_PMODE);
|
||||
flushmmucache_cr3();
|
||||
flushmmucache_nopc();
|
||||
set_use32(1);
|
||||
set_stack32(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user