diff options
| author | mrg <mrg@NetBSD.org> | 2021-05-17 08:50:36 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2021-05-17 08:50:36 +0000 |
| commit | 4a1c505c3aa01c4085b1bdc1943f01b32f74686f (patch) | |
| tree | 0d9476e7c683b787419e0b7842856654b9b20245 /build.sh | |
| parent | 03d5e513598dab88a575ee4f59a0e37083a6c8ef (diff) | |
move bi-endian disklabel support from the kernel and libsa into libkern.
- dkcksum() and dkcksum_sized() move from subr_disk.c and from
libsa into libkern/dkcksum.c (which is missing _sized() version),
using the version from usr.sbin/disklabel.
- swap_disklabel() moves from subr_disk_mbr.c into libkern, now called
disklabel_swap(). (the sh3 version should be updated to use this.)
- DISKLABEL_EI becomes a first-class option with opt_disklabel.h.
- add libkern.h to libsa/disklabel.c.
this enables future work for bi-endian libsa/ufs.c (relevant for ffsv1,
ffsv2, lfsv1, and lfsv2), as well as making it possible for ports not
using subr_disk_mbr.c to include bi-endian disklabel support (which,
afaict, includes any disk on mbr-supporting platforms that do not have
an mbr as well as disklabel.)
builds successsfully on: alpha, i386, amd64, sun2, sun3, evbarm64,
evbarm64-eb, sparc, and sparc64. tested in anita on i386 and sparc,
testing in hardware on evbarm64*.
Diffstat (limited to 'build.sh')
0 files changed, 0 insertions, 0 deletions
