PROMREBOOT(2spp) RISC/os Reference Manual PROMREBOOT(2spp)
NAME
prom_reboot - reboot system as indicated by bootmode
SYNOPSIS
#include <prom/entrypt.h>
#define RVEC 0xbfc00000
promreboot()
DESCRIPTION
Prom_reboot reboots the system as indicated by the PROM
environment variable $bootmode , unlike prom_autoboot .
prom_reboot will not perform warm starts if bootmode is 'w',
but instead forces a cold start.
EXAMPLE
The following example shows how prom_reboot is typically
used.
li v0, PROM_REBOOT
jal v0
SEE ALSO
prom_reset(2spp), prom_restart(2spp), prom_reinit(2spp),
prom_autoboot(2spp)
Printed 1/6/92 Page 1