freebsd-nq/stand/i386/libi386
Ian Lepore 14243f8de7 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 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
2019-03-24 18:51:52 +00:00
..
amd64_tramp.S
bio.c Add Copyright. 2018-12-30 15:34:12 +00:00
biosacpi.c
biosdisk.c Distinguish between "no partition" and "choose best partition" with a constant. 2019-03-24 18:51:52 +00:00
biosmem.c Add Dell Chromebook to the list of devices with E820 extmem quirk enabled 2019-01-14 01:30:48 +00:00
biospci.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
biospnp.c
biossmap.c
bootinfo32.c loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk 2018-11-30 08:01:11 +00:00
bootinfo64.c
bootinfo.c
comconsole.c
devicename.c i386_parsedev() needs to support fd devices 2019-01-02 20:31:15 +00:00
elf32_freebsd.c
elf64_freebsd.c
i386_copy.c
i386_module.c
libi386.h loader: create bio_alloc and bio_free for bios bounce buffer 2018-12-30 09:35:47 +00:00
Makefile loader: create bio_alloc and bio_free for bios bounce buffer 2018-12-30 09:35:47 +00:00
Makefile.depend
multiboot_tramp.S
multiboot.c
multiboot.h
nullconsole.c
pread.c
pxe.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
pxe.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
pxetramp.S
relocater_tramp.S
smbios.c
smbios.h
spinconsole.c
time.c
vidconsole.c