These patches, in conjunction with the corresponding QEMU patch, implement the power-off word for SPARC32 and SPARC64. For SPARC64 we also implement the SUNW,power-off CIF service which is used by most OSs to power down the machine.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Mark Cave-Ayland (5): admin: add power.fs with initial dummy power-off implementation SPARC32: implement power-off word SPARC64: add power device under the ebus device SPARC64: implement power-off word ciface.fs: implement SUNW,power-off service
arch/sparc64/openbios.c | 27 +++++++++++++++++++++++++++ drivers/obio.c | 10 ++++++++++ drivers/pci.c | 34 ++++++++++++++++++++++++++++++++++ forth/admin/build.xml | 1 + forth/admin/power.fs | 9 +++++++++ forth/system/ciface.fs | 8 ++++++++ 6 files changed, 89 insertions(+) create mode 100644 forth/admin/power.fs