Removing debug prints from entry routine. After stacks are set up correctly, this is better handled in C.
This commit is contained in:
parent
bdf4228a18
commit
ca71791440
1 changed files with 0 additions and 14 deletions
14
entry.S
14
entry.S
|
@ -6,20 +6,6 @@ _entry:
|
||||||
call _clear
|
call _clear
|
||||||
|
|
||||||
continue:
|
continue:
|
||||||
li t0, 0x10000000 # UART base address
|
|
||||||
li t1, 'E' # Character to print
|
|
||||||
sb t1, 0(t0)
|
|
||||||
li t1, 'n'
|
|
||||||
sb t1, 0(t0)
|
|
||||||
li t1, 't'
|
|
||||||
sb t1, 0(t0)
|
|
||||||
li t1, 'r'
|
|
||||||
sb t1, 0(t0)
|
|
||||||
li t1, 'y'
|
|
||||||
sb t1, 0(t0)
|
|
||||||
li t1, '\n'
|
|
||||||
sb t1, 0(t0)
|
|
||||||
|
|
||||||
# Set up a stack for C.
|
# Set up a stack for C.
|
||||||
la sp, stack0
|
la sp, stack0
|
||||||
li a0, 1024*4 # a0 = 4096
|
li a0, 1024*4 # a0 = 4096
|
||||||
|
|
Loading…
Add table
Reference in a new issue