[SLOF] [PATCH 2/5] base: Move huge-tftp-load variable to obp-tftp package

Thomas Huth thuth at redhat.com
Fri Apr 29 17:01:17 AEST 2016


The huge-tftp-load variable is only needed by the obp-tftp
package, so it should reside there, not in base.fs

Signed-off-by: Thomas Huth <thuth at redhat.com>
---
 slof/fs/base.fs              | 2 --
 slof/fs/packages/obp-tftp.fs | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/slof/fs/base.fs b/slof/fs/base.fs
index 5eb0008..e30311c 100644
--- a/slof/fs/base.fs
+++ b/slof/fs/base.fs
@@ -26,8 +26,6 @@
 \ Words missing in *.in files
 VARIABLE mask -1 mask !
 
-VARIABLE huge-tftp-load 1 huge-tftp-load !
-
 : default-hw-exception s" Exception #" type . ;
 
 ' default-hw-exception to hw-exception-handler
diff --git a/slof/fs/packages/obp-tftp.fs b/slof/fs/packages/obp-tftp.fs
index 89143a6..047c9b6 100644
--- a/slof/fs/packages/obp-tftp.fs
+++ b/slof/fs/packages/obp-tftp.fs
@@ -12,6 +12,8 @@
 
 s" obp-tftp" device-name
 
+VARIABLE huge-tftp-load 1 huge-tftp-load !
+
 INSTANCE VARIABLE ciregs-buffer
 
 : open ( -- okay? ) 
-- 
1.8.3.1



More information about the SLOF mailing list