VirtualBox

Changeset 91498 in vbox for trunk


Ignore:
Timestamp:
Sep 30, 2021 11:35:08 AM (3 years ago)
Author:
vboxsync
Message:

Main/NvramStore,Runtime/efivarstorevfs: Some fixes to the nvram initialization, bugref:9580

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/efi-fv.h

    r90061 r91498  
    9494typedef const EFI_FW_BLOCK_MAP *PCEFI_FW_BLOCK_MAP;
    9595
     96
     97/**
     98 * Fault tolerant working block header.
     99 */
     100typedef struct EFI_FTW_BLOCK_HEADER
     101{
     102    /** GUID identifying the FTW block header. */
     103    EFI_GUID        GuidSignature;
     104    /** The checksum. */
     105    uint32_t        u32Chksum;
     106    /** Flags marking the working block area as valid/invalid. */
     107    uint32_t        fWorkingBlockValid;
     108    /** Size of the write queue. */
     109    uint64_t        cbWriteQueue;
     110} EFI_FTW_BLOCK_HEADER;
     111/** Pointer to a fault tolerant working block header. */
     112typedef EFI_FTW_BLOCK_HEADER *PEFI_FTW_BLOCK_HEADER;
     113/** Pointer to a const fault tolerant working block header. */
     114typedef const EFI_FTW_BLOCK_HEADER *PCEFI_FTW_BLOCK_HEADER;
     115
     116/** The signature for the working block header. */
     117#define EFI_WORKING_BLOCK_SIGNATURE_GUID \
     118    { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65,  0x0, 0xfd, 0x9f, 0x1b, 0x95 }}
     119
    96120#endif /* !IPRT_INCLUDED_formats_efi_fv_h */
    97121
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