mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-09-01 06:27:27 +00:00
More cleanup
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#include "globals.hpp"
|
||||
#include "process_callback.hpp"
|
||||
|
||||
#define DOS_DEV_NAME L"\\DosDevices\\HelloDev"
|
||||
#define DEV_NAME L"\\Device\\HelloDev"
|
||||
#define DOS_DEV_NAME L"\\DosDevices\\HyperHook"
|
||||
#define DEV_NAME L"\\Device\\HyperHook"
|
||||
|
||||
class global_driver
|
||||
{
|
||||
|
@@ -123,7 +123,7 @@ namespace
|
||||
|
||||
void watch_regions(const watch_request& watch_request)
|
||||
{
|
||||
auto* hypervisor = hypervisor::get_instance();
|
||||
const auto* hypervisor = hypervisor::get_instance();
|
||||
if (!hypervisor)
|
||||
{
|
||||
throw std::runtime_error("Hypervisor not installed");
|
||||
|
Reference in New Issue
Block a user