Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/arch/armv8m/boot.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
* PAGE_SIZE.
*/
.section ".boot", "ax"
.thumb
.thumb_func
.globl _reset_handler
_reset_handler:
b _start

.global _rst_vector_table
_rst_vector_table:
.word 0x30000000
.word _start
.rept 13
.word _exception_handler
.endr

.balign PAGE_SIZE
.global _hypercall_start
Expand All @@ -30,6 +33,8 @@ _hypercall_start:
b _hypercall_handler

.balign PAGE_SIZE
.thumb
.thumb_func
.global _start
_start:
/**
Expand Down
2 changes: 1 addition & 1 deletion src/arch/armv8m/exceptions.S
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ _hyp_vector_table:
* reset vector. The reset vector is the address of the reset handler.
*/
.word 0 //TODO:ARMV8M should this be initialized with the real MSP value?
.word _reset_handler
.word _start
.rept 13
.word _exception_handler
.endr
Expand Down
Loading