bareflank-hypervisor/loader/windows/include/Queue.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

41 lines
667 B
C

/*++
Module Name:
queue.h
Abstract:
This file contains the queue definitions.
Environment:
Kernel-mode Driver Framework
--*/
EXTERN_C_START
//
// This is the context that can be placed per queue
// and would contain per queue information.
//
typedef struct _QUEUE_CONTEXT
{
ULONG PrivateDeviceData; // just a placeholder
} QUEUE_CONTEXT, *PQUEUE_CONTEXT;
WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(QUEUE_CONTEXT, QueueGetContext)
NTSTATUS
loaderQueueInitialize(_In_ WDFDEVICE Device);
//
// Events from the IoQueue object
//
EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL loaderEvtIoDeviceControl;
EVT_WDF_IO_QUEUE_IO_STOP loaderEvtIoStop;
EXTERN_C_END