aboutsummaryrefslogtreecommitdiff
path: root/stand/usb
Commit message (Collapse)AuthorAgeFilesLines
* Distinguish between "no partition" and "choose best partition" with a constant.Ian Lepore2019-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | The values of the d_slice and d_partition fields of a disk_devdesc have a few values with special meanings in the disk_open() routine. Through various evolutions of the loader code over time, a d_partition value of -1 has meant both "use the first ufs partition found in the bsd label" and "don't open a bsd partition at all, open the raw slice." This defines a new special value of -2 to mean open the raw slice, and it gives symbolic names to all the special values used in d_slice and d_partition, and adjusts all existing uses of those fields to use the new constants. The phab review for this timed out without being accepted, but I'm still citing it below because there is useful commentary there. Differential Revision: https://reviews.freebsd.org/D19262 Notes: svn path=/head/; revision=345477
* Move the stand/usb test loader into its own directory.Hans Petter Selasky2018-02-072-5/+9
| | | | | | | | | | Fix its Makefile to build correctly. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=328990
* Fix relative location of USB sources after recent move.Hans Petter Selasky2018-02-071-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=328986
* Centralize several variables.Warner Losh2018-02-021-1/+0
| | | | | | | | | | MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the same, so set them in defs.mk. MAN= is common, so set it here too. This removes a lot of boring repetition from the Makefiles that added almost no value. Notes: svn path=/head/; revision=328769
* Move some more common stuff up to Makefile.inc. In particular, the noWarner Losh2017-11-202-9/+0
| | | | | | | | | | | | | | simd / no float stuff is centeralized here. Also centralise -ffreestanding since it is specified everywhere. This, along with a change to share/mk/bsd.cpu.mk to include -mno-avx2 in CFLAGS_NO_SIMD should fix building for newer machines (eg with CPUTYPE=haswell) where clang was generating avx2 instructions. Sponsored by: Netflix Notes: svn path=/head/; revision=326038
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-1410-0/+1725
Sponsored by: Netflix Notes: svn path=/head/; revision=325834