Thread (8 messages) flat view 8 messages, 3 authors, 2007-02-07

Re: [PATCH 3/3] PS3: System manager support

From: Geoff Levand <hidden>
Date: 2007-02-07 03:53:36

Michael Ellerman wrote:
quoted
quoted
quoted
+static void ps3_restart(char *cmd)
+{
+	DBG("%s:%d cmd '%s'\n", __func__, __LINE__, cmd);
+
+	smp_send_stop();
+	ps3_sys_manager_restart(); /* never returns */
+}
+
+static void ps3_power_off(void)
+{
+	DBG("%s:%d\n", __func__, __LINE__);
+
+	smp_send_stop();
+	ps3_sys_manager_power_off(); /* never returns */
+}
What happens here when the sys manager stuff is built as a module ?
I don't support it as a module yet.  I'll change the Kconfig.
Yeah OK.

I don't think it really makes sense for it to be a module. 
Well, I was thinking that for multi-platform binaries it would only be
loaded when running on ps3.  I don't need to support unloading though,
since it is needed for proper shutdown.  Anyway, for now I'll just make
it a static module.

-Geoff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help