ReactOS
0.4.15-dev-2153-g62b4c61
|
#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 |
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 131 of file videoprt.h.
#define VIDEO_PORT_GET_DEVICE_EXTENSION | ( | MiniportExtension | ) |
Definition at line 137 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 443 of file videoprt.c.
Referenced by IntInt10AllocateBuffer(), IntInt10CallBios(), IntInt10FreeBuffer(), IntInt10ReadMemory(), IntInt10WriteMemory(), and VideoPortGetRomImage().
Definition at line 30 of file registry.c.
Referenced by IntCopyRegistryKey(), and IntCreateNewRegistryPath().
NTSTATUS NTAPI IntCopyRegistryValue | ( | HANDLE | SourceKeyHandle, |
HANDLE | DestKeyHandle, | ||
PWSTR | ValueName | ||
) |
Definition at line 229 of file registry.c.
Referenced by IntSetupDeviceSettingsKey().
NTSTATUS NTAPI IntCreateNewRegistryPath | ( | PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 357 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
NTSTATUS NTAPI IntCreateRegistryPath | ( | IN PCUNICODE_STRING | DriverRegistryPath, |
OUT PUNICODE_STRING | DeviceRegistryPath | ||
) |
Definition at line 532 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
VOID FASTCALL IntDetachFromCSRSS | ( | PKPROCESS * | CallingProcess, |
PKAPC_STATE | ApcState | ||
) |
Definition at line 456 of file videoprt.c.
Referenced by IntInt10AllocateBuffer(), IntInt10CallBios(), IntInt10FreeBuffer(), IntInt10ReadMemory(), IntInt10WriteMemory(), and VideoPortGetRomImage().
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 296 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, | ||
_Out_opt_ PDEVICE_OBJECT * | DeviceObject | ||
) |
Definition at line 94 of file videoprt.c.
Referenced by IntVideoPortAddDevice(), and VideoPortInitialize().
Definition at line 1097 of file dispatch.c.
Definition at line 429 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 714 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 366 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 319 of file child.c.
Referenced by IntVideoPortDispatchPnp().
Definition at line 1083 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1115 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1149 of file dispatch.c.
Referenced by VideoPortInitialize().
NTSTATUS NTAPI IntVideoPortFilterResourceRequirements | ( | IN PDEVICE_OBJECT | DeviceObject, |
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 254 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 192 of file resource.c.
Referenced by IntAgpCommitVirtual(), and IntVideoPortMapMemory().
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().
PKPROCESS CsrProcess |
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().
LIST_ENTRY HwResetAdaptersList |
Referenced by IntVideoPortFindAdapter(), and IntVideoPortResetDisplayParametersEx().
KSPIN_LOCK HwResetAdaptersLock |
Definition at line 42 of file videoprt.c.
Referenced by IntVideoPortFindAdapter(), IntVideoPortResetDisplayParametersEx(), and VideoPortInitialize().
ULONG VideoPortDeviceNumber |
Definition at line 40 of file videoprt.c.
Referenced by IntVideoPortAddDevice(), IntVideoPortCreateAdapterDeviceObject(), and VideoPortInitialize().
KMUTEX VideoPortInt10Mutex |
Definition at line 41 of file videoprt.c.
Referenced by IntInt10CallBios(), and VideoPortInitialize().