multiboot code asking for stubs-32.h under x86-64?

2007-10-03 Thread Julio Meca Hansen
Hi, I'm trying to compile grub2 from a cvs tarball but while it's compiling the code it stops at the multiboot subdirectory producing an error refered to not finding stubs-32.h, but I'm not compiling grub2 for i386, not even x86-64 in biarch mode, but x86-64 in pure mode, without *ANY* kind of 32b

[PATCH] Misc affs fixe

2007-10-03 Thread Marcin Kurek
Hell[o] The affs suppors is broken ATM for ieee1275 as it uses total_sectors from grub_disk_t and this field is not valid on OF. There is still some problems for partitions with block size != 512, but at last it makes possible to use it in most cases. -- --- Marcin 'Morgoth' Kurek --- diff -urN

Re: [PATCH] fix memory management on efika/pegasos

2007-10-03 Thread Marcin Kurek
Hell[o] > What happens if you increase HEAP_MIN_SIZE ? Still fails I am affraid. I wonder is there any reason to use only first 4MB for heap ? I guess higer memory areas can be still accessed excluding 4-16 MB ? I attached my proposed patch to solve this problem. It tires to allocate 4MB heap at

Re: [PATCH] Fixed ieee1275 console

2007-10-03 Thread Marcin Kurek
Hell[o] Attached current version of console fix'es patches, generaly synced with cvs && cleanups for all of them and some changes in 04-grub2-ofconsole_fix.patch. First it seems pegasos OF uses 24 lines console by default, but it seems when no framebuffer is used the real number of rows is 25 not

[PATCH] io.h (inb/outb/etc)

2007-10-03 Thread Robert Millan
Hi! There seems to be a few duplicated inb/outb inline declarations around different parts of GRUB. New code that makes use of them has to implement them again, etc. I'd like to add this patch to get them from instead. Any comments? -- Robert Millan I know my rights; I want my phone call!