All of lore.kernel.org
 help / color / mirror / Atom feed
* r2010
@ 2009-04-03 19:43 Yoshinori K. Okuji
  2009-04-03 19:56 ` r2010 Bean
  0 siblings, 1 reply; 4+ messages in thread
From: Yoshinori K. Okuji @ 2009-04-03 19:43 UTC (permalink / raw)
  To: The development of GRUB 2

At r2010, Bean added fake_bios_data, and this function calls grub_printf. Why 
not grub_dprintf? Was there any reason to print a message on the screen?

Regards,
Okuji



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: r2010
  2009-04-03 19:43 r2010 Yoshinori K. Okuji
@ 2009-04-03 19:56 ` Bean
  2009-04-03 20:16   ` r2010 Yoshinori K. Okuji
  0 siblings, 1 reply; 4+ messages in thread
From: Bean @ 2009-04-03 19:56 UTC (permalink / raw)
  To: The development of GRUB 2

On Sat, Apr 4, 2009 at 3:43 AM, Yoshinori K. Okuji <okuji@enbug.org> wrote:
> At r2010, Bean added fake_bios_data, and this function calls grub_printf. Why
> not grub_dprintf? Was there any reason to print a message on the screen?

Hi,

Well, I'm actually planning to move fake_bios_data to a separate
module loadbios, so that linux loader would be cleaner. The message is
for debug purpose, it could be replaced with grub_dprintf.

-- 
Bean



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: r2010
  2009-04-03 19:56 ` r2010 Bean
@ 2009-04-03 20:16   ` Yoshinori K. Okuji
  2009-04-03 22:22     ` r2010 phcoder
  0 siblings, 1 reply; 4+ messages in thread
From: Yoshinori K. Okuji @ 2009-04-03 20:16 UTC (permalink / raw)
  To: The development of GRUB 2

On Saturday 04 April 2009 04:56:14 Bean wrote:
> On Sat, Apr 4, 2009 at 3:43 AM, Yoshinori K. Okuji <okuji@enbug.org> wrote:
> > At r2010, Bean added fake_bios_data, and this function calls grub_printf.
> > Why not grub_dprintf? Was there any reason to print a message on the
> > screen?
>
> Hi,
>
> Well, I'm actually planning to move fake_bios_data to a separate
> module loadbios, so that linux loader would be cleaner.

I am afraid that you've got a disease of making more modules. This is a bad 
disease. I have seen some projects which failed in refactoring due to this 
disease (e.g. Zope3).

> The message is 
> for debug purpose, it could be replaced with grub_dprintf.

OK.

Regards,
Okuji



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: r2010
  2009-04-03 20:16   ` r2010 Yoshinori K. Okuji
@ 2009-04-03 22:22     ` phcoder
  0 siblings, 0 replies; 4+ messages in thread
From: phcoder @ 2009-04-03 22:22 UTC (permalink / raw)
  To: The development of GRUB 2

Yoshinori K. Okuji wrote:
> On Saturday 04 April 2009 04:56:14 Bean wrote:
>> On Sat, Apr 4, 2009 at 3:43 AM, Yoshinori K. Okuji <okuji@enbug.org> wrote:
>>> At r2010, Bean added fake_bios_data, and this function calls grub_printf.
>>> Why not grub_dprintf? Was there any reason to print a message on the
>>> screen?
>> Hi,
>>
>> Well, I'm actually planning to move fake_bios_data to a separate
>> module loadbios, so that linux loader would be cleaner.
> 
> I am afraid that you've got a disease of making more modules. This is a bad 
> disease. I have seen some projects which failed in refactoring due to this 
> disease (e.g. Zope3).

In this case I think that loadbios must be moved to a separate module. 
Not for microkernel or something. Just loadbios will also be used to 
boot multiboot kernels and perhaps bsd too. Also if EFI-related 
functions are moved to a separate module then i386/efi/linux.c can be 
merged to i386/linux.c (I'm also working on this)
-- 

Regards
Vladimir 'phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-03 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03 19:43 r2010 Yoshinori K. Okuji
2009-04-03 19:56 ` r2010 Bean
2009-04-03 20:16   ` r2010 Yoshinori K. Okuji
2009-04-03 22:22     ` r2010 phcoder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.