[Spice-devel] [PATCH v3 19/28] Replacing tabs with spaces
Sameeh Jubran
sameeh at daynix.com
Wed Sep 7 13:10:37 UTC 2016
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
Signed-off-by: Dmitry Fleytman <dmitry at daynix.com>
---
qxldod/QxlDod.cpp | 94 +++++++++++++++++++++++++++----------------------------
qxldod/QxlDod.h | 2 +-
qxldod/driver.cpp | 2 +-
3 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 0ec0aff..21cb653 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -1911,53 +1911,53 @@ NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)
NTSTATUS QxlDod::ReadConfiguration()
{
- PAGED_CODE();
-
- NTSTATUS Status;
- DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
-
- HANDLE DevInstRegKeyHandle;
- Status = IoOpenDeviceRegistryKey(m_pPhysicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);
- if (!NT_SUCCESS(Status))
- {
- DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%I64x", m_pPhysicalDevice, Status));
- return Status;
- }
- UNICODE_STRING ValueName;
- UCHAR Buffer[sizeof(KEY_VALUE_PARTIAL_INFORMATION)+sizeof(ULONG)];
- PKEY_VALUE_PARTIAL_INFORMATION Value = (PKEY_VALUE_PARTIAL_INFORMATION)Buffer;
- ULONG ValueLength = sizeof(Buffer);
- ULONG ResultLength;
- ULONG Length;
-
- RtlInitUnicodeString(&ValueName, L"VgaCompatible");
-
- Status = ZwQueryValueKey(DevInstRegKeyHandle,
- &ValueName,
- KeyValuePartialInformation,
- Value,
- ValueLength,
- &ResultLength);
-
- if (NT_SUCCESS(Status)) {
- m_VgaCompatible = *(PULONG)(Value->Data);
- }
-
- RtlInitUnicodeString(&ValueName, L"PointerCaps");
-
- Status = ZwQueryValueKey(DevInstRegKeyHandle,
- &ValueName,
- KeyValuePartialInformation,
- Value,
- ValueLength,
- &ResultLength);
-
- if (NT_SUCCESS(Status)) {
- m_PointerCaps = *(PULONG)(Value->Data);
- }
-
- DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
- return Status;
+ PAGED_CODE();
+
+ NTSTATUS Status;
+ DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
+
+ HANDLE DevInstRegKeyHandle;
+ Status = IoOpenDeviceRegistryKey(m_pPhysicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);
+ if (!NT_SUCCESS(Status))
+ {
+ DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%I64x", m_pPhysicalDevice, Status));
+ return Status;
+ }
+ UNICODE_STRING ValueName;
+ UCHAR Buffer[sizeof(KEY_VALUE_PARTIAL_INFORMATION)+sizeof(ULONG)];
+ PKEY_VALUE_PARTIAL_INFORMATION Value = (PKEY_VALUE_PARTIAL_INFORMATION)Buffer;
+ ULONG ValueLength = sizeof(Buffer);
+ ULONG ResultLength;
+ ULONG Length;
+
+ RtlInitUnicodeString(&ValueName, L"VgaCompatible");
+
+ Status = ZwQueryValueKey(DevInstRegKeyHandle,
+ &ValueName,
+ KeyValuePartialInformation,
+ Value,
+ ValueLength,
+ &ResultLength);
+
+ if (NT_SUCCESS(Status)) {
+ m_VgaCompatible = *(PULONG)(Value->Data);
+ }
+
+ RtlInitUnicodeString(&ValueName, L"PointerCaps");
+
+ Status = ZwQueryValueKey(DevInstRegKeyHandle,
+ &ValueName,
+ KeyValuePartialInformation,
+ Value,
+ ValueLength,
+ &ResultLength);
+
+ if (NT_SUCCESS(Status)) {
+ m_PointerCaps = *(PULONG)(Value->Data);
+ }
+
+ DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
+ return Status;
}
//
diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h
index 16fa78b..fc7c245 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -107,7 +107,7 @@ typedef struct
#pragma pack(pop)
-typedef struct _X86BIOS_REGISTERS // invented names
+typedef struct _X86BIOS_REGISTERS // invented names
{
ULONG Eax;
ULONG Ecx;
diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp
index f3acd0a..d6b5b39 100755
--- a/qxldod/driver.cpp
+++ b/qxldod/driver.cpp
@@ -634,7 +634,7 @@ DodSystemDisplayWrite(
#if defined(DBG)
#define RHEL_DEBUG_PORT ((PUCHAR)0x3F8)
-#define TEMP_BUFFER_SIZE 256
+#define TEMP_BUFFER_SIZE 256
void DebugPrintFuncSerial(const char *format, ...)
{
--
2.7.0.windows.1
More information about the Spice-devel
mailing list