freebsd-dev/stand/libsa
Warner Losh d1ea501714 stand: Separate base and cli parts of nvstore
zfs lives in libsa. However, it depends on nvstore (and other things)
that are in common. Fix part of this layering violation by splitting
nvstore into a libsa piece (which is the base implementation) and
keeping a much smaller common piece (to implement the nvstore
command). This just leaves zfs' knowledge of device names that's
specific to common and its calling platform specific init code to
resolve. Add a nvstore.h file for these two parts to communicate private
things and move the public nvstore api from bootstrap.h to stand.h.

Sponsored by:		Netflix
Reviewed by:		tsoome, kevans
Differential Revision:	https://reviews.freebsd.org/D38043
2023-01-13 14:22:38 -07:00
..
amd64 libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
geli stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
i386 libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
powerpc libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
x86
zfs stand/zfs: Add a third argument to zfs_probe_dev: part_too 2023-01-08 09:45:11 -07:00
__main.c
abort.c
arp.c libsa/arp.c: Change printf format string 2022-09-29 12:51:14 +02:00
assert.c
bcd.c
bootp.c stand: use snprintf here 2022-08-03 11:24:38 -06:00
bootp.h
bootparam.c
bootparam.h
bzipfs.c stand: Use c99 structure initialization for bzipfs_fsops 2022-07-24 16:53:35 -06:00
cd9660.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
cd9660read.c
close.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
closeall.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
crc32_libkern.c
dev.c stand: Move dev_cleanup into libsa 2023-01-11 15:15:14 -07:00
dosfs.c stand: Unbreak FAT32 in loader 2022-09-08 02:16:34 +02:00
dosfs.h
environment.c
ether.c
ext2fs.c stand: Use c99 structure initialization for ext2fs_fsops 2022-07-24 16:53:35 -06:00
fstat.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
getopt.c
gets.c
globals.c
gpt.c stand: Nuke double-semicolons 2022-11-02 09:34:54 -06:00
gpt.h
gzipfs.c stand: Use c99 structure initialization for gzipfs_fsops 2022-07-24 16:53:35 -06:00
hexdump.c
in_cksum.c ANSIify libsa functions 2021-11-18 22:43:02 -07:00
inet_ntoa.c ANSIify libsa functions 2021-11-18 22:43:02 -07:00
ioctl.c stand: Make ioctl declaration consistent 2022-12-12 21:46:34 -07:00
iodesc.h loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
ip.c
libsa.3 stand: Add dv_match 2022-11-30 15:30:33 -07:00
lseek.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
Makefile stand: Separate base and cli parts of nvstore 2023-01-13 14:22:38 -07:00
Makefile.depend
mount.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
net.c loader: ip: Do not call getsecs so much 2021-12-16 11:50:36 +01:00
net.h loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
netif.c libsa/netif.c: Replace #if with #ifdef 2022-09-29 12:52:02 +02:00
netif.h
nfs.c stand: Use c99 structure initialization for nfs_fsops 2022-07-24 16:53:35 -06:00
nfsv2.h
nullfs.c
nvstore.c stand: Separate base and cli parts of nvstore 2023-01-13 14:22:38 -07:00
nvstore.h stand: Separate base and cli parts of nvstore 2023-01-13 14:22:38 -07:00
open.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
pager.c
panic.c
pkgfs.c stand: Use c99 structure initialization for pkgfs_fsops 2022-07-24 16:53:35 -06:00
preload.c loader: Add preload operation to fs_ops 2021-12-16 11:50:38 +01:00
printf.c loader printf: Profile with TSLOG 2021-09-24 20:23:49 -07:00
random.c
rarp.c libsa/rarp.c: Change casted type and printf format 2022-09-29 12:51:14 +02:00
read.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
readdir.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
smbios.c stand: Parse BIOS revision from SMBIOS 2022-09-02 13:10:32 +02:00
smbios.h
splitfs.c stand: Use c99 structure initialization for splitfs_fsops 2022-07-24 16:53:35 -06:00
stand.h stand: Separate base and cli parts of nvstore 2023-01-13 14:22:38 -07:00
stat.c ANSIify libsa functions 2021-11-18 22:43:02 -07:00
strcasecmp.c ANSIify libsa functions 2021-11-18 22:43:02 -07:00
strdup.c ANSIify libsa functions 2021-11-18 22:43:02 -07:00
strerror.c
tftp.c stand: tftp.c doesn't need bootinfo.h 2022-07-27 09:04:13 -06:00
tftp.h
time.c
tslog.c loader tslog: Don't use sprintf 2021-09-24 20:23:37 -07:00
twiddle.c loader: Set twiddle globaldiv to 16 by default 2021-09-28 15:24:02 -07:00
udp.c
ufs.c stand: Search less agressively for UFS super block 2022-08-18 06:41:11 -06:00
ufsread.c
uuid_from_string.c
uuid_to_string.c
write.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
xlocale_private.h
zalloc_defs.h stand: remove mips support 2021-12-10 11:05:31 -07:00
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c stand: Fix a common typo in source code comments 2022-06-05 09:49:51 +02:00