[edk2-devel] [staging/RISC-V-V2]: Need to bump opensbi submodule to get sbi_hfence.S etc.
Rebecca Cran
rebecca at bsdio.com
Mon Feb 10 00:11:06 UTC 2020
On 2020-02-09 12:07, Rebecca Cran wrote:
> I recently got a HiFive Unleashed board, and am interested in trying out
> RISCV EDK2 firmware either on it or in Qemu.
>
> It looks like the opensbi submodule in
> edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi needs updated
> though: the commit currently used -
> be92da280d87c38a2e0adc5d3f43bab7b5468f09 - is missing files such as
> sbi_hfence.S mentioned in
> RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf .
After updating the opensbi submodule to master, I now get a compile error:
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:
In function 'sbi_ecall_find_extension':
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:11:
error: implicit declaration of function 'container_of'
[-Werror=implicit-function-declaration]
sbi_list_for_each_entry(t, &ecall_exts_list, head) {
^~~~~~~~~~~~
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:50:
error: expected expression before 'typeof'
sbi_list_for_each_entry(t, &ecall_exts_list, head) {
^~~~
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:132:
error: expected expression before 'typeof'
sbi_list_for_each_entry(t, &ecall_exts_list, head) {
^
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:
In function 'sbi_ecall_unregister_extension':
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:64:50:
error: expected expression before 'typeof'
sbi_list_for_each_entry(t, &ecall_exts_list, head) {
^~~~
/home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:64:132:
error: expected expression before 'typeof'
sbi_list_for_each_entry(t, &ecall_exts_list, head) {
^
cc1: all warnings being treated as errors
--
Rebecca Cran
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#54145): https://edk2.groups.io/g/devel/message/54145
Mute This Topic: https://groups.io/mt/71125320/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list