[Slof] [PATCH 2/5] ci: implement boot client interface
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Mon Jul 6 21:02:38 AEST 2015
IEEE1275 - "Standard for Boot", section 6.3.2.5:
Implements "boot" client interface which will store the bootspec
passed by the client and resets the system. The system comes
back with the settings specified in bootspec.
Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
---
slof/fs/client.fs | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/slof/fs/client.fs b/slof/fs/client.fs
index 1b2bb03..7d537a6 100644
--- a/slof/fs/client.fs
+++ b/slof/fs/client.fs
@@ -282,6 +282,18 @@ ALSO client-voc DEFINITIONS
;
\
+\ Standard for Boot, defined in 6.3.2.5:
+\
+: boot ( zstr -- )
+ zcount
+ debug-client-interface? IF
+ ." ci: boot " 2dup type cr
+ THEN
+ " boot " 2swap $cat " boot-command" $setenv (nvupdate)
+ reset-all
+;
+
+\
\ User Interface, defined in 6.3.2.6
\
: interpret ( ... zstr -- result ... )
--
2.4.3
More information about the SLOF
mailing list