Re: [PATCH] turn grub-emu into a port

2009-11-09 Thread Robert Millan
On Sat, Oct 31, 2009 at 12:08:55AM +0100, Vladimir 'phcoder' Serbinenko wrote: > Following hunk is a regression for me: > - return (tv.tv_sec * GRUB_TICKS_PER_SECOND > - + (((tv.tv_sec % GRUB_TICKS_PER_SECOND) * 100 + tv.tv_usec) > -* GRUB_TICKS_PER_SECOND / 100)); > +

Re: [PATCH] turn grub-emu into a port

2009-10-31 Thread Robert Millan
On Sat, Oct 31, 2009 at 11:18:03AM +0100, Vladimir 'phcoder' Serbinenko wrote: > >> - return (tv.tv_sec * GRUB_TICKS_PER_SECOND > >> - + (((tv.tv_sec % GRUB_TICKS_PER_SECOND) * 100 + tv.tv_usec) > >> -* GRUB_TICKS_PER_SECOND / 100)); > >> + GRUB_COMPILE_TIME_ASSERT (GR

Re: [PATCH] turn grub-emu into a port

2009-10-31 Thread Vladimir 'phcoder' Serbinenko
Robert Millan wrote: > On Sat, Oct 31, 2009 at 12:08:55AM +0100, Vladimir 'phcoder' Serbinenko wrote: > >> Robert Millan wrote: >> >>> This turns grub-emu into a port in order to make it easier to port GRUB to >>> new CPUs. A porter can then do the CPU port without having to worry about >>

Re: [PATCH] turn grub-emu into a port

2009-10-31 Thread Robert Millan
On Sat, Oct 31, 2009 at 12:08:55AM +0100, Vladimir 'phcoder' Serbinenko wrote: > Robert Millan wrote: > > This turns grub-emu into a port in order to make it easier to port GRUB to > > new CPUs. A porter can then do the CPU port without having to worry about > > firmware and/or hardware drivers in

Re: [PATCH] turn grub-emu into a port

2009-10-30 Thread Vladimir 'phcoder' Serbinenko
Robert Millan wrote: > This turns grub-emu into a port in order to make it easier to port GRUB to > new CPUs. A porter can then do the CPU port without having to worry about > firmware and/or hardware drivers initially. > > Patch attached. Branch is available in > bzr+ssh://bzr.savannah.gnu.org/g

Re: [PATCH] turn grub-emu into a port

2009-10-30 Thread Robert Millan
On Mon, Oct 26, 2009 at 07:10:10PM +0100, Robert Millan wrote: > > This turns grub-emu into a port in order to make it easier to port GRUB to > new CPUs. A porter can then do the CPU port without having to worry about > firmware and/or hardware drivers initially. Any comments on this? -- Rober