Warnings in kern/dl.c
Pavel Roskin [[email protected]] kirjoitti:
Quoted 1 line
The warnings could be suppressed somehow, but I don't think it's the right thing to do. 64-bit grub-emu cannot load 32-bit modules (and vice versa). 64-bit grub-emu could load 64-bit modules in principle, although we don't compile them. We could compile special grub-emu modules, but I would not spend any serious effort on it.
Hi,
I think that using grub-emu might be a good idea for testing. I think there should be grub-emu architecture that could be compiled and in example there would be grub-emu specific disk layer, input layer and so on. So we could use grub-emu almost as same way we can do in real runtime environment. I know Marco will be using grub-emu like this on his GSoC project and I think it is a good thing too. But it needs some work of course.
We could do some special testing framework using this method. Eg. we could drive user input from special user input module that can be controlled from outside.
So please, do not at least remove support for using 64bit modules on 64bit systems :) (or otherwise make it harder to be supported later on)
Thanks,
Vesa Jääskeläinen
Quoted 7 lines · On Fri, 2008-07-18 at 17:14 +0300, [email protected] wrote:
I think that using grub-emu might be a good idea for testing. I think there should be grub-emu architecture that could be compiled and in example there would be grub-emu specific disk layer, input layer and so on. So we could use grub-emu almost as same way we can do in real runtime environment. I know Marco will be using grub-emu like this on his GSoC project and I think it is a good thing too. But it needs some work of course.
Yes, that would be a different grub-emu. Maybe it will be compiled with the target flags. Maybe it will need to be disabled if cross-compiling.
Quoted 3 lines
We could do some special testing framework using this method. Eg. we could drive user input from special user input module that can be controlled from outside.
I'd rather use qemu for testing, as it emulated the whole system. Anyway, we'll see.
Quoted 3 lines
So please, do not at least remove support for using 64bit modules on 64bit systems :) (or otherwise make it harder to be supported later on)
OK, let's keep it. I just don't want to force loading foreign architecture modules into the executable memory.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 20 lines · Pavel Roskin
Quoted 7 lines · On Fri, 2008-07-18 at 17:14 +0300, [email protected] wrote:
I think that using grub-emu might be a good idea for testing. I think there should be grub-emu architecture that could be compiled and in example there would be grub-emu specific disk layer, input layer and so on. So we could use grub-emu almost as same way we can do in real runtime environment. I know Marco will be using grub-emu like this on his GSoC project and I think it is a good thing too. But it needs some work of course.
Yes, that would be a different grub-emu. Maybe it will be compiled with the target flags. Maybe it will need to be disabled if cross-compiling.
Quoted 3 lines
We could do some special testing framework using this method. Eg. we could drive user input from special user input module that can be controlled from outside.
I'd rather use qemu for testing, as it emulated the whole system. Anyway, we'll see.
Quoted 6 lines
Quoted 3 lines
So please, do not at least remove support for using 64bit modules on 64bit systems :) (or otherwise make it harder to be supported later on)
OK, let's keep it. I just don't want to force loading foreign architecture modules into the executable memory.
Hi,
Actually, GRUB_CPU_SIZEOF_VOID_P is the right one to use. It would only cause problem in grub-mkimage, but kern/dl.c is not used by grub-mkimage.
Signature · 1 line
Bean
Quoted 3 lines · Bean
Actually,
GRUB_CPU_SIZEOF_VOID_Pis the right one to use. It would only cause problem in grub-mkimage, butkern/dl.cis not used by grub-mkimage.
Committed.
Signature · 2 lines
Regards, Pavel Roskin