Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
stand: For all disk drivers, connect dv_parsedev to disk_parsedevSponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D37339
stand: Add disk_fmtdev for dv_fmtdev for all the disk devicesAll of the archsw fmtdev functions treat DEVT_DISK as a call todisk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformatwill r
stand: Add disk_fmtdev for dv_fmtdev for all the disk devicesAll of the archsw fmtdev functions treat DEVT_DISK as a call todisk_fmtdev. Set all disks' dv_fmtdev to disk_fmtdev so devformatwill return the same thing.Sponsored by: NetflixReviewed by: tsoome (prior version)Differential Revision: https://reviews.freebsd.org/D35917
show more ...
mips: remove saf1761The saf1761 OTG support was only for mips targets (BERI?). Retire it.Sponsored by: NetflixReviewed by: brooksDifferential Revision: https://reviews.freebsd.org/D33706
stand: remove mips supportAs part of decommissioning mips support, remove the boot loadersupport. Do this in advance of other boot loader work to limit theamount of work that will be thrown away.
stand: remove mips supportAs part of decommissioning mips support, remove the boot loadersupport. Do this in advance of other boot loader work to limit theamount of work that will be thrown away.Sponsored by: NetflixReviewed by: jrtc27Differential Revision: https://reviews.freebsd.org/D33377
Fix build of stand/usb .MFC after: 1 weekSponsored by: Mellanox Technologies
Distinguish between "no partition" and "choose best partition" with a constant.The values of the d_slice and d_partition fields of a disk_devdesc have afew values with special meanings in the disk
Distinguish between "no partition" and "choose best partition" with a constant.The values of the d_slice and d_partition fields of a disk_devdesc have afew values with special meanings in the disk_open() routine. Through variousevolutions of the loader code over time, a d_partition value of -1 hasmeant both "use the first ufs partition found in the bsd label" and "don'topen a bsd partition at all, open the raw slice."This defines a new special value of -2 to mean open the raw slice, and itgives symbolic names to all the special values used in d_slice andd_partition, and adjusts all existing uses of those fields to use the newconstants.The phab review for this timed out without being accepted, but I'm stillciting it below because there is useful commentary there.Differential Revision: https://reviews.freebsd.org/D19262
Move the stand/usb test loader into its own directory.Fix its Makefile to build correctly.MFC after: 1 weekSponsored by: Mellanox Technologies
Fix relative location of USB sources after recent move.MFC after: 1 weekSponsored by: Mellanox Technologies
Centralize several variables.MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always thesame, so set them in defs.mk. MAN= is common, so set it here too.This removes a lot of boring repeti
Centralize several variables.MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always thesame, 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 addedalmost no value.
Move some more common stuff up to Makefile.inc. In particular, the nosimd / no float stuff is centeralized here. Also centralise-ffreestanding since it is specified everywhere.This, along with a
Move some more common stuff up to Makefile.inc. In particular, the nosimd / 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-avx2in CFLAGS_NO_SIMD should fix building for newer machines (eg withCPUTYPE=haswell) where clang was generating avx2 instructions.Sponsored by: Netflix
Move sys/boot to stand. Fix all references to new locationSponsored by: Netflix