It now handles three different cases:
1) if you have an old disk.. it reads the partition table, and writes the new
image with that.
2) if you are doing a new install, you can build an image w/o the table that
can be dd'd to any PReP boot partition.
3) it works the old way for making netboot or floppy images
Additionally, it now includes libz, and automatically compresses the
kernel image, rather than requiring an external step.
> XXX: #undef SET before including <machine/config_hook.h>, which defines
> SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
> Makes ioconf.c compile again.
reality -- the memory taken by the kernel image should be counted in the
former, but not the latter, as is the case on other ports.
Discussed on port-xen; approved by bouyer@.
original RAIDframe code had the same bug with dag_h being used when
possibly NULL. Use dagList as the starting point for any potential
dag_h's. Move the initialization of dag_h in this part to a
little later. Loop now runs through in equivalent lock-step with the
construction of the dagList earlier in the function.
Addresses Coverity CID 1129 (id=6841 Run 5).
remove IV support from the CRC attack detector, OpenSSH has never used
it - it only applied to IDEA-CFB, which we don't support.
Thanks to deraadt@OpenBSD for looking into this one.
bitshifts instead of calling ldexp() three times.
(for ieee doubles only -- vax can't use it, so the old version
needs to stay around)
This removes the dependency on ldexp() which also didn't participate in
the usual __RENAME game, thus lead to confusion.
In addition, this version is almost 3 times as fast for me.
(not quite a merge actually, just an #ifdef for now)
and build it in the i386 case (amd64 should work, just needs to be tested)
That way, a program linking against libm should get the optimized
version as expected.