static void WriteVirtIODeviceRegister(ULONG_PTR ulRegister, u32 ulValue) { if (ulRegister & ~PORT_MASK) { StorPortWriteRegisterUlong(NULL, (PULONG)(ulRegister), (ULONG)(ulValue)); } else { StorPortWritePortUlong(NULL, (PULONG)(ulRegister), (ULONG)(ulValue)); } }
void WriteVirtIODeviceRegister(ULONG_PTR ulRegister, u32 ulValue) { StorPortWritePortUlong(NULL, (PULONG)(ulRegister),(ULONG)(ulValue) ); }