bareflank-hypervisor/loader/windows/include/Driver.h
Rian Quinn 0a771714a3 Add Windows Support
This patch provides initial support for Windows. It also addresses
some issues with transient exeuction attacks (specifically straight
line attacks)
2021-02-19 13:14:18 -07:00

44 lines
634 B
C

/*++
Module Name:
driver.h
Abstract:
This file contains the driver definitions.
Environment:
Kernel-mode Driver Framework
--*/
// clang-format off
/// NOTE:
/// - The windows includes that we use here need to remain in this order.
/// Otherwise the code will not compile.
///
#include <initguid.h>
#include <ntddk.h>
#include <wdf.h>
#include "device.h"
#include "queue.h"
#include "trace.h"
// clang-format on
EXTERN_C_START
//
// WDFDRIVER Events
//
DRIVER_INITIALIZE DriverEntry;
EVT_WDF_DRIVER_DEVICE_ADD loaderEvtDeviceAdd;
EVT_WDF_OBJECT_CONTEXT_CLEANUP loaderEvtDriverContextCleanup;
EXTERN_C_END