diff options
Diffstat (limited to 'shared-core/via_verifier.c')
-rw-r--r-- | shared-core/via_verifier.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/via_verifier.c b/shared-core/via_verifier.c index 5b1f30a7..07923b0c 100644 --- a/shared-core/via_verifier.c +++ b/shared-core/via_verifier.c @@ -732,6 +732,10 @@ verify_mmio_address( uint32_t address) DRM_ERROR("Invalid VIDEO DMA command. " "Attempt to access 3D- or command burst area.\n"); return 1; + } else if ((address > 0xCFF) && (address < 0x1300)) { + DRM_ERROR("Invalid VIDEO DMA command. " + "Attempt to access PCI DMA area.\n"); + return 1; } else if (address > 0x13FF ) { DRM_ERROR("Invalid VIDEO DMA command. " "Attempt to access VGA registers.\n"); |