[OpenBIOS] [PATCH 0/5] SPARC: implement power-off functionality

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Jan 15 22:04:31 CET 2018


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 at 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

-- 
2.11.0




More information about the OpenBIOS mailing list