Difference between revisions of "/dev/stm/immediate"

From WiiBrew
< /dev‎ | stm
Jump to: navigation, search
m (subject/verb agreement)
m (Needs more work, just a beginning.)
Line 3: Line 3:
 
this handles the shutdown/reset button on the front of the Wii, maybe it handles more.
 
this handles the shutdown/reset button on the front of the Wii, maybe it handles more.
  
+
===Shutdown To Standby===
 
   
 
   
 
  STM_ShutdownToStandby
 
  STM_ShutdownToStandby
Line 10: Line 10:
 
  ios_ioctl( fd, 0x2003, inbuf, 0x20, outbuf, 0x20);
 
  ios_ioctl( fd, 0x2003, inbuf, 0x20, outbuf, 0x20);
  
 +
===Hot Reset===
  
 
  STM_HotReset
 
  STM_HotReset

Revision as of 15:51, 26 March 2008

this handles the shutdown/reset button on the front of the Wii, maybe it handles more.

Shutdown To Standby

STM_ShutdownToStandby
inbuf can(/must?) by empty

ios_ioctl( fd, 0x2003, inbuf, 0x20, outbuf, 0x20);

Hot Reset

STM_HotReset
inbuf can(/must?) by empty

ios_ioctl( fd, 0x2001, inbuf, 0x20, outbuf, 0x20);