HyperPlatform Programmer's Reference
vm.h
Go to the documentation of this file.
1 // Copyright (c) 2015-2017, Satoshi Tanda. All rights reserved.
2 // Use of this source code is governed by a MIT-style license that can be
3 // found in the LICENSE file.
4 
7 
8 #ifndef HYPERPLATFORM_VM_H_
9 #define HYPERPLATFORM_VM_H_
10 
11 #include <fltKernel.h>
12 
13 extern "C" {
15 //
16 // macro utilities
17 //
18 
20 //
21 // constants and macros
22 //
23 
25 //
26 // types
27 //
28 
30 //
31 // prototypes
32 //
33 
41 _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS VmInitialization();
42 
44 _IRQL_requires_max_(PASSIVE_LEVEL) void VmTermination();
45 
51 _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS
52  VmHotplugCallback(const PROCESSOR_NUMBER& proc_num);
53 
55 //
56 // variables
57 //
58 
60 //
61 // implementations
62 //
63 
64 } // extern "C"
65 
66 #endif // HYPERPLATFORM_VM_H_
void VmTermination()
De-virtualize all processors.
Definition: vm.cpp:890
NTSTATUS VmHotplugCallback(const PROCESSOR_NUMBER &proc_num)
Virtualizes the specified processor.
Definition: vm.cpp:997
NTSTATUS VmInitialization()
Virtualizes all processors.
Definition: vm.cpp:143