// uart.h
UART_HARDWARE_WRITE_ULONG64 UartHardwareWriteUlong64;
VOID UartHardwareWriteUlong64(
PULONG64 Address,
ULONG64 Value
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Writes a ULONG64 value to the specified register address.
AddressA pointer to the register, which must be a mapped range in memory space.
ValueA ULONG64 value to be written to the register.
//Declaration
UART_HARDWARE_WRITE_ULONG64 UartHardwareWriteUlong64;
// Definition
VOID UartHardwareWriteUlong64
(
PULONG64 Address
ULONG64 Value
)
{...}
Register your implementation of this callback function by setting the WriteRegister64 member of the _UART_HARDWARE_ACCESS structure.