freebsd-skq/stand
ian 97b17432b4 Add a validbcd() routine that uses the bcd2bin_data[] array and returns a
bool indicating whether the input value represents a valid BCD byte.

The existing bcd2bin() routine will KASSERT if asked to convert a bad value,
but sometimes the kernel has to handle BCD data from untrusted sources, so
this will provide a mechanism to validate data before attempting conversion.

This would be have easier/cleaner if the bcd2bin_data[] array contained an
out-of-range value (such as 0xff) in the infill locations that aren't valid,
but it's a global symbol that might be referenced by out-of-tree code
relying on the current scheme, so I'm leaving that alone.
2017-12-31 22:43:24 +00:00
..
arm Move loader help file definitions to being 100% inside of loader.mk. 2017-12-18 04:51:34 +00:00
arm64
common Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
efi stand/fdt: Consistently apply fdt_overlays 2017-12-29 18:08:30 +00:00
fdt stand/fdt: Make fdt_overlay_apply signature-compatible with libfdt 2017-12-31 05:22:26 +00:00
ficl Revert r326855: Cargo cut a fix for the regressions r326585 caused. 2017-12-14 18:57:17 +00:00
ficl32
forth
geli No need to include the userland md5.h, the kernel one is just fine. 2017-12-05 21:37:45 +00:00
i386 No need to use relative paths like this here. 2017-12-19 04:06:07 +00:00
kshim
libsa Add a validbcd() routine that uses the bcd2bin_data[] array and returns a 2017-12-31 22:43:24 +00:00
libsa32
man
mips Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
ofw Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
powerpc Garbage-collect loader.ps3. It is currently disconnected from the build and 2017-12-30 20:27:13 +00:00
sparc64 Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
uboot stand/fdt: Consistently apply fdt_overlays 2017-12-29 18:08:30 +00:00
usb
userboot Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
zfs32
defs.mk Fix ubldr. uboot/lib uses defines for the loader. It's part of the 2017-12-29 18:08:35 +00:00
fdt.mk
ficl.mk This path belongs in ficl/Makefile, not the common defines for users 2017-12-08 22:19:41 +00:00
loader.mk Fix ubldr. uboot/lib uses defines for the loader. It's part of the 2017-12-29 18:08:35 +00:00
Makefile
Makefile.amd64 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
Makefile.mips
Makefile.powerpc
Makefile.sparc64
uboot.mk