VirtualBox

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


Ignore:
Timestamp:
Jul 6, 2021 12:50:55 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

    r90061 r90063  
    14041404    if (RT_LE2H_U32(VarHdr.cbName) > sizeof(awchName) - sizeof(RTUTF16))
    14051405        return RTERRINFO_LOG_SET_F(pErrInfo, VERR_VFS_UNSUPPORTED_FORMAT, "Variable name is too long (%llu vs. %llu)\n",
    1406                                    RT_LE2H_U32(VarHdr.cbName), RT_LE2H_U32(VarHdr.cbName), sizeof(awchName));
     1406                                   RT_LE2H_U32(VarHdr.cbName), sizeof(awchName));
    14071407
    14081408    rc = RTVfsFileReadAt(pThis->hVfsBacking, offVar + sizeof(VarHdr), &awchName[0], RT_LE2H_U32(VarHdr.cbName), NULL);
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