Re: [TESTING]: boot2 changes

2011-03-02 Thread Roman Divacky
On Wed, Mar 02, 2011 at 02:28:54AM +, Alexander Best wrote: > On Mon Feb 28 11, Roman Divacky wrote: > > 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 ch

Re: [TESTING]: boot2 changes

2011-03-01 Thread Alexander Best
On Mon Feb 28 11, Roman Divacky wrote: > 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

Re: [TESTING]: boot2 changes

2011-03-01 Thread Roman Divacky
On Tue, Mar 01, 2011 at 07:54:14AM -0500, John Baldwin wrote: > On Monday, February 28, 2011 3:39:28 pm Roman Divacky wrote: > > 3) it changes the first keyhit limit to 5 seconds from 3 > >so that constant propagation can take place > > Does this make booting take 2 seconds longer as a result?

Re: [TESTING]: boot2 changes

2011-03-01 Thread John Baldwin
On Monday, February 28, 2011 3:39:28 pm Roman Divacky wrote: > 3) it changes the first keyhit limit to 5 seconds from 3 >so that constant propagation can take place Does this make booting take 2 seconds longer as a result? I'm curious as to why '3*FOO' isn't a constant but '5*FOO' is? I thin

[TESTING]: boot2 changes

2011-02-28 Thread Roman Divacky
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 p