mirror of
https://github.com/Bareflank/hypervisor
synced 2026-08-17 06:23:04 -04:00
This patch provides initial support for Windows. It also addresses some issues with transient exeuction attacks (specifically straight line attacks)
41 lines
667 B
C
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
|