/* shutdown. */
movl $SYSCALL_RESET, %eax
- pushl $haltmsg
+ pushl $0
pushl $(RESET_POWEROFF|RESET_HALT|RESET_NOSYNC)
pushl $0
int $SYSCALL_INT
message:
.ascii "Boot Test Passed Successfully\n" SUCCESSFUL_BOOT_STRING "\n"
messageend:
-haltmsg:
- .ascii "Machine halted"
- .byte 0
devfstype:
.ascii "tmpfs"
.byte 0
/* shutdown. */
movq $SYSCALL_RESET, %rax
movq $(RESET_POWEROFF|RESET_HALT|RESET_NOSYNC), %rdi
- movq $haltmsg, %rsi
+ movq $0, %rsi
syscall
/* exit (1). Shouldn't be reached. */
message:
.ascii "Boot Test Passed Successfully\n" SUCCESSFUL_BOOT_STRING "\n"
messageend:
-haltmsg:
- .ascii "Machine halted"
- .byte 0
devfstype:
.ascii "tmpfs"
.byte 0