VirtualBox

Ignore:
Timestamp:
Aug 14, 2024 1:16:30 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164367
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/DriverSampleDxe/DriverSample.c

    r99404 r105670  
    859859  @retval EFI_NOT_FOUND          Routing data doesn't match any storage in this
    860860                                 driver.
     861  @retval EFI_DEVICE_ERROR       If value is 44, return error for testing.
    861862
    862863**/
     
    10641065  if (EFI_ERROR (Status)) {
    10651066    return Status;
     1067  }
     1068
     1069  if (PrivateData->Configuration.QuestionApply == 44) {
     1070    // Return error for verify the error handling of caller.
     1071    return EFI_DEVICE_ERROR;
    10661072  }
    10671073
     
    16001606          break;
    16011607
     1608        case 0x1253:
     1609          //
     1610          // User change the value of "Question apply test".
     1611          //
     1612          *ActionRequest = EFI_BROWSER_ACTION_REQUEST_QUESTION_APPLY;
     1613          break;
     1614
    16021615        case 0x1231:
    16031616          //
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h

    r99404 r105670  
    9696  UINT8                QuestionXUefiKeywordRestStyle;
    9797  UINT8                QuestionNonXUefiKeywordRestStyle;
     98  UINT8                QuestionApply;
    9899} DRIVER_SAMPLE_CONFIGURATION;
    99100
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr

    r89983 r105670  
    514514    endnumeric;
    515515
     516    numeric varid   = MyIfrNVData.QuestionApply,
     517            questionid = 0x1253,
     518            prompt  = STRING_TOKEN(STR_QUESTION_APPLY_TEST_PROMPT),
     519            help    = STRING_TOKEN(STR_QUESTION_APPLY_TEST_HELP),
     520            flags   = INTERACTIVE,
     521            minimum = 0,
     522            maximum = 255,
     523            default = 19,
     524    endnumeric;
     525
    516526    text
    517527      help  = STRING_TOKEN(STR_POPUP_TEST_HELP),
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/DriverSampleDxe/VfrStrings.uni

    r89983 r105670  
    270270#string STR_SUBMITTED_CALLBACK_TEST_HELP             #language en-US "Change the value and press F10 to submit will pop up a dialogue to show SUBMITTED Callback has been triggered"
    271271                                                     #language fr-FR "Change the value and press F10 to submit will pop up a dialogue to show SUBMITTED Callback has been triggered"
     272#string STR_QUESTION_APPLY_TEST_PROMPT               #language en-US "Question apply test"
     273                                                     #language fr-FR "Question apply test"
     274#string STR_QUESTION_APPLY_TEST_HELP                 #language en-US "Change the value and it will be applied automaticlly. If set to 44, then return failed."
     275                                                     #language fr-FR "Change the value and it will be applied automaticlly. If set to 44, then return failed."
    272276#string STR_POPUP_TEST_PROMPT                        #language en-US "Select it to invoke Hii Popup Protocol"
    273277                                                     #language fr-FR "Select it to invoke Hii Popup Protocol"
Note: See TracChangeset for help on using the changeset viewer.

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