|
ReactOS 0.4.16-dev-1946-g52006dd
|
#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 |
| KSPIN_LOCK | HwResetAdaptersLock |
| LIST_ENTRY | HwResetAdaptersList |
| KMUTEX | VideoPortInt10Mutex |
| #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().
| BOOLEAN FASTCALL IntAttachToCSRSS | ( | _Outptr_ PKPROCESS * | CallingProcess, |
| _Out_ PKAPC_STATE | ApcState | ||
| ) |
Attach the current thread to the CSRSS process. The caller must detach from the process by invoking IntDetachFromCSRSS() after operating in its context.
| [out] | CallingProcess | Pointer to a PKPROCESS variable that receives the current process. |
| [out] | ApcState | Pointer to a caller-provided KAPC_STATE structure that will be initialized. |
Definition at line 589 of file videoprt.c.
Referenced by VideoPortGetRomImage().
Definition at line 34 of file registry.c.
Referenced by IntCopyRegistryKey(), and IntCreateNewRegistryPath().
| NTSTATUS NTAPI IntCopyRegistryValue | ( | HANDLE | SourceKeyHandle, |
| HANDLE | DestKeyHandle, | ||
| PWSTR | ValueName | ||
| ) |
Definition at line 233 of file registry.c.
Referenced by IntSetupDeviceSettingsKey().
| NTSTATUS NTAPI IntCreateNewRegistryPath | ( | PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 408 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
| NTSTATUS NTAPI IntCreateRegistryPath | ( | IN PCUNICODE_STRING | DriverRegistryPath, |
| IN ULONG | DeviceNumber, | ||
| OUT PUNICODE_STRING | DeviceRegistryPath | ||
| ) |
Definition at line 603 of file registry.c.
Referenced by IntVideoPortCreateAdapterDeviceObject().
Detach the current thread from the CSRSS process. This routine is to be invoked after a previous successful IntAttachToCSRSS() call.
| [in] | CallingProcess | The calling process that previously invoked IntAttachToCSRSS(). |
| [in] | ApcState | Pointer to the KAPC_STATE structure that was initialized by a previous IntAttachToCSRSS() call. |
Definition at line 616 of file videoprt.c.
Referenced by VideoPortGetRomImage().
Definition at line 737 of file int10.c.
Referenced by IntVideoPortDispatchOpen().
| VP_STATUS NTAPI IntInt10AllocateBuffer | ( | _In_ PVOID | Context, |
| _Out_ PUSHORT | Seg, | ||
| _Out_ PUSHORT | Off, | ||
| _Inout_ PULONG | Length | ||
| ) |
Definition at line 370 of file int10.c.
Referenced by VideoPortQueryServices().
| VP_STATUS NTAPI IntInt10CallBios | ( | _In_ PVOID | Context, |
| _Inout_ PINT10_BIOS_ARGUMENTS | BiosArguments | ||
| ) |
Definition at line 708 of file int10.c.
Referenced by VideoPortInt10(), and VideoPortQueryServices().
| VP_STATUS NTAPI IntInt10ReadMemory | ( | _In_ PVOID | Context, |
| _In_ USHORT | Seg, | ||
| _In_ USHORT | Off, | ||
| _Out_writes_bytes_(Length) PVOID | Buffer, | ||
| _In_ ULONG | Length | ||
| ) |
Definition at line 502 of file int10.c.
Referenced by VideoPortQueryServices().
| VP_STATUS NTAPI IntInt10WriteMemory | ( | _In_ PVOID | Context, |
| _In_ USHORT | Seg, | ||
| _In_ USHORT | Off, | ||
| _In_reads_bytes_(Length) PVOID | Buffer, | ||
| _In_ ULONG | Length | ||
| ) |
Definition at line 569 of file int10.c.
Referenced by VideoPortQueryServices().
| NTSTATUS NTAPI IntSetupDeviceSettingsKey | ( | PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 298 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 1168 of file dispatch.c.
Definition at line 434 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 766 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 369 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 404 of file child.c.
Referenced by IntVideoPortDispatchPnp().
Definition at line 1154 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1186 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1220 of file dispatch.c.
Referenced by VideoPortInitialize().
Definition at line 1333 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 87 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 106 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 230 of file resource.c.
Referenced by IntAgpCommitVirtual(), and IntVideoPortMapMemory().
| VOID IntVideoPortReleaseResources | ( | _In_ PVIDEO_PORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 204 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(), IntInitializeInt10(), IntVideoPortDispatchDeviceControl(), IntVideoPortDispatchOpen(), NotifyConsoleProcessForShutdown(), NotifyUserProcessForShutdown(), UserClientConnect(), UserClientShutdown(), 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 38 of file int10.c.
Referenced by IntInt10CallBiosEmu(), and VideoPortInitialize().
|
extern |
Definition at line 41 of file videoprt.c.
Referenced by IntCreateRegistryPath(), IntLoadRegistryParameters(), and IntVideoPortAddDeviceMapLink().