VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 4:09:12 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139865
Message:

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
1 added
16 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c

    r80721 r85718  
    11/** @file
    2   Timer Architectural Protocol module using High Precesion Event Timer (HPET)
     2  Timer Architectural Protocol module using High Precision Event Timer (HPET)
    33
    44  Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
     
    247247  Write a 64-bit HPET register.
    248248
    249   @param  Offset  Specifies the ofsfert of the HPET register to write.
     249  @param  Offset  Specifies the offset of the HPET register to write.
    250250  @param  Value   Specifies the value to write to the HPET register specified by Offset.
    251251
     
    531531    //
    532532
    533     if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
     533    if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
    534534      //
    535535      // Disable HPET MSI interrupt generation
     
    577577    // Enable HPET Timer interrupt generation
    578578    //
    579     if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
     579    if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
    580580      //
    581581      // Program MSI Address and MSI Data values in the selected HPET Timer
     
    835835    // Check to see if this HPET Timer supports MSI
    836836    //
    837     if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0) {
     837    if (mTimerConfiguration.Bits.MsiInterruptCapability != 0) {
    838838      //
    839839      // Save the index of the first HPET Timer that supports MSI interrupts
     
    960960  //
    961961  DEBUG_CODE (
    962     if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
     962    if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
    963963      DEBUG ((DEBUG_INFO, "HPET Interrupt Mode MSI\n"));
    964964    } else {
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf

    r80721 r85718  
    11## @file
    2 # Timer Architectural Protocol module using High Precesion Event Timer (HPET).
     2# Timer Architectural Protocol module using High Precision Event Timer (HPET).
    33#
    44# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.uni

    r80721 r85718  
    11// /** @file
    2 // Timer Architectural Protocol module using High Precesion Event Timer (HPET).
     2// Timer Architectural Protocol module using High Precision Event Timer (HPET).
    33//
    44// Timer Architectural Protocol module using High Precision Event Timer (HPET).
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Include/Library/IoApicLib.h

    r80721 r85718  
    6464
    6565  Configure an I/O APIC Redirection Table Entry to deliver an interrupt in physical
    66   mode to the Local APIC of the currntly executing CPU.  The default state of the
     66  mode to the Local APIC of the currently executing CPU.  The default state of the
    6767  entry is for the interrupt to be disabled (masked).  IoApicEnableInterrupts() must
    6868  be used to enable(unmask) the I/O APIC Interrupt.
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Include/Register/Hpet.h

    r80721 r85718  
    7171    UINT32  InterruptEnable:1;
    7272    UINT32  PeriodicInterruptEnable:1;
    73     UINT32  PeriodicInterruptCapablity:1;
    74     UINT32  CounterSizeCapablity:1;
     73    UINT32  PeriodicInterruptCapability:1;
     74    UINT32  CounterSizeCapability:1;
    7575    UINT32  ValueSetEnable:1;
    7676    UINT32  Reserved1:1;
     
    7878    UINT32  InterruptRoute:5;
    7979    UINT32  MsiInterruptEnable:1;
    80     UINT32  MsiInterruptCapablity:1;
     80    UINT32  MsiInterruptCapability:1;
    8181    UINT32  Reserved2:16;
    8282    UINT32  InterruptRouteCapability;
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c

    r80721 r85718  
    6060  //
    6161  // If the register offset to the BAR for the ACPI I/O Port Base Address is 0x0000, then
    62   // no PCI register programming is required to enable access to the the ACPI registers
     62  // no PCI register programming is required to enable access to the ACPI registers
    6363  // specified by PcdAcpiIoPortBaseAddress
    6464  //
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/BaseIoApicLib/IoApicLib.c

    r80721 r85718  
    9595
    9696  Configure an I/O APIC Redirection Table Entry to deliver an interrupt in physical
    97   mode to the Local APIC of the currntly executing CPU.  The default state of the
     97  mode to the Local APIC of the currently executing CPU.  The default state of the
    9898  entry is for the interrupt to be disabled (masked).  IoApicEnableInterrupts() must
    9999  be used to enable(unmask) the I/O APIC Interrupt.
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c

    r80721 r85718  
    6767
    6868/**
    69   Calling this function causes the system to enter a power state for capsule
    70   update.
    71 
    72   Reset update should not return, if it returns, it means the system does
    73   not support capsule update.
    74 
    75 **/
    76 VOID
    77 EFIAPI
    78 EnterS3WithImmediateWake (
    79   VOID
    80   )
    81 {
    82   ASSERT (FALSE);
    83 }
    84 
    85 /**
    8669  This function causes a systemwide reset. The exact type of the reset is
    8770  defined by the EFI_GUID that follows the Null-terminated Unicode string passed
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c

    r80721 r85718  
    5959
    6060  @retval RETURN_SUCCESS        The serial device was initialized.
    61   @retval RETURN_DEVICE_ERROR   The serail device could not be initialized.
     61  @retval RETURN_DEVICE_ERROR   The serial device could not be initialized.
    6262
    6363**/
     
    140140  while ((NumberOfBytes--) != 0) {
    141141    //
    142     // Wait for the serail port to be ready.
     142    // Wait for the serial port to be ready.
    143143    //
    144144    do {
     
    181181  while ((NumberOfBytes--) != 0) {
    182182    //
    183     // Wait for the serail port to be ready.
     183    // Wait for the serial port to be ready.
    184184    //
    185185    do {
     
    196196  Polls a serial device to see if there is any data waiting to be read.
    197197
    198   Polls aserial device to see if there is any data waiting to be read.
     198  Polls a serial device to see if there is any data waiting to be read.
    199199  If there is data waiting to be read from the serial device, then TRUE is returned.
    200200  If there is no data waiting to be read from the serial device, then FALSE is returned.
     
    340340
    341341/**
    342   Sets the baud rate, receive FIFO depth, transmit/receice time out, parity,
     342  Sets the baud rate, receive FIFO depth, transmit/receive time out, parity,
    343343  data bits, and stop bits on a serial device.
    344344
     
    346346                            device's default interface speed.
    347347                            On output, the value actually set.
    348   @param ReveiveFifoDepth   The requested depth of the FIFO on the receive side of the
     348  @param ReceiveFifoDepth   The requested depth of the FIFO on the receive side of the
    349349                            serial interface. A ReceiveFifoDepth value of 0 will use
    350350                            the device's default FIFO depth.
     
    359359                            On output, the value actually set.
    360360  @param DataBits           The number of data bits to use on the serial device. A DataBits
    361                             vaule of 0 will use the device's default data bit setting.
     361                            value of 0 will use the device's default data bit setting.
    362362                            On output, the value actually set.
    363363  @param StopBits           The number of stop bits to use on this serial device. A StopBits
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcAtChipsetPkg.dec

    r80721 r85718  
    55# PcAt defacto standard.
    66#
    7 # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
     7# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
    88# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
    99#
     
    5151  gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A
    5252
    53   ## This PCD specifies the defaut period of the HPET Timer in 100 ns units.
     53  ## This PCD specifies the default period of the HPET Timer in 100 ns units.
    5454  #  The default value of 100000 100 ns units is the same as 10 ms.
    5555  # @Prompt Default period of HPET timer.
     
    139139  gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F
    140140
     141  ## RTC Update Timeout Value(microsecond).
     142  # @Prompt RTC Update Timeout Value.
     143  gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00000020
     144
    141145[UserExtensions.TianoCore."ExtraFiles"]
    142146  PcAtChipsetPkgExtra.uni
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcAtChipsetPkg.uni

    r80721 r85718  
    116116#string STR_gPcAtChipsetPkgTokenSpaceGuid_PcdRtcTargetRegister_PROMPT         #language en-US "RTC Target Register address"
    117117#string STR_gPcAtChipsetPkgTokenSpaceGuid_PcdRtcTargetRegister_HELP           #language en-US "Specifies RTC Target Register address in I/O space."
     118
     119#string STR_gPcAtChipsetPkgTokenSpaceGuid_PcdRealTimeClockUpdateTimeout_PROMPT #language en-US "RTC Update Timeout Value"
     120#string STR_gPcAtChipsetPkgTokenSpaceGuid_PcdRealTimeClockUpdateTimeout_HELP   #language en-US "RTC Update Timeout Value(microsecond)."
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c

    r80721 r85718  
    10521052
    10531053/**
    1054   Converts time from EFI_TIME format defined by UEFI spec to RTC's.
    1055 
    1056   This function converts time from EFI_TIME format defined by UEFI spec to RTC's.
     1054  Converts time from EFI_TIME format defined by UEFI spec to RTC format.
     1055
     1056  This function converts time from EFI_TIME format defined by UEFI spec to RTC format.
    10571057  If data mode of RTC is BCD, then converts EFI_TIME to it.
    10581058  If RTC is in 12-hour format, then converts EFI_TIME to it.
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h

    r80721 r85718  
    111111  UINT8 Af : 1;       // Alarm Interrupt Flag
    112112  UINT8 Pf : 1;       // Periodic Interrupt Flag
    113   UINT8 Irqf : 1;     // Iterrupt Request Flag = PF & PIE | AF & AIE | UF & UIE
     113  UINT8 Irqf : 1;     // Interrupt Request Flag = PF & PIE | AF & AIE | UF & UIE
    114114} RTC_REGISTER_C_BITS;
    115115
     
    235235  The user Entry Point for PcRTC module.
    236236
    237   This is the entrhy point for PcRTC module. It installs the UEFI runtime service
     237  This is the entry point for PcRTC module. It installs the UEFI runtime service
    238238  including GetTime(),SetTime(),GetWakeupTime(),and SetWakeupTime().
    239239
     
    267267
    268268/**
    269   Converts time from EFI_TIME format defined by UEFI spec to RTC's.
    270 
    271   This function converts time from EFI_TIME format defined by UEFI spec to RTC's.
     269  Converts time from EFI_TIME format defined by UEFI spec to RTC format.
     270
     271  This function converts time from EFI_TIME format defined by UEFI spec to RTC format.
    272272  If data mode of RTC is BCD, then converts EFI_TIME to it.
    273273  If RTC is in 12-hour format, then converts EFI_TIME to it.
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c

    r80721 r85718  
    109109  The user Entry Point for PcRTC module.
    110110
    111   This is the entrhy point for PcRTC module. It installs the UEFI runtime service
     111  This is the entry point for PcRTC module. It installs the UEFI runtime service
    112112  including GetTime(),SetTime(),GetWakeupTime(),and SetWakeupTime().
    113113
  • trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf

    r80721 r85718  
    55# It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid.
    66#
    7 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
     7# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
    88# Copyright (c) 2017, AMD Inc. All rights reserved.<BR>
    99#
     
    3434[Packages]
    3535  MdePkg/MdePkg.dec
    36   MdeModulePkg/MdeModulePkg.dec
    3736  PcAtChipsetPkg/PcAtChipsetPkg.dec
    3837
     
    6968
    7069[Pcd]
    71   gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout  ## CONSUMES
     70  gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout   ## CONSUMES
    7271  gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear             ## CONSUMES
    7372  gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear             ## CONSUMES
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