Files
linux-kernel-module-cheat/baremetal/arch/aarch64/add.S
Ciro Santilli 六四事件 法轮功 5391bc1bfd Get rid of lkmc_assert_fail in favor of abort + assert
What was missing previously was implementing abort in baremetal.

I had done that previously and forgotten to do this conversion!
2019-05-21 00:00:00 +00:00

14 lines
184 B
ArmAsm

.global main
main:
/* 1 + 2 == 3 */
mov x0, 1
/* test-gdb-op1 */
add x1, x0, 2
/* test-gdb-result */
cmp x1, 3
beq 1f
bl abort
1:
mov x0, 0
ret