Message ID | 1461913280-29906-3-git-send-email-thuth@redhat.com |
---|---|
State | Accepted |
Headers | show |
Thomas Huth <thuth@redhat.com> writes: > 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@redhat.com> Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.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 > > _______________________________________________ > SLOF mailing list > SLOF@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/slof
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? )
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@redhat.com> --- slof/fs/base.fs | 2 -- slof/fs/packages/obp-tftp.fs | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)