Pass NULL as second argument to netbsd reboot syscall
This commit is contained in:
parent
b5b6745c87
commit
69a30a6e8e
2 changed files with 2 additions and 8 deletions
|
@ -78,7 +78,7 @@ _start:
|
|||
|
||||
/* shutdown. */
|
||||
movl $SYSCALL_RESET, %eax
|
||||
pushl $haltmsg
|
||||
pushl $0
|
||||
pushl $(RESET_POWEROFF|RESET_HALT|RESET_NOSYNC)
|
||||
pushl $0
|
||||
int $SYSCALL_INT
|
||||
|
@ -107,9 +107,6 @@ device:
|
|||
message:
|
||||
.ascii "Boot Test Passed Successfully\n" SUCCESSFUL_BOOT_STRING "\n"
|
||||
messageend:
|
||||
haltmsg:
|
||||
.ascii "Machine halted"
|
||||
.byte 0
|
||||
devfstype:
|
||||
.ascii "tmpfs"
|
||||
.byte 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue