[Spice-devel] [PATCH qxl-wddm-dod 1/8] Add missing calls to PAGED_CODE

Frediano Ziglio fziglio at redhat.com
Wed Sep 28 13:55:40 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 qxldod/QxlDod.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 5cfff78..d7830e5 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -2930,6 +2930,7 @@ VOID VgaDevice::ResetDevice(VOID)
 
 NTSTATUS VgaDevice::AcquireFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
 {
+    PAGED_CODE();
     if (pCurrentBddMode->Flags.DoNotMapOrUnmap) {
         return STATUS_UNSUCCESSFUL;
     }
@@ -2948,6 +2949,7 @@ NTSTATUS VgaDevice::AcquireFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
 
 NTSTATUS VgaDevice::ReleaseFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
 {
+    PAGED_CODE();
     NTSTATUS status = UnmapFrameBuffer(pCurrentBddMode->FrameBuffer.Ptr, pCurrentBddMode->DispInfo.Height * pCurrentBddMode->DispInfo.Pitch);
     pCurrentBddMode->FrameBuffer.Ptr = NULL;
     pCurrentBddMode->Flags.FrameBufferIsActive = FALSE;
@@ -4592,6 +4594,7 @@ void QxlDevice::SetMonitorConfig(QXLHead * monitor_config)
 
 LONG QxlDevice::GetMaxSourceMappingHeight(D3DKMT_MOVE_RECT* Moves, ULONG NumMoves, RECT* DirtyRects, ULONG NumDirtyRects)
 {
+    PAGED_CODE();
     LONG maxHeight = 0;
     if (Moves != NULL) {
         for (UINT i = 0; i < NumMoves; i++) {
-- 
2.7.4



More information about the Spice-devel mailing list