Changeset 85718 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg
- Timestamp:
- Aug 12, 2020 4:09:12 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139865
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 1 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-133213 /vendor/edk2/current 103735-103757,103769-103776,129194-139864
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
r80721 r85718 1 1 /** @file 2 Timer Architectural Protocol module using High Prec esion Event Timer (HPET)2 Timer Architectural Protocol module using High Precision Event Timer (HPET) 3 3 4 4 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> … … 247 247 Write a 64-bit HPET register. 248 248 249 @param Offset Specifies the of sfert of the HPET register to write.249 @param Offset Specifies the offset of the HPET register to write. 250 250 @param Value Specifies the value to write to the HPET register specified by Offset. 251 251 … … 531 531 // 532 532 533 if (mTimerConfiguration.Bits.MsiInterruptCapab lity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {533 if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) { 534 534 // 535 535 // Disable HPET MSI interrupt generation … … 577 577 // Enable HPET Timer interrupt generation 578 578 // 579 if (mTimerConfiguration.Bits.MsiInterruptCapab lity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {579 if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) { 580 580 // 581 581 // Program MSI Address and MSI Data values in the selected HPET Timer … … 835 835 // Check to see if this HPET Timer supports MSI 836 836 // 837 if (mTimerConfiguration.Bits.MsiInterruptCapab lity != 0) {837 if (mTimerConfiguration.Bits.MsiInterruptCapability != 0) { 838 838 // 839 839 // Save the index of the first HPET Timer that supports MSI interrupts … … 960 960 // 961 961 DEBUG_CODE ( 962 if (mTimerConfiguration.Bits.MsiInterruptCapab lity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {962 if (mTimerConfiguration.Bits.MsiInterruptCapability != 0 && FeaturePcdGet (PcdHpetMsiEnable)) { 963 963 DEBUG ((DEBUG_INFO, "HPET Interrupt Mode MSI\n")); 964 964 } else { -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
r80721 r85718 1 1 ## @file 2 # Timer Architectural Protocol module using High Prec esion Event Timer (HPET).2 # Timer Architectural Protocol module using High Precision Event Timer (HPET). 3 3 # 4 4 # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.uni
r80721 r85718 1 1 // /** @file 2 // Timer Architectural Protocol module using High Prec esion Event Timer (HPET).2 // Timer Architectural Protocol module using High Precision Event Timer (HPET). 3 3 // 4 4 // Timer Architectural Protocol module using High Precision Event Timer (HPET). -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Include/Library/IoApicLib.h
r80721 r85718 64 64 65 65 Configure an I/O APIC Redirection Table Entry to deliver an interrupt in physical 66 mode to the Local APIC of the curr ntly executing CPU. The default state of the66 mode to the Local APIC of the currently executing CPU. The default state of the 67 67 entry is for the interrupt to be disabled (masked). IoApicEnableInterrupts() must 68 68 be used to enable(unmask) the I/O APIC Interrupt. -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Include/Register/Hpet.h
r80721 r85718 71 71 UINT32 InterruptEnable:1; 72 72 UINT32 PeriodicInterruptEnable:1; 73 UINT32 PeriodicInterruptCapab lity:1;74 UINT32 CounterSizeCapab lity:1;73 UINT32 PeriodicInterruptCapability:1; 74 UINT32 CounterSizeCapability:1; 75 75 UINT32 ValueSetEnable:1; 76 76 UINT32 Reserved1:1; … … 78 78 UINT32 InterruptRoute:5; 79 79 UINT32 MsiInterruptEnable:1; 80 UINT32 MsiInterruptCapab lity:1;80 UINT32 MsiInterruptCapability:1; 81 81 UINT32 Reserved2:16; 82 82 UINT32 InterruptRouteCapability; -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c
r80721 r85718 60 60 // 61 61 // 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 theACPI registers62 // no PCI register programming is required to enable access to the ACPI registers 63 63 // specified by PcdAcpiIoPortBaseAddress 64 64 // -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/BaseIoApicLib/IoApicLib.c
r80721 r85718 95 95 96 96 Configure an I/O APIC Redirection Table Entry to deliver an interrupt in physical 97 mode to the Local APIC of the curr ntly executing CPU. The default state of the97 mode to the Local APIC of the currently executing CPU. The default state of the 98 98 entry is for the interrupt to be disabled (masked). IoApicEnableInterrupts() must 99 99 be used to enable(unmask) the I/O APIC Interrupt. -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c
r80721 r85718 67 67 68 68 /** 69 Calling this function causes the system to enter a power state for capsule70 update.71 72 Reset update should not return, if it returns, it means the system does73 not support capsule update.74 75 **/76 VOID77 EFIAPI78 EnterS3WithImmediateWake (79 VOID80 )81 {82 ASSERT (FALSE);83 }84 85 /**86 69 This function causes a systemwide reset. The exact type of the reset is 87 70 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 59 59 60 60 @retval RETURN_SUCCESS The serial device was initialized. 61 @retval RETURN_DEVICE_ERROR The ser ail device could not be initialized.61 @retval RETURN_DEVICE_ERROR The serial device could not be initialized. 62 62 63 63 **/ … … 140 140 while ((NumberOfBytes--) != 0) { 141 141 // 142 // Wait for the ser ail port to be ready.142 // Wait for the serial port to be ready. 143 143 // 144 144 do { … … 181 181 while ((NumberOfBytes--) != 0) { 182 182 // 183 // Wait for the ser ail port to be ready.183 // Wait for the serial port to be ready. 184 184 // 185 185 do { … … 196 196 Polls a serial device to see if there is any data waiting to be read. 197 197 198 Polls a serial 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. 199 199 If there is data waiting to be read from the serial device, then TRUE is returned. 200 200 If there is no data waiting to be read from the serial device, then FALSE is returned. … … 340 340 341 341 /** 342 Sets the baud rate, receive FIFO depth, transmit/recei ce time out, parity,342 Sets the baud rate, receive FIFO depth, transmit/receive time out, parity, 343 343 data bits, and stop bits on a serial device. 344 344 … … 346 346 device's default interface speed. 347 347 On output, the value actually set. 348 @param Re veiveFifoDepth The requested depth of the FIFO on the receive side of the348 @param ReceiveFifoDepth The requested depth of the FIFO on the receive side of the 349 349 serial interface. A ReceiveFifoDepth value of 0 will use 350 350 the device's default FIFO depth. … … 359 359 On output, the value actually set. 360 360 @param DataBits The number of data bits to use on the serial device. A DataBits 361 va ule of 0 will use the device's default data bit setting.361 value of 0 will use the device's default data bit setting. 362 362 On output, the value actually set. 363 363 @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 5 5 # PcAt defacto standard. 6 6 # 7 # Copyright (c) 2009 - 201 8, Intel Corporation. All rights reserved.<BR>7 # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR> 8 8 # Copyright (c) 2017, AMD Inc. All rights reserved.<BR> 9 9 # … … 51 51 gPcAtChipsetPkgTokenSpaceGuid.PcdHpetLocalApicVector|0x40|UINT8|0x0000000A 52 52 53 ## This PCD specifies the defau t period of the HPET Timer in 100 ns units.53 ## This PCD specifies the default period of the HPET Timer in 100 ns units. 54 54 # The default value of 100000 100 ns units is the same as 10 ms. 55 55 # @Prompt Default period of HPET timer. … … 139 139 gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F 140 140 141 ## RTC Update Timeout Value(microsecond). 142 # @Prompt RTC Update Timeout Value. 143 gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00000020 144 141 145 [UserExtensions.TianoCore."ExtraFiles"] 142 146 PcAtChipsetPkgExtra.uni -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcAtChipsetPkg.uni
r80721 r85718 116 116 #string STR_gPcAtChipsetPkgTokenSpaceGuid_PcdRtcTargetRegister_PROMPT #language en-US "RTC Target Register address" 117 117 #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 1052 1052 1053 1053 /** 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. 1057 1057 If data mode of RTC is BCD, then converts EFI_TIME to it. 1058 1058 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 111 111 UINT8 Af : 1; // Alarm Interrupt Flag 112 112 UINT8 Pf : 1; // Periodic Interrupt Flag 113 UINT8 Irqf : 1; // I terrupt Request Flag = PF & PIE | AF & AIE | UF & UIE113 UINT8 Irqf : 1; // Interrupt Request Flag = PF & PIE | AF & AIE | UF & UIE 114 114 } RTC_REGISTER_C_BITS; 115 115 … … 235 235 The user Entry Point for PcRTC module. 236 236 237 This is the entr hy point for PcRTC module. It installs the UEFI runtime service237 This is the entry point for PcRTC module. It installs the UEFI runtime service 238 238 including GetTime(),SetTime(),GetWakeupTime(),and SetWakeupTime(). 239 239 … … 267 267 268 268 /** 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. 272 272 If data mode of RTC is BCD, then converts EFI_TIME to it. 273 273 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 109 109 The user Entry Point for PcRTC module. 110 110 111 This is the entr hy point for PcRTC module. It installs the UEFI runtime service111 This is the entry point for PcRTC module. It installs the UEFI runtime service 112 112 including GetTime(),SetTime(),GetWakeupTime(),and SetWakeupTime(). 113 113 -
trunk/src/VBox/Devices/EFI/FirmwareNew/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
r80721 r85718 5 5 # It will install a tagging protocol with gEfiRealTimeClockArchProtocolGuid. 6 6 # 7 # Copyright (c) 2006 - 201 8, Intel Corporation. All rights reserved.<BR>7 # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> 8 8 # Copyright (c) 2017, AMD Inc. All rights reserved.<BR> 9 9 # … … 34 34 [Packages] 35 35 MdePkg/MdePkg.dec 36 MdeModulePkg/MdeModulePkg.dec37 36 PcAtChipsetPkg/PcAtChipsetPkg.dec 38 37 … … 69 68 70 69 [Pcd] 71 g EfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout## CONSUMES70 gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES 72 71 gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear ## CONSUMES 73 72 gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear ## CONSUMES
Note:
See TracChangeset
for help on using the changeset viewer.