aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/userboot/test
Commit message (Collapse)AuthorAgeFilesLines
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-143-506/+0
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=325834
* Use proper include file. While <boot/userboot/userboot.h> works, itWarner Losh2017-11-131-1/+1
| | | | | | | | | | | | only works because we have -Isys on the command line. We also have -Isys/boot/userboot on the command line, so bring it in directly with <userboot.h>. No functional change, but it removes one hard to see dependency on the boot loader's location in sys/boot. Sponsored by: Netflix Notes: svn path=/head/; revision=325748
* Install the 4th files in sys/boot/forth instead of each loaderWarner Losh2017-11-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Also, move generation of loader.help into loader.mk. Set HELP_FILES= to disable this (so we only install one help file, for now). At the same time remove some duplicate -I lines. Fix several FILES= and CLEANFILES= into the += form since we're touching both of those in the .mk files. Make sure we only build one loader.help file per platform in a unified way (we were building many on some, with the last to install winning, though often they were the same text). Also, we're now installing loader.rc and menu.rc everywhere. arm and mips uboot installed these as menu.rc.sample, but there's no need since the loader.rc for those platforms doesn't do menu.rc processing by default. pcibios.4th is now installed everywhere, but will failsafe on non x86 platforms (it isn't loaded by default anywhere). These changes are too intertwined to do separately since aspects of each are required to have a bug-free commit. Sponsored by: Netflix Notes: svn path=/head/; revision=325694
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Use defs.mk values for userbootWarner Losh2017-10-301-3/+3
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=325170
* Cleanup unnecessary semicolons from the kernel.Pedro F. Giffuni2016-04-101-1/+1
| | | | | | | Found with devel/coccinelle. Notes: svn path=/head/; revision=297793
* Make it possible to specify the path to userboot.so with the -b flag.Juli Mallett2016-01-141-4/+8
| | | | | | | Reviewed by: neel Notes: svn path=/head/; revision=294047
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2016-01-071-1/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=293345
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2015-12-071-0/+1
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291972
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+18
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* copyin/copyout should return 0 if they are truly emulating copyin/copyout ↵Sean Bruno2014-07-221-2/+5
| | | | | | | | | | | behavior. remove stray %s in printf rewrite printf to display 64bit type without warning. Notes: svn path=/head/; revision=268978
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Use MK_SSP=no after including bsd.own.mk to disable SSP instead of user-knobBryan Drewery2013-09-291-1/+1
| | | | | | | | | | | | | | | | | | WITH[OUT]_SSP to avoid hitting an error if user has WITH_SSP in their make.conf. Ports now use this knob. make[7]: "/usr/src/share/mk/bsd.own.mk" line 466: WITH_SSP and WITHOUT_SSP can't both be set. This is similar to previous cleanup done in r188895 Approved by: bapt Reviewed by: jlh (earlier version) Approved by: re (marius) MFC after: 1 week Notes: svn path=/head/; revision=255944
* Add a callback function to userboot.so to fetch a list of environmentNeel Natu2012-11-121-1/+15
| | | | | | | | | variables and pass them to the kernel. Reviewed by: dfr Notes: svn path=/head/; revision=242935
* Replace all references to loader_callbacks_v1 with loader_callbacks.Andrey V. Elsukov2012-10-031-2/+2
| | | | | | | Suggested by: grehan@ Notes: svn path=/head/; revision=241164
* Bump USERBOOT_VERSION.Andrey V. Elsukov2012-08-051-1/+1
| | | | | | | Requested by: dfr Notes: svn path=/head/; revision=239073
* Introduce new API to work with disks from the loader's drivers.Andrey V. Elsukov2012-08-051-0/+26
| | | | | | | | | | It uses new API from the part.c to work with partition tables. Update userboot's disk driver to use new API. Note that struct loader_callbacks_v1 has changed. Notes: svn path=/head/; revision=239058
* Add a version of the FreeBSD bootloader which can run in userland, packagedDoug Rabson2011-06-302-0/+443
as a shared library. This is intended to be used by BHyVe to load FreeBSD kernels into new virtual machines. Notes: svn path=/head/; revision=223695