VirtualBox

Ignore:
Timestamp:
Mar 12, 2019 12:40:12 PM (6 years ago)
Author:
vboxsync
Message:

EFI: First step in UDK2018 merge. Does not build yet.

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Include/Guid/SmmVariableCommon.h

    r58466 r77662  
    22  The file defined some common structures used for communicating between SMM variable module and SMM variable wrapper module.
    33
    4 Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
     4Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
    55This program and the accompanying materials are licensed and made available under
    66the terms and conditions of the BSD License that accompanies this distribution.
     
    1515#ifndef _SMM_VARIABLE_COMMON_H_
    1616#define _SMM_VARIABLE_COMMON_H_
     17
     18#include <Protocol/VarCheck.h>
    1719
    1820#define EFI_SMM_VARIABLE_WRITE_GUID \
     
    6668#define SMM_VARIABLE_FUNCTION_LOCK_VARIABLE           8
    6769
     70#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_SET  9
     71
     72#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_GET  10
     73
     74#define SMM_VARIABLE_FUNCTION_GET_PAYLOAD_SIZE        11
     75
    6876///
    6977/// Size of SMM communicate header, without including the payload.
     
    108116typedef SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME SMM_VARIABLE_COMMUNICATE_LOCK_VARIABLE;
    109117
     118typedef struct {
     119  EFI_GUID                      Guid;
     120  UINTN                         NameSize;
     121  VAR_CHECK_VARIABLE_PROPERTY   VariableProperty;
     122  CHAR16                        Name[1];
     123} SMM_VARIABLE_COMMUNICATE_VAR_CHECK_VARIABLE_PROPERTY;
     124
     125typedef struct {
     126  UINTN                         VariablePayloadSize;
     127} SMM_VARIABLE_COMMUNICATE_GET_PAYLOAD_SIZE;
     128
    110129#endif // _SMM_VARIABLE_COMMON_H_
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