summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_memset.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-10-03 20:48:11 +0000
committermarcel <marcel@FreeBSD.org>2014-10-03 20:48:11 +0000
commitad936aa7f4c00106fddfb0c8ef0e057b0fdb1a9f (patch)
treeaa30e6160da2363f94c57d30253e149d81bf5f84 /contrib/netbsd-tests/lib/libc/string/t_memset.c
parent5a6c8bb01b9c63a9f82583cd78595b13cc20d4d6 (diff)
downloadFreeBSD-src-ad936aa7f4c00106fddfb0c8ef0e057b0fdb1a9f.zip
FreeBSD-src-ad936aa7f4c00106fddfb0c8ef0e057b0fdb1a9f.tar.gz
Add mkimg_chs() for those schemes that need the LBA broken down into
cylinder, head and track numbers. Return ~0U for these values when mkimg wasn't given both -T and -H (i.e. no geometry) or the cylinder would be larger than the provided maximum. Use mkimgs_chs() for the EBR, MBR and PC98 schemes to fill in the appropriate fields. Make sure to use a "rounded" size so that the partition is always a multiple of the track size. We reserved the room for it in the metadata callback so that's a valid thing to do. Bump the mkimg version number. While doing that again: have mkimg.o depend on the Makefile so that a version change triggers a rebuild as needed.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_memset.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud