1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/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 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
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 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
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 Extend loader(8) geli support to all architectures and all disk-like devices. 2018-07-13 17:50:25 +00:00
bootinfo.c Transition to boot_env_to_howto and boot_howto_to_env in the boot 2018-07-13 16:43:29 +00:00
comconsole.c Invent new #defines for the biospci_{read,write}_config function to 2018-01-06 06:00:45 +00:00
devicename.c i386_parsedev() needs to support fd devices 2019-01-02 20:31:15 +00:00
elf32_freebsd.c
elf64_freebsd.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
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 Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
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 stand/i386/libi386: rename .s file to .S to use Clang IAS 2018-11-26 19:29:18 +00:00
relocater_tramp.S
smbios.c
smbios.h
spinconsole.c
time.c
vidconsole.c loader consoles: Implement SGR 24, 25 2018-03-24 02:01:25 +00:00