summaryrefslogtreecommitdiff
path: root/boards/qemu-virt
diff options
context:
space:
mode:
Diffstat (limited to 'boards/qemu-virt')
-rw-r--r--boards/qemu-virt/qemu-virt.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/boards/qemu-virt/qemu-virt.s b/boards/qemu-virt/qemu-virt.s
index 4813b57..4628564 100644
--- a/boards/qemu-virt/qemu-virt.s
+++ b/boards/qemu-virt/qemu-virt.s
@@ -10,6 +10,9 @@ _start:
# Set up hart0's stack.
la sp, hart0_initial_stack_top
+
+ # Call hart0_boot with the address of the DeviceTree.
+ c.mv a1, a0
call hart0_boot
# Fall through to a spin loop.