Skip to content

Commit

Permalink
Merge pull request #350 from pulp-platform/x-in-bootrom
Browse files Browse the repository at this point in the history
X in bootrom
  • Loading branch information
bluewww authored Nov 3, 2022
2 parents 604c22e + 23b40db commit 1045d39
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions boot/boot_code_asic.objdump
Original file line number Diff line number Diff line change
Expand Up @@ -1617,8 +1617,8 @@ default_handler:
1a00103a: 0291 addi t0,t0,4
bltu t0, t1, 1b
1a00103c: fe62ede3 bltu t0,t1,1a001036 <_start+0x20>
lw a0, 0(sp) /* a0 = argc */
1a001040: 4502 lw a0,0(sp)
li a0, 0 /* a0 = argc */
1a001040: 4501 li a0,0
addi a1, sp, __SIZEOF_POINTER__ /* a1 = argv */
1a001042: 004c addi a1,sp,4
li a2, 0 /* a2 = envp = NULL */
Expand Down
4 changes: 2 additions & 2 deletions boot/boot_code_fpga.objdump
Original file line number Diff line number Diff line change
Expand Up @@ -1617,8 +1617,8 @@ default_handler:
1a00103a: 0291 addi t0,t0,4
bltu t0, t1, 1b
1a00103c: fe62ede3 bltu t0,t1,1a001036 <_start+0x20>
lw a0, 0(sp) /* a0 = argc */
1a001040: 4502 lw a0,0(sp)
li a0, 0 /* a0 = argc */
1a001040: 4501 li a0,0
addi a1, sp, __SIZEOF_POINTER__ /* a1 = argv */
1a001042: 004c addi a1,sp,4
li a2, 0 /* a2 = envp = NULL */
Expand Down
2 changes: 1 addition & 1 deletion boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ _start:
/* TODO: load data from ROM */

/* call main */
lw a0, 0(sp) /* a0 = argc */
li a0, 0 /* a0 = argc */
addi a1, sp, __SIZEOF_POINTER__ /* a1 = argv */
li a2, 0 /* a2 = envp = NULL */
call main
Expand Down
2 changes: 1 addition & 1 deletion sim/boot/boot_code.cde
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@
10100000001000111101100011100011
00000010100100010000000000000010
11111110011000101110110111100011
00000000010011000100010100000010
00000000010011000100010100000001
00100000100001010100011000000001
11011010010011111111000001101111
10000101100000101000000100110010
Expand Down

0 comments on commit 1045d39

Please sign in to comment.