Use g_fxo for page_fault_notification_entries

This commit is contained in:
Nekotekina 2019-08-21 22:27:01 +03:00
parent 54952f6ad6
commit 2740fafa64
2 changed files with 3 additions and 3 deletions

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))
{