1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-01 08:41:55 +00:00

More cleanup

This commit is contained in:
Maurice Heumann
2022-12-27 14:52:19 +01:00
parent 4cbbaed72f
commit f8f636a829
3 changed files with 13 additions and 90 deletions

View File

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

View File

@ -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");