Home | History | Annotate | Download | only in libkern
History log of /src/sys/lib/libkern/disklabel_swap.c
RevisionDateAuthorComments
 1.1  17-May-2021  mrg branches: 1.1.2; 1.1.6;
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*.
 1.1.6.2  17-Jun-2021  thorpej Sync w/ HEAD.
 1.1.6.1  17-May-2021  thorpej file disklabel_swap.c was added on branch thorpej-i2c-spi-conf on 2021-06-17 04:46:33 +0000
 1.1.2.2  31-May-2021  cjep sync with head
 1.1.2.1  17-May-2021  cjep file disklabel_swap.c was added on branch cjep_staticlib_x on 2021-05-31 22:15:20 +0000

RSS XML Feed