RE: [PATCH] generic ELF loading

2006-10-13 Thread Mao, Bibo
I do not know whether it is possible to add one element in structure grub_elf_file structure to identify ELF type (ELFCLASS32/ELFCLASS64) and ELF machine type, this element can be set at function grub_elf_open. Thanks Bibo,mao >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAI

RE: Grub for ia64

2006-10-12 Thread Mao, Bibo
It is reasonable to write a converter porting from util/i386/efi/grub-mkimage.c, I have one patch for x84_64, I am waiting for approval for FSF license. IA64 should be much complicated because IA64 relocation type is hairy. Thanks Bibo,mao >-Original Message- >From: [EMAIL PROTECTED] >

RE: Grub for ia64

2006-10-11 Thread Mao, Bibo
On IA64 module supporting is very complicated, I do not know whether Grub2 can provide configuration file to compile command module with both compile-in mode or module mode. If commands are compiled with compile-in mode, then there may be only one image and there is no need to relocate module. T

RE: Fix grub_strtoull

2006-10-05 Thread Mao, Bibo
There are still two pending patch about EFI platform, one is big memory map patch, the other is 64-bit compatible patch. Can these two patches be applied also? Thanks Bibo,mao >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Johan >Rydberg >Sent: 2006

RE: GRUB EFI x64?

2006-08-07 Thread Mao, Bibo
Now I am working on this, there mainly are two points: one is to convert ELF64 into PE32+, the other is call convention, Windows x64 efi call convention is different with that of System V. When x64 grub calls boot time service, there should be parameter conversion. Now I have some other work to

[BUG] grub-efi memeory map size is too small

2006-07-19 Thread Mao, Bibo
In function kern/efi/mm.c, macro MEMORY_MAP_SIZE is defined as 0x1000, on some platform, its memory map size is larger than MEMORY_MAP_SIZE. And there is another function find_mmap_size which is defined in loader/i386/efi/linux.c , I do not know whether this function can be put in file mm.c