From 9698c4cf0649aab81cacffe8193bd880380ef302 Mon Sep 17 00:00:00 2001 From: vboxsync Date: Thu, 21 Oct 2021 18:12:53 +0000 Subject: VMM,GIMDev: Missing PDMDevHlpGIMGetMmio2Regions for ring-0 variant, bugref:10074 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@91980 cfe28804-0f27-0410-a406-dd0f0b0b656f --- src/VBox/Devices/GIMDev/GIMDev.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/VBox/Devices/GIMDev/GIMDev.cpp') diff --git a/src/VBox/Devices/GIMDev/GIMDev.cpp b/src/VBox/Devices/GIMDev/GIMDev.cpp index 407c94c2dd9..a52adc7e5d6 100644 --- a/src/VBox/Devices/GIMDev/GIMDev.cpp +++ b/src/VBox/Devices/GIMDev/GIMDev.cpp @@ -388,9 +388,8 @@ static DECLCALLBACK(int) gimdevRZConstruct(PPDMDEVINS pDevIns) * Map the MMIO2 regions into the context. */ /** @todo r=bird: consider ditching this as GIM doesn't actually make use of it */ - PVMCC pVM = PDMDevHlpGetVM(pDevIns); uint32_t cRegions = 0; - PGIMMMIO2REGION paRegions = GIMGetMmio2Regions(pVM, &cRegions); + PGIMMMIO2REGION paRegions = PDMDevHlpGIMGetMmio2Regions(pDevIns, &cRegions); if ( cRegions && paRegions) { -- cgit v1.2.1