[Cbe-oss-dev] kboot updates
Geoff Levand
geoffrey.levand at am.sony.com
Tue Mar 4 07:35:34 EST 2008
Scott D. Davilla wrote:
> Also how is the shutdown sequence done. kexec tries to run
> "/sbin/shutdown", "etc/shutdown" or "/bin/shutdown". Yet, I don't see
> these in the ps3 kboot distro. So how does kexec work under the ps3?
Sorry, I'm not familiar with how kboot works, but for kexec on ps3 I use
'kexec -e', which I see does a reboot syscall:
static inline long kexec_reboot(void)
{
return (long) syscall(__NR_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_KEXEC, 0);
}
-Geoff
More information about the cbe-oss-dev
mailing list