ReactOS 0.4.16-dev-38-g96c65e9
|
#include <ntifs.h>
#include <miniport.h>
#include <video.h>
#include <ntagp.h>
#include <dderror.h>
#include <windef.h>
#include <wdmguid.h>
#include <pseh/pseh2.h>
Go to the source code of this file.
Classes | |
struct | _VIDEO_PORT_ADDRESS_MAPPING |
struct | _VIDEO_PORT_AGP_MAPPING |
struct | _VIDEO_PORT_AGP_VIRTUAL_MAPPING |
struct | _VIDEO_PORT_DRIVER_EXTENSION |
struct | _VIDEO_PORT_COMMON_EXTENSION |
struct | _VIDEO_PORT_DEVICE_EXTENSTION |
struct | _VIDEO_PORT_CHILD_EXTENSION |
struct | _VIDEO_PORT_EVENT |
Macros | |
#define | __BROKEN__ |
#define | TAG_VIDEO_PORT 'PDIV' |
#define | TAG_VIDEO_PORT_BUFFER '\0mpV' |
#define | TAG_REQUEST_PACKET 'qRpV' |
#define | GUID_STRING_LENGTH (38 * sizeof(WCHAR)) |
#define | VIDEO_PORT_GET_CHILD_EXTENSION(MiniportExtension) |
#define | VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension) |
Variables | |
PKPROCESS | CsrProcess |
ULONG | VideoPortDeviceNumber |
BOOLEAN | VideoPortUseNewKey |
KMUTEX | VideoPortInt10Mutex |
KSPIN_LOCK | HwResetAdaptersLock |
LIST_ENTRY | HwResetAdaptersList |
#define __BROKEN__ |
Definition at line 27 of file videoprt.h.
Definition at line 42 of file videoprt.h.
#define TAG_REQUEST_PACKET 'qRpV' |
Definition at line 40 of file videoprt.h.
#define TAG_VIDEO_PORT 'PDIV' |
Definition at line 38 of file videoprt.h.
#define TAG_VIDEO_PORT_BUFFER '\0mpV' |
Definition at line 39 of file videoprt.h.
#define VIDEO_PORT_GET_CHILD_EXTENSION | ( | MiniportExtension | ) |
Definition at line 134 of file videoprt.h.
#define VIDEO_PORT_GET_DEVICE_EXTENSION | ( | MiniportExtension | ) |
Definition at line 140 of file videoprt.h.
typedef struct _VIDEO_PORT_EVENT * PVIDEO_PORT_EVENT |
typedef struct _VIDEO_PORT_EVENT VIDEO_PORT_EVENT |
Definition at line 496 of file agp.c.
Referenced by VideoPortQueryServices().
VOID FASTCALL IntAttachToCSRSS | ( | PKPROCESS * | CallingProcess, |
PKAPC_STATE | ApcState | ||
) |
Definition at line 575 of file videoprt.c.
Referenced by IntInt10AllocateBuffer(), IntInt10CallBios(), IntInt10FreeBuffer(), IntInt10ReadMemory(), IntInt10WriteMemory(), and VideoPortGetRomImage().
Definition at line 31 of file registry.c.
Referenced by IntCopyRegistryKey(), and IntCreateNewRegistryPath().
NTSTATUS NTAPI IntCopyRegistryValue | ( | HANDLE | SourceKeyHandle, |
HANDLE | DestKeyHandle, | ||
PWSTR | ValueName | ||
) |
Definition at line 230 of file registry.c.
Referenced by IntSetupDeviceSettingsKey().
NTSTATUS NTAPI IntCreateNewRegistryPath | ( | PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 407 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
NTSTATUS NTAPI IntCreateRegistryPath | ( | IN PCUNICODE_STRING | DriverRegistryPath, |
IN ULONG | DeviceNumber, | ||
OUT PUNICODE_STRING | DeviceRegistryPath | ||
) |
Definition at line 601 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
VOID FASTCALL IntDetachFromCSRSS | ( | PKPROCESS * | CallingProcess, |
PKAPC_STATE | ApcState | ||
) |
Definition at line 588 of file videoprt.c.
Referenced by IntInt10AllocateBuffer(), IntInt10CallBios(), IntInt10FreeBuffer(), IntInt10ReadMemory(), IntInt10WriteMemory(), and VideoPortGetRomImage().
Definition at line 200 of file int10.c.
Referenced by IntVideoPortDispatchOpen().
VP_STATUS NTAPI IntInt10AllocateBuffer | ( | IN PVOID | Context, |
OUT PUSHORT | Seg, | ||
OUT PUSHORT | Off, | ||
IN OUT PULONG | Length | ||
) |
Definition at line 210 of file int10.c.
Referenced by VideoPortQueryServices().
Definition at line 380 of file int10.c.
Referenced by VideoPortInt10(), and VideoPortQueryServices().
Definition at line 273 of file int10.c.
Referenced by VideoPortQueryServices().
VP_STATUS NTAPI IntInt10ReadMemory | ( | IN PVOID | Context, |
IN USHORT | Seg, | ||
IN USHORT | Off, | ||
OUT PVOID | Buffer, | ||
IN ULONG | Length | ||
) |
Definition at line 306 of file int10.c.
Referenced by VideoPortQueryServices().
VP_STATUS NTAPI IntInt10WriteMemory | ( | IN PVOID | Context, |
IN USHORT | Seg, | ||
IN USHORT | Off, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length | ||
) |
Definition at line 344 of file int10.c.
Referenced by VideoPortQueryServices().
NTSTATUS NTAPI IntSetupDeviceSettingsKey | ( | PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 297 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
NTSTATUS NTAPI IntVideoPortAddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PDEVICE_OBJECT | PhysicalDeviceObject | ||
) |
Definition at line 334 of file dispatch.c.
Referenced by VideoPortInitialize().
NTSTATUS NTAPI IntVideoPortCreateAdapterDeviceObject | ( | _In_ PDRIVER_OBJECT | DriverObject, |
_In_ PVIDEO_PORT_DRIVER_EXTENSION | DriverExtension, | ||
_In_opt_ PDEVICE_OBJECT | PhysicalDeviceObject, | ||
_In_ USHORT | AdapterNumber, | ||
_In_ USHORT | DisplayNumber, | ||
_Out_opt_ PDEVICE_OBJECT * | DeviceObject | ||
) |
Definition at line 159 of file videoprt.c.
Referenced by IntVideoPortAddDevice(), VideoPortCreateSecondaryDisplay(), and VideoPortInitialize().
Definition at line 1123 of file dispatch.c.
Definition at line 436 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 723 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 369 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 386 of file child.c.
Referenced by IntVideoPortDispatchPnp().
Definition at line 1109 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1141 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1175 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1280 of file videoprt.c.
Referenced by IntVideoPortQueryBusRelations().
NTSTATUS NTAPI IntVideoPortFilterResourceRequirements | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIO_STACK_LOCATION | IrpStack, | ||
IN PIRP | Irp | ||
) |
Definition at line 77 of file resource.c.
Referenced by IntVideoPortDispatchFdoPnp().
NTSTATUS NTAPI IntVideoPortFindAdapter | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PVIDEO_PORT_DRIVER_EXTENSION | DriverExtension, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 414 of file videoprt.c.
Referenced by IntVideoPortPnPStartDevice(), and VideoPortInitialize().
Definition at line 100 of file funclist.c.
Referenced by IntVideoPortFindAdapter().
NTSTATUS NTAPI IntVideoPortMapPhysicalMemory | ( | IN HANDLE | Process, |
IN PHYSICAL_ADDRESS | PhysicalAddress, | ||
IN ULONG | SizeInBytes, | ||
IN ULONG | Protect, | ||
IN OUT PVOID *VirtualAddress | OPTIONAL | ||
) |
Definition at line 219 of file resource.c.
Referenced by IntAgpCommitVirtual(), and IntVideoPortMapMemory().
VOID IntVideoPortReleaseResources | ( | _In_ PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 194 of file resource.c.
Referenced by VideoPortVerifyAccessRanges().
BOOLEAN NTAPI IntVideoPortSetupInterrupt | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PVIDEO_PORT_DRIVER_EXTENSION | DriverExtension, | ||
IN PVIDEO_PORT_CONFIG_INFO | ConfigInfo | ||
) |
Definition at line 45 of file interrupt.c.
Referenced by IntVideoPortFindAdapter().
BOOLEAN NTAPI IntVideoPortSetupTimer | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PVIDEO_PORT_DRIVER_EXTENSION | DriverExtension | ||
) |
Definition at line 43 of file timer.c.
Referenced by IntVideoPortFindAdapter().
VOID NTAPI IntVideoPortUnload | ( | PDRIVER_OBJECT | DriverObject | ) |
NTSTATUS IopInitiatePnpIrp | ( | PDEVICE_OBJECT | DeviceObject, |
PIO_STATUS_BLOCK | IoStatusBlock, | ||
UCHAR | MinorFunction, | ||
PIO_STACK_LOCATION Stack | OPTIONAL | ||
) |
Definition at line 30 of file agp.c.
Referenced by IntAgpGetInterface().
|
extern |
Definition at line 39 of file videoprt.c.
Referenced by BaseClientConnectRoutine(), BaseClientDisconnectRoutine(), BaseSrvCleanupVDMResources(), ConsoleClientShutdown(), ConSrvConnect(), ConSrvDisconnect(), ConSrvSetProcessFocus(), CSR_API(), CsrAllocateProcess(), CsrAllocateThread(), CsrApiHandleConnectionRequest(), CsrApiRequestThread(), CsrCaptureArguments(), CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), CsrDeallocateProcess(), CsrDebugProcess(), CsrDebugProcessStop(), CsrDereferenceProcess(), CsrDestroyProcess(), CsrDestroyThread(), CsrInsertProcess(), CsrLocateThreadInProcess(), CsrLockedDereferenceProcess(), CsrLockedReferenceProcess(), CsrLockProcessByClientId(), CsrProcessRefcountZero(), CsrRemoveProcess(), CsrSbCreateSession(), CsrSetBackgroundPriority(), CsrSetForegroundPriority(), CsrShutdownProcesses(), CsrSrvAttachSharedSection(), CsrThreadRefcountZero(), CsrUnlockProcess(), FindProcessForShutdown(), IntAttachToCSRSS(), IntDetachFromCSRSS(), IntVideoPortDispatchDeviceControl(), IntVideoPortDispatchOpen(), NotifyConsoleProcessForShutdown(), NotifyUserProcessForShutdown(), ProtectLowV86Mem(), UnprotectLowV86Mem(), UserClientConnect(), UserClientShutdown(), VideoPortInt10(), and VideoPortWin32kCallout().
|
extern |
Referenced by IntVideoPortFindAdapter(), and IntVideoPortResetDisplayParametersEx().
|
extern |
Definition at line 43 of file videoprt.c.
Referenced by IntVideoPortFindAdapter(), IntVideoPortResetDisplayParametersEx(), and VideoPortInitialize().
|
extern |
|
extern |
Definition at line 42 of file videoprt.c.
Referenced by IntInt10CallBios(), and VideoPortInitialize().
|
extern |
Definition at line 41 of file videoprt.c.
Referenced by IntCreateRegistryPath(), IntLoadRegistryParameters(), and IntVideoPortAddDeviceMapLink().