VirtualBox

Changeset 90064 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 6, 2021 12:51:48 PM (4 years ago)
Author:
vboxsync
Message:

Runtime/RTEfi*: Start of a VFS module to access a EFI variable store stored in the NVRAM file to allow changing the firmware config without having the VM running, bugref:9580 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/efi/efivarstorevfs.cpp

    r90063 r90064  
    10521052            memcpy(&pDirEntry->szName[0], pszName, cbName);
    10531053            pDirEntry->szName[cbName] = '\0';
    1054             pDirEntry->cbName         = cbName;
     1054            pDirEntry->cbName         = (uint16_t)cbName;
    10551055            rc = rtEfiVarStore_QueryInfo(cbObject, fIsDir, &Time, &pDirEntry->Info, enmAddAttr);
    10561056            if (RT_SUCCESS(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette