freebsd-src/stand/common
Warner Losh 33bbe5ddcb stand: parsedev API change: devspec now points to start of full device name
To support more flexible device matching, we now pass in the full
devspec to the parsedev routines. For everything execpt uboot, this is
just a drop in (since everything except uboot and openfirmware always
uses disk...: and/or zfs:, but openfirmware isn't really affected).

uboot we kludge around it by subtracting 4 from where the rest of the
device name starts. This is unforunate, and can compute the address one
before the string. But we never dereference that address. uboot needs
more work, and this is an acceptable UB until that other work happens.

OFW doesn't really use the parsedev routines these days (since none of
the supported device uses this... yet). It too needs more work, but it
needs device matching support first.

Sponsored by:		Netflix
Reviewed by:		delphij
Differential Revision:	https://reviews.freebsd.org/D37553
2022-11-30 15:30:33 -07:00
..
bcache.c loader: bcache: Fix debug printf 2021-12-16 11:50:43 +01:00
boot.c stand: Remove a double word in a source code comment 2022-04-09 09:27:34 +02:00
bootstrap.h stand: Add interp_has_builtin_cmd to see if we have a command 2022-09-01 11:08:19 -06:00
commands.c stand: Move quit command to common commands 2022-07-30 04:48:35 -06:00
console.c Handle MODULE_VERBOSE_TWIDDLE in module_verbose_set 2022-02-23 21:26:41 -08:00
dev_net.c stand: Use c99 structure initialization for network device 2022-07-24 16:53:34 -06:00
dev_net.h
devopen.c geli: Move check for DEVT_DISK into geli_probe_and_attach 2022-10-22 19:47:24 -06:00
disk.c stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
disk.h stand: Change disk_parsedev() API 2022-11-30 15:30:31 -07:00
gfx_fb.c stand: Nuke double-semicolons 2022-11-02 09:34:54 -06:00
gfx_fb.h loader.efi: to preserve heap space, use AllocatePages() for shadow_fb 2021-12-22 11:39:28 +02:00
gfx_fb_stub.c loader: move all gfx_fb.c stubs to common/gfx_fb_stub.c 2021-12-14 15:27:47 -07:00
help.common loader: implement map-vdisk and unmap-vdisk commands 2019-04-26 17:58:44 +00:00
install.c Fix compilation error for install.c in loader 2020-07-31 16:08:25 +00:00
interp.c stand: Add interp_has_builtin_cmd to see if we have a command 2022-09-01 11:08:19 -06:00
interp_backslash.c Move to tabs for indentation and to 8-space notches, per style(9). 2018-02-08 17:07:27 +00:00
interp_forth.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp_lua.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
interp_parse.c Move to tabs for indentation and to 8-space notches, per style(9). 2018-02-08 17:07:27 +00:00
interp_simple.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
isapnp.c stand: Fix a common typo in source code comments 2022-06-05 09:49:51 +02:00
isapnp.h
load_elf.c loader: fix elf lookup_symbol type filtering 2022-10-13 22:07:52 -05:00
load_elf32.c
load_elf32_obj.c
load_elf64.c
load_elf64_obj.c
load_elf_obj.c Add support for module_verbose 2022-02-13 12:45:57 -08:00
ls.c
Makefile.depend
md.c stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
merge_help.awk
metadata.c stand: fix mismerge 2022-09-16 10:54:04 -06:00
misc.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
modinfo.c stand: collapse all copies of *copyenv into md_copyenv 2022-09-16 09:18:56 -06:00
modinfo.h stand: collapse all copies of *copyenv into md_copyenv 2022-09-16 09:18:56 -06:00
module.c module_verbose should also affect non-ELF modules. 2022-02-14 10:44:46 -08:00
newvers.sh Fix stand/newvers.sh with zsh in sh mode 2020-08-12 15:49:10 +00:00
nvstore.c loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
part.c loader: variable i is unused without MBR/GPT support built in 2020-06-16 07:05:03 +00:00
part.h loader: show APFS partition type name 2019-11-04 12:20:19 +00:00
paths.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
pnp.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
rbx.h
readin.h veloader use vectx API for kernel and modules 2020-03-08 18:48:01 +00:00
reloc_elf.c Reuse the amd64 loader relocation code on arm64 2021-01-20 17:59:38 +00:00
reloc_elf32.c
reloc_elf64.c
self_reloc.c RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
tslog.c stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
vdisk.c stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
zfs_cmd.c loader: zfs_cmd.c does not really compile without libzfs.h 2020-06-16 07:30:34 +00:00