<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot/common/interp_forth.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2017-11-14T23:02:19Z</updated>
<entry>
<title>Move sys/boot to stand. Fix all references to new location</title>
<updated>2017-11-14T23:02:19Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-11-14T23:02:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ca987d4641cdcd7f27e153db17c5bf064934faf5'/>
<id>urn:sha1:ca987d4641cdcd7f27e153db17c5bf064934faf5</id>
<content type='text'>
Sponsored by:	Netflix
</content>
</entry>
<entry>
<title>Reduce boot loader version string duplication</title>
<updated>2016-12-18T13:57:23Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-12-18T13:57:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0bf23e313efc69325d447dfe7909a7703cd6d0a8'/>
<id>urn:sha1:0bf23e313efc69325d447dfe7909a7703cd6d0a8</id>
<content type='text'>
Instead of repeating "%s, Revision %s" "(%s %s)" in each loader, just
create the full version string in vers.c

Reviewed by:	bapt
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8823
</content>
</entry>
<entry>
<title>Remove fetching of pInterp. Currently, there's no actual effect other</title>
<updated>2016-10-14T16:23:05Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2016-10-14T16:23:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f36f940494ec8e3df5a51d5789bf777f45bf651b'/>
<id>urn:sha1:f36f940494ec8e3df5a51d5789bf777f45bf651b</id>
<content type='text'>
than to store the location of a forth word that is subsequently never
used. It was last used before the 2.03 ficl upgrade in r51786. It was
only used from r43614 (so Feb-Sept 1999) on head and in the 3.x branch
(merged r43715 3.1 -&gt; EOL). Remove it since nobody cared enough to
report the bug in the last 18 years rather than fix it. It's need
seems to have passed in the 2.03 ficl update.

Differential Revision: https://reviews.freebsd.org/D8150
</content>
</entry>
<entry>
<title>loader command interpreter should reset command_errmsg</title>
<updated>2016-09-27T20:40:44Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2016-09-27T20:40:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=92a85eb9d767e97489bd423ee3a55bd58f961575'/>
<id>urn:sha1:92a85eb9d767e97489bd423ee3a55bd58f961575</id>
<content type='text'>
The command interpreter does leave command_errmsg as is after printing its
content, assuming the next command will reset it in bf_command(). However,
in case the forth native word is defined as builtin, the bf_command is not
used and forth words will also end up the command_errmsg content printed.

Since command_errmsg is pointer to actual error message, which can be static
read only string, we can not just set *command_errmsg = '\0', instead we need
to reset the pointer itself.

Illumos issue: https://www.illumos.org/issues/7405

Reported by: Igor Kozhukhov.
Reviewed by:	allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D8032
</content>
</entry>
<entry>
<title>sys/boot/common: use of spaces vs. TAB.</title>
<updated>2016-05-12T01:19:11Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-12T01:19:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e17f981b0084495991f61e5b083f070dd5ca4c9'/>
<id>urn:sha1:3e17f981b0084495991f61e5b083f070dd5ca4c9</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>Improve non-interactive forth cmd error reporting</title>
<updated>2016-01-13T18:33:12Z</updated>
<author>
<name>Steven Hartland</name>
<email>smh@FreeBSD.org</email>
</author>
<published>2016-01-13T18:33:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4b09a8fdbc9ed6158674cf8a44425c65c02433b4'/>
<id>urn:sha1:4b09a8fdbc9ed6158674cf8a44425c65c02433b4</id>
<content type='text'>
Non-interactive forth command errors where silent even for critical issues
e.g. failing to load a required kernel module or mfs_root.

This resulted in later unexplained and hard to trace errors such as mount
root failures.

This introduces additional command return codes that are treated
appropriately by the non-interactive command processor (bf_command).
* CMD_CRIT = print error
* CMD_FATAL = panic

Also fix minor style(9) issues with command_load return codes.

MFC after:	2 weeks
X-MFC-With:	r293268
Sponsored by:	Multiplay
</content>
</entry>
<entry>
<title>Give loaders more control over the Forth initialization process. In</title>
<updated>2014-07-27T16:12:51Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2014-07-27T16:12:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7fe0b4f160aaf30b588d5fd6ceae82d7305c675b'/>
<id>urn:sha1:7fe0b4f160aaf30b588d5fd6ceae82d7305c675b</id>
<content type='text'>
particular, allow loaders to define the name of the RC script the
interpreter needs to use. Use this new-found control to have the
PXE loader (when compiled with TFTP support and not NFS support)
read from ${bootfile}.4th, where ${bootfile} is the name of the
file fetched by the PXE firmware.

The normal startup process involves reading the following files:
1.  /boot/boot.4th
2.  /boot/loader.rc or alternatively /boot/boot.conf

When these come from a FreeBSD-defined file system, this is all
good. But when we boot over the network, subdirectories and fixed
file names are often painful to administrators and there's really
no way for them to change the behaviour of the loader.

Obtained from:	Juniper Networks, Inc.
</content>
</entry>
<entry>
<title>Bring in some userboot changes from the bhyve branch to reduce diffs.</title>
<updated>2013-01-08T03:27:37Z</updated>
<author>
<name>Peter Grehan</name>
<email>grehan@FreeBSD.org</email>
</author>
<published>2013-01-08T03:27:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fc1ae0bc4295bf19a4fe4dda24938bd3f81591a6'/>
<id>urn:sha1:fc1ae0bc4295bf19a4fe4dda24938bd3f81591a6</id>
<content type='text'>
r238966
  Bump up the heap size to 1MB. With a few kernel modules, libstand
  zalloc and userboot seem to want to use ~600KB of heap space, which
  results in a segfault when malloc fails in bhyveload.

r241180
  Clarify comment about default number of FICL dictionary cells.

r241153
  Allow the number of FICL dictionary cells to be overridden.
  Loading a 7.3 ISO with userboot/amd64 takes up 10035 cells,
  overflowing the long-standing default of 10000.

  Bump userboot's value up to 15000 cells.

Reviewed by:	dteske (r238966,241180)
Obtained from:	NetApp
</content>
</entry>
<entry>
<title>Fix loader crash when some unhalted exception happens during `include`</title>
<updated>2012-10-26T16:32:20Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2012-10-26T16:32:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f7203ece6dd8a605034401e194bb15f875379078'/>
<id>urn:sha1:f7203ece6dd8a605034401e194bb15f875379078</id>
<content type='text'>
command execution.  In case of such unhandled exception, vmReset() inside
ficlExecC() flushes the VM state.  Attempt to return back to Forth after
that cause garbage dereference with unexpected results.  To avoid that
situation call vmThrow() directly instead of expecting Forth to do it.
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-25T23:30:41Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-25T23:30:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1809be3cd462d071c04e67a2648af4ed71925153'/>
<id>urn:sha1:1809be3cd462d071c04e67a2648af4ed71925153</id>
<content type='text'>
Also some minor style cleanups.
</content>
</entry>
</feed>
