Add missing calls to PAGED_CODE
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
93cb3c8caf
commit
8eecca8c75
@ -2900,6 +2900,7 @@ VOID VgaDevice::ResetDevice(VOID)
|
|||||||
|
|
||||||
NTSTATUS VgaDevice::AcquireFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
|
NTSTATUS VgaDevice::AcquireFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
|
||||||
{
|
{
|
||||||
|
PAGED_CODE();
|
||||||
if (pCurrentBddMode->Flags.DoNotMapOrUnmap) {
|
if (pCurrentBddMode->Flags.DoNotMapOrUnmap) {
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
@ -2918,6 +2919,7 @@ NTSTATUS VgaDevice::AcquireFrameBuffer(CURRENT_BDD_MODE* pCurrentBddMode)
|
|||||||
|
|
||||||
NTSTATUS VgaDevice::ReleaseFrameBuffer(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);
|
NTSTATUS status = UnmapFrameBuffer(pCurrentBddMode->FrameBuffer.Ptr, pCurrentBddMode->DispInfo.Height * pCurrentBddMode->DispInfo.Pitch);
|
||||||
pCurrentBddMode->FrameBuffer.Ptr = NULL;
|
pCurrentBddMode->FrameBuffer.Ptr = NULL;
|
||||||
pCurrentBddMode->Flags.FrameBufferIsActive = FALSE;
|
pCurrentBddMode->Flags.FrameBufferIsActive = FALSE;
|
||||||
@ -4563,6 +4565,7 @@ void QxlDevice::SetMonitorConfig(QXLHead * monitor_config)
|
|||||||
|
|
||||||
LONG QxlDevice::GetMaxSourceMappingHeight(D3DKMT_MOVE_RECT* Moves, ULONG NumMoves, RECT* DirtyRects, ULONG NumDirtyRects)
|
LONG QxlDevice::GetMaxSourceMappingHeight(D3DKMT_MOVE_RECT* Moves, ULONG NumMoves, RECT* DirtyRects, ULONG NumDirtyRects)
|
||||||
{
|
{
|
||||||
|
PAGED_CODE();
|
||||||
LONG maxHeight = 0;
|
LONG maxHeight = 0;
|
||||||
if (Moves != NULL) {
|
if (Moves != NULL) {
|
||||||
for (UINT i = 0; i < NumMoves; i++) {
|
for (UINT i = 0; i < NumMoves; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user