- Timestamp:
- Jan 17, 2025 3:09:27 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 167047
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/NvramStoreImpl.cpp
r107575 r107849 485 485 { 486 486 /** @todo The size is hardcoded to match what the firmware image uses right now which is a gross hack... */ 487 vrc = RTVfsFileSetSize(hVfsUefiVarStore, 540672, RTVFSFILE_SIZE_F_NORMAL); 487 uint64_t cbUefi = m->pParent->i_getPlatform()->i_getArchitecture() == PlatformArchitecture_ARM ? 786432 : 540672; 488 vrc = RTVfsFileSetSize(hVfsUefiVarStore, cbUefi, RTVFSFILE_SIZE_F_NORMAL); 488 489 if (RT_SUCCESS(vrc)) 489 490 m->mapNvram["efi/nvram"] = hVfsUefiVarStore;
Note:
See TracChangeset
for help on using the changeset viewer.