Unaligned load: Remove debugging variables
This commit is contained in:
parent
e3b24df043
commit
7f338e66cb
1 changed files with 2 additions and 21 deletions
|
@ -245,22 +245,6 @@ UserSyscallHandler:
|
||||||
rfe
|
rfe
|
||||||
|
|
||||||
|
|
||||||
.section .bss
|
|
||||||
.global LoadStoreErrorFlag
|
|
||||||
.align 4
|
|
||||||
LoadStoreErrorFlag:
|
|
||||||
.long 0
|
|
||||||
.long 0
|
|
||||||
.long 0
|
|
||||||
.long 0
|
|
||||||
|
|
||||||
.section .data
|
|
||||||
.align 4
|
|
||||||
PRINT_ADDR:
|
|
||||||
.string "0x%08lx '%c'\r\n"
|
|
||||||
PRINT_MULTI:
|
|
||||||
.string "a3=0x%08lx a4=0x%08lx a5=0x%08lx a6=0x%08lx a7=0x%08lx\r\n"
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.section .vecbase.text
|
.section .vecbase.text
|
||||||
.literal_position
|
.literal_position
|
||||||
|
@ -295,11 +279,8 @@ UserLoadStoreExceptionHandler:
|
||||||
movi a4, 0x009002 /* l16si opcode after masking */
|
movi a4, 0x009002 /* l16si opcode after masking */
|
||||||
beq a3, a4, .Lcan_fix_16bit_signed
|
beq a3, a4, .Lcan_fix_16bit_signed
|
||||||
.Lcant_fix:
|
.Lcant_fix:
|
||||||
/* not an l8ui or an l16ui, or not in the instruction space, so bomb out
|
/* not an opcode we can try to fix, so bomb out
|
||||||
TODO: the exception dump will have some wrong values in it */
|
TODO: the exception dump will have some wrong values in it */
|
||||||
movi a2, PRINT_ADDR
|
|
||||||
movi a3, 0xafafafaf
|
|
||||||
call0 printf
|
|
||||||
call0 sdk_user_fatal_exception_handler
|
call0 sdk_user_fatal_exception_handler
|
||||||
|
|
||||||
.Lcan_fix_16bit_signed:
|
.Lcan_fix_16bit_signed:
|
||||||
|
|
Loading…
Reference in a new issue