Changeset 102513 in vbox
- Timestamp:
- Dec 7, 2023 9:00:42 AM (12 months ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/ArmPlatformPkg/ArmPlatformPkg.dec
r99464 r102513 119 119 [PcdsFixedAtBuild.common,PcdsDynamic.common] 120 120 ## PL031 RealTimeClock 121 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT 32|0x00000024121 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT64|0x00000024 # VBox: Changed from UINT32 to UINT64 122 122 gArmPlatformTokenSpaceGuid.PcdPL031RtcPpmAccuracy|300000000|UINT32|0x00000022 123 123 -
trunk/src/VBox/Devices/EFI/Firmware/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c
r99464 r102513 313 313 314 314 // Initialize RTC Base Address 315 #ifdef VBOX 316 mPL031RtcBase = PcdGet64 (PcdPL031RtcBase); 317 #else 315 318 mPL031RtcBase = PcdGet32 (PcdPL031RtcBase); 319 #endif 316 320 317 321 // Declare the controller as EFI_MEMORY_RUNTIME -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c
r101291 r102513 67 67 68 68 RegBase = SwapBytes64 (Reg[0]); 69 #ifdef VBOX 70 PcdStatus = PcdSet64S (PcdPL031RtcBase, RegBase); 71 #else 69 72 ASSERT (RegBase < MAX_UINT32); 70 73 71 74 PcdStatus = PcdSet32S (PcdPL031RtcBase, (UINT32)RegBase); 75 #endif 72 76 ASSERT_RETURN_ERROR (PcdStatus); 73 77
Note:
See TracChangeset
for help on using the changeset viewer.