-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let lr be initialized when the machine is initialized (#394)
* Let lr be initialized when the machine is initialized * Fixed arm64v8/rust to v1.71 * Fixed arm64v8/rust to v1.71-bookworm * Fix yaml syntax * Remove duplicate assignments * Add --platform linux/arm64 for docker run * Remove unused comments
- Loading branch information
Showing
7 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.global _start | ||
_start: | ||
la a0, n0 # a0 holds address of memory location n0 | ||
sc.d a3, a2, (a0) | ||
beqz a3, fail # sc.d must fail | ||
done: | ||
li a0, 0 | ||
li a7, 93 | ||
ecall | ||
fail: | ||
li a0, 1 | ||
li a7, 93 | ||
ecall | ||
.section .data | ||
n0: | ||
.dword 4 # Initialize to 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SECTIONS | ||
{ | ||
. = 0x100b0; | ||
.text : { *(.text) } | ||
. = 0x11000; | ||
.data : { *(.data) } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters