#include "stdarg.h"
#include "stdio.h"
#include "ntddk.h"
#include "fsvga.h"
#include "fsvgalog.h"
Go to the source code of this file.
Defines | |
#define | NAME_MAX 256 |
#define | DUMP_COUNT 4 |
#define | PARAMETER_MAX 256 |
#define | DUMP_COUNT 4 |
#define | DUMP_COUNT 4 |
Functions | |
NTSTATUS | DriverEntry (IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) |
VOID | FsVgaConfiguration (IN PDEVICE_EXTENSION DeviceExtension, IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING FsVgaDeviceName) |
NTSTATUS | FsVgaPeripheralCallout (IN PVOID Context, IN PUNICODE_STRING PathName, IN INTERFACE_TYPE BusType, IN ULONG BusNumber, IN PKEY_VALUE_FULL_INFORMATION *BusInformation, IN CONFIGURATION_TYPE ControllerType, IN ULONG ControllerNumber, IN PKEY_VALUE_FULL_INFORMATION *ControllerInformation, IN CONFIGURATION_TYPE PeripheralType, IN ULONG PeripheralNumber, IN PKEY_VALUE_FULL_INFORMATION *PeripheralInformation) |
VOID | FsVgaServiceParameters (IN PDEVICE_EXTENSION DeviceExtension, IN PUNICODE_STRING RegistryPath, IN PUNICODE_STRING FsVgaDeviceName) |
VOID | FsVgaBuildResourceList (IN PDEVICE_EXTENSION DeviceExtension, OUT PCM_RESOURCE_LIST *ResourceList, OUT PULONG ResourceListSize) |
NTSTATUS | FsVgaOpenCloseDispatch (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
NTSTATUS | FsVgaDeviceControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
NTSTATUS | FsVgaCopyFrameBuffer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_COPY_FRAME_BUFFER CopyFrameBuffer, ULONG inputBufferLength) |
NTSTATUS | FsVgaWriteToFrameBuffer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_WRITE_TO_FRAME_BUFFER WriteFrameBuffer, ULONG inputBufferLength) |
NTSTATUS | FsVgaReverseMousePointer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_REVERSE_MOUSE_POINTER MouseBuffer, ULONG inputBufferLength) |
NTSTATUS | FsVgaSetMode (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_MODE_INFORMATION ModeInformation, ULONG inputBufferLength) |
NTSTATUS | FsVgaSetScreenInformation (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_SCREEN_INFORMATION ScreenInformation, ULONG inputBufferLength) |
NTSTATUS | FsVgaSetCursorPosition (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_CURSOR_POSITION CursorPosition, ULONG inputBufferLength) |
NTSTATUS | FsVgaSetCursorAttribute (PDEVICE_EXTENSION DeviceExtension, PVIDEO_CURSOR_ATTRIBUTES CursorAttributes, ULONG inputBufferLength) |
VOID | FsVgaLogError (IN PDEVICE_OBJECT DeviceObject, IN NTSTATUS ErrorCode, IN ULONG UniqueErrorValue, IN NTSTATUS FinalStatus, IN PULONG DumpData, IN ULONG DumpCount) |
|
|
|
|
|
Referenced by DriverEntry(), FsVgaBuildResourceList(), and FsVgaWriteToFrameBuffer(). |
|
Referenced by DriverEntry(). |
|
|
|
Definition at line 53 of file fsvga.c. References ASSERT, _FSVGA_CONFIGURATION_INFORMATION::BusNumber, CdfsFileSystem, _DEVICE_EXTENSION::Configuration, DEVICE_EXTENSION, _DEVICE_OBJECT::DeviceExtension, _DEVICE_EXTENSION::DeviceObject, _DEVICE_EXTENSION::DeviceRegisters, DriverEntry(), DUMP_COUNT, ExAllocatePool, ExAllocatePoolWithTag, ExFreePool(), FALSE, FatFileSystem, FSREC_POOL_TAG, FsRecCleanupClose(), FsRecCreate(), FsRecCreateAndRegisterDO(), FsRecFsControl(), FsRecLoadSync, FsRecUnload(), FSVGA_ERROR_VALUE_BASE, FSVGA_HARDWARE_PRESENT, FsVgaBuildResourceList(), FsVgaConfiguration(), FsVgaDeviceControl(), FsVgaOpenCloseDispatch(), FsVgaPrint, HalTranslateBusAddress(), _DEVICE_EXTENSION::HardwarePresent, _FSVGA_CONFIGURATION_INFORMATION::InterfaceType, IoAllocateErrorLogEntry(), IoCreateDevice(), IoDeleteDevice(), IoReportResourceUsage(), IoWriteErrorLogEntry(), IRP_MJ_CLEANUP, IRP_MJ_CLOSE, IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL, IRP_MJ_FILE_SYSTEM_CONTROL, KeInitializeEvent, L, MmMapIoSpace(), MmPageEntireDriver(), MmUnmapIoSpace(), NAME_MAX, NonPagedPool, NT_SUCCESS, NtfsFileSystem, NTSTATUS(), NULL, PAGED_CODE, PagedPool, _FSVGA_CONFIGURATION_INFORMATION::PortList, _FSVGA_CONFIGURATION_INFORMATION::PortListCount, RtlAppendUnicodeStringToString(), RtlAppendUnicodeToString(), RtlInitUnicodeString(), RtlIntegerToUnicodeString(), RtlWriteRegistryValue(), TRUE, UdfsFileSystem, _DEVICE_EXTENSION::UnmapRegistersRequired, and USHORT.
|
|
Definition at line 1056 of file fsvga.c. References DUMP_COUNT, ExAllocatePool, FSVGA_ERROR_VALUE_BASE, FsVgaLogError(), FsVgaPrint, and PagedPool. Referenced by DriverEntry().
|
|
Definition at line 649 of file fsvga.c. References FSVGA_HARDWARE_PRESENT, FsVgaPeripheralCallout(), FsVgaPrint, FsVgaServiceParameters(), IoQueryDeviceDescription(), NTSTATUS(), NULL, and PFSVGA_CONFIGURATION_INFORMATION. Referenced by DriverEntry().
|
|
Definition at line 1349 of file fsvga.c. References _DEVICE_EXTENSION::CurrentMode, FsgCopyFrameBuffer(), and SCREEN_BUFFER_POINTER. Referenced by FsVgaDeviceControl().
|
|
Definition at line 1213 of file fsvga.c. References _IRP::AssociatedIrp, FsVgaCopyFrameBuffer(), FsVgaPrint, FsVgaReverseMousePointer(), FsVgaSetCursorAttribute(), FsVgaSetCursorPosition(), FsVgaSetMode(), FsVgaSetScreenInformation(), FsVgaWriteToFrameBuffer(), IO_NO_INCREMENT, IoCompleteRequest, IoGetCurrentIrpStackLocation, _IRP::IoStatus, Irp, NTSTATUS(), PAGED_CODE, and _IO_STACK_LOCATION::Parameters. Referenced by DriverEntry().
|
|
Definition at line 1844 of file fsvga.c. References IoAllocateErrorLogEntry(), IoWriteErrorLogEntry(), NULL, and USHORT. Referenced by FsVgaBuildResourceList(), and FsVgaWriteToFrameBuffer().
|
|
Definition at line 1167 of file fsvga.c. References FsVgaPrint, IO_NO_INCREMENT, IoCompleteRequest, _IRP::IoStatus, Irp, and PAGED_CODE. Referenced by DriverEntry().
|
|
Definition at line 722 of file fsvga.c. References BusNumber, _FSVGA_CONFIGURATION_INFORMATION::BusNumber, _DEVICE_EXTENSION::Configuration, ControllerType, CRTC_ADDRESS_PORT_COLOR, CRTC_DATA_PORT_COLOR, FSVGA_HARDWARE_PRESENT, FsVgaPrint, GRAPH_ADDRESS_PORT, _DEVICE_EXTENSION::HardwarePresent, _FSVGA_CONFIGURATION_INFORMATION::InterfaceType, NTSTATUS(), PeripheralType, _FSVGA_CONFIGURATION_INFORMATION::PortList, _FSVGA_CONFIGURATION_INFORMATION::PortListCount, SEQ_ADDRESS_PORT, and VGA_BASE_IO_PORT. Referenced by FsVgaConfiguration().
|
|
Definition at line 1546 of file fsvga.c. References BYTE, _DEVICE_EXTENSION::CurrentMode, FsgReverseMousePointer(), and SCREEN_BUFFER_POINTER. Referenced by FsVgaDeviceControl().
|
|
Definition at line 858 of file fsvga.c. References _FSVGA_CONFIGURATION_INFORMATION::EmulationMode, ExAllocatePool, ExFreePool(), FsVgaPrint, _FSVGA_CONFIGURATION_INFORMATION::HardwareCursor, _FSVGA_CONFIGURATION_INFORMATION::HardwareScroll, L, NO_HARDWARE_CURSOR, NO_HARDWARE_SCROLL, NT_SUCCESS, NTSTATUS(), NULL, PagedPool, path, RtlAppendUnicodeToString(), RtlCopyUnicodeString(), RtlInitUnicodeString(), RtlQueryRegistryValues(), and USHORT. Referenced by FsVgaConfiguration().
|
|
Definition at line 1777 of file fsvga.c. References _DEVICE_EXTENSION::CurrentMode, _EMULATE_BUFFER_INFORMATION::CursorAttributes, _DEVICE_EXTENSION::EmulateInfo, FALSE, FsgInvertCursor(), and TRUE. Referenced by FsVgaDeviceControl().
|
|
Definition at line 1710 of file fsvga.c. References _DEVICE_EXTENSION::CurrentMode, _EMULATE_BUFFER_INFORMATION::CursorPosition, _DEVICE_EXTENSION::EmulateInfo, FALSE, FsgInvertCursor(), and TRUE. Referenced by FsVgaDeviceControl().
|
|
Definition at line 1618 of file fsvga.c. References _DEVICE_EXTENSION::CurrentMode. Referenced by FsVgaDeviceControl().
|
|
Definition at line 1663 of file fsvga.c. References FsgVgaInitializeHWFlags(), and _DEVICE_EXTENSION::ScreenAndFont. Referenced by FsVgaDeviceControl().
|
|
Definition at line 1429 of file fsvga.c. References _DEVICE_EXTENSION::CurrentMode, _DEVICE_EXTENSION::DeviceObject, DUMP_COUNT, DWORD, ExAllocatePool, ExFreePool(), FsgWriteToFrameBuffer(), FSVGA_ERROR_VALUE_BASE, FsVgaLogError(), FsVgaPrint, NULL, PagedPool, SCREEN_BUFFER_POINTER, _DEVICE_EXTENSION::ScreenAndFont, SHORT, and TranslateOutputToOem(). Referenced by FsVgaDeviceControl().
|