platform_ops and platform structures have older entries that don't exist anymore on recent OpenSBI versions, so we can remove them.
Cc: Abner Chang <abner.ch...@hpe.com> Cc: Daniel Schaefer <daniel.schae...@hpe.com> Cc: Gilbert Chen <gilbert.c...@hpe.com> Signed-off-by: Loic Devulder <ldevul...@suse.com> --- .../PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c index e78d811f4c..84b5f5dec8 100644 --- a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c +++ b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c @@ -28,8 +28,7 @@ const struct sbi_platform_operations platform_ops = { .timer_event_stop = NULL, .timer_event_start = NULL, .timer_init = NULL, - .system_reboot = NULL, - .system_shutdown = NULL + .system_reset = NULL }; const struct sbi_platform platform = { @@ -39,6 +38,5 @@ const struct sbi_platform platform = { .features = 0, .hart_count = 0, .hart_stack_size = 0, - .disabled_hart_mask = 0, .platform_ops_addr = 0 }; -- 2.30.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73211): https://edk2.groups.io/g/devel/message/73211 Mute This Topic: https://groups.io/mt/81577303/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-