[libcpu/riscv/virt64] fix (#5979) (#7040)

This commit is contained in:
zilong 2023-03-11 12:34:14 +08:00 committed by GitHub
parent 23786ee481
commit 50e1f6327d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,10 @@
#include <encoding.h>
#include <cpuport.h>
boot_hartid: .int
.global boot_hartid
.data
.global boot_hartid /* global varible rt_boot_hartid in .data section */
boot_hartid:
.word 0xdeadbeef
.global _start
.section ".start", "ax"