Removing debug prints from entry routine. After stacks are set up correctly, this is better handled in C.

This commit is contained in:
Imbus 2025-06-26 04:25:37 +02:00
parent bdf4228a18
commit ca71791440

14
entry.S
View file

@ -6,20 +6,6 @@ _entry:
call _clear
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.
la sp, stack0
li a0, 1024*4 # a0 = 4096