Changeset 100038 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 1, 2023 6:18:08 PM (20 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r99941 r100038 1168 1168 src-client/MouseImpl.cpp \ 1169 1169 src-client/RemoteUSBDeviceImpl.cpp \ 1170 $(if $(VBOX_WITH_VIRT_ARMV8),src-client/ResourceStoreImpl.cpp,) \ 1170 1171 src-client/SessionImpl.cpp \ 1171 1172 src-client/USBDeviceImpl.cpp \ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r99991 r100038 6518 6518 </interface> 6519 6519 6520 <interface 6521 name="IResourceStore" extends="$unknown" 6522 uuid="d96a2540-8aab-4c71-8af9-95379f23b23d" 6523 wsmap="managed" 6524 > 6525 6526 <desc> 6527 Provides access to resources accessed by various device implementations and created when the VM 6528 is started (only the FDT currently). This is not accessible from anywhere right now but just for 6529 convenience if required later on. 6530 </desc> 6531 6532 <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/> 6533 6534 </interface> 6535 6520 6536 <enum 6521 6537 name="GraphicsControllerType" -
trunk/src/VBox/Main/include/ConsoleImpl.h
r99913 r100038 77 77 class VMPowerDownTask; 78 78 class NvramStore; 79 #ifdef VBOX_WITH_VIRT_ARMV8 80 class ResourceStore; 81 #endif 79 82 80 83 #include <iprt/uuid.h> … … 1014 1017 const ComObjPtr<EmulatedUSB> mEmulatedUSB; 1015 1018 const ComObjPtr<NvramStore> mptrNvramStore; 1019 #ifdef VBOX_WITH_VIRT_ARMV8 1020 const ComObjPtr<ResourceStore> mptrResourceStore; 1021 #endif 1016 1022 1017 1023 USBDeviceList mUSBDevices; -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r99970 r100038 88 88 #include "EmulatedUSBImpl.h" 89 89 #include "NvramStoreImpl.h" 90 #ifdef VBOX_WITH_VIRT_ARMV8 91 # include "ResourceStoreImpl.h" 92 #endif 90 93 #include "StringifyEnums.h" 91 94 … … 558 561 AssertComRCReturnRC(hrc); 559 562 563 #ifdef VBOX_WITH_VIRT_ARMV8 564 unconst(mptrResourceStore).createObject(); 565 hrc = mptrResourceStore->init(this); 566 AssertComRCReturnRC(hrc); 567 #endif 568 560 569 hrc = mMachine->COMGETTER(VRDEServer)(unconst(mVRDEServer).asOutParam()); 561 570 AssertComRCReturnRC(hrc); … … 869 878 870 879 unconst(mVRDEServer).setNull(); 880 881 #ifdef VBOX_WITH_VIRT_ARMV8 882 if (mptrResourceStore) 883 { 884 mptrResourceStore->uninit(); 885 unconst(mptrResourceStore).setNull(); 886 } 887 #endif 871 888 872 889 unconst(mControl).setNull(); … … 11637 11654 } 11638 11655 11656 #ifdef VBOX_WITH_VIRT_ARMV8 11657 if (UuidCopy == COM_IIDOF(IResourceStore)) 11658 { 11659 ResourceStore *pResourceStore = static_cast<ResourceStore *>(pConsole->mptrResourceStore); 11660 return pResourceStore; 11661 } 11662 #endif 11663 11639 11664 if (UuidCopy == VMMDEV_OID) 11640 11665 return pConsole->m_pVMMDev; -
trunk/src/VBox/Main/src-client/VBoxDriversRegister.cpp
r98275 r100038 52 52 #ifdef VBOX_WITH_PCI_PASSTHROUGH 53 53 # include "PCIRawDevImpl.h" 54 #endif 55 #ifdef VBOX_WITH_VIRT_ARMV8 56 # include "ResourceStoreImpl.h" 54 57 #endif 55 58 … … 120 123 return vrc; 121 124 125 #ifdef VBOX_WITH_VIRT_ARMV8 126 vrc = pCallbacks->pfnRegister(pCallbacks, &ResourceStore::DrvReg); 127 if (RT_FAILURE(vrc)) 128 return vrc; 129 #endif 130 122 131 return VINF_SUCCESS; 123 132 }
Note:
See TracChangeset
for help on using the changeset viewer.