[TESTING]: boot2 changes

Roman Divacky rdivacky at freebsd.org
Mon Feb 28 20:55:15 UTC 2011


hi there,

I have a patch that shrinks boot2 some:

1) it switches kname to be just a pointer instead of an array
   thus avoiding a couple of memcpy()s

2) it changes ioctl to unsigned from uint8_t

3) it changes the first keyhit limit to 5 seconds from 3
   so that constant propagation can take place

4) it changes the ticks overflow computation as suggested by bde@

5) it removes bi_basemem/bi_extmem/bi_memsizes_valid setting from
   bootinfo as it is unused


the patch:

        http://lev.vlakno.cz/~rdivacky/boot2-almost-there-diet.patch

It works for me and I'd like you to review/test this patch

thank you!

roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110228/1b87b763/attachment.pgp


More information about the freebsd-current mailing list