r2010
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
Quoted 2 lines · Yoshinori K. Okuji
At r2010, Bean added
fake_bios_data, and this function callsgrub_printf. Why notgrub_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.
Signature · 1 line
Bean
Quoted 9 lines · On Saturday 04 April 2009 04:56:14 Bean wrote:
Quoted 3 lines · Yoshinori K. Okuji
At r2010, Bean added
fake_bios_data, and this function callsgrub_printf. Why notgrub_dprintf? Was there any reason to print a message on the screen?Hi,
Well, I'm actually planning to move
fake_bios_datato 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).
Quoted 2 lines
The message is
for debug purpose, it could be replaced withgrub_dprintf.
OK.
Regards,
Okuji
Quoted 11 lines · Yoshinori K. Okuji
Quoted 8 lines · On Saturday 04 April 2009 04:56:14 Bean wrote:
Quoted 3 lines · Yoshinori K. Okuji
At r2010, Bean added
fake_bios_data, and this function callsgrub_printf. Why notgrub_dprintf? Was there any reason to print a message on the screen?Hi,
Well, I'm actually planning to move
fake_bios_datato 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)
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko