summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/GIMDev/GIMDev.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-10-21 18:12:53 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2021-10-21 18:12:53 +0000
commit9698c4cf0649aab81cacffe8193bd880380ef302 (patch)
tree94374acacbdeb32dcf0bad84f842dbfa2492b991 /src/VBox/Devices/GIMDev/GIMDev.cpp
parent032cb5ba901e43ea2eed295a0221039b3a0ea511 (diff)
downloadVirtualBox-svn-9698c4cf0649aab81cacffe8193bd880380ef302.tar.gz
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
Diffstat (limited to 'src/VBox/Devices/GIMDev/GIMDev.cpp')
-rw-r--r--src/VBox/Devices/GIMDev/GIMDev.cpp3
1 files changed, 1 insertions, 2 deletions
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)
{