Use g_fxo for page_fault_notification_entries

This commit is contained in:
Nekotekina committed 2019-08-22 02:13:39 +03:00
1 parent 54952f6ad6
commit 2740fafa64
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1287,7 +1287,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
{
u32 pf_port_id = 0;
if (auto pf_entries = fxm::get<page_fault_notification_entries>())
if (auto pf_entries = g_fxo->get<page_fault_notification_entries>(); true)
{
if (auto mem = vm::get(vm::any, addr))
{