Re: [PATCH] badram filtering

2009-03-11 Thread phcoder
Hello. I'm now writing the code to make multiboot and bsd work on EFI based on my grub_machine_memory_iterate for EFI. MY code will be the same for all i386 branches. It's quite complete except that I had no time yet to test it. I'l submit once it works I was thinking and found another utility

Re: [PATCH] badram filtering

2009-03-10 Thread phcoder
Very interesting. I have following suggestions: 1) define platform independent way to enumerate memory map. This function wouldn't mark types with GRUB_MACHINE_* but with one of the following types: GRUB_MMAP_HOLE - means that at this position there is no RAM at all. Should this be iterated at

Re: [PATCH] badram filtering

2009-03-10 Thread phcoder
I've looked in depth in memory map and have seen that (1) is already done so except for EFI systems. And except that memory types are defined on per-machine basis. IMO generic memory types should be shared at the output of grub_machine_memory_iterate but it's not critical. I will code a

[PATCH] badram filtering

2009-02-27 Thread Robert Millan
Hi, This patch implements badram filtering in GRUB. It's the same idea as in http://rick.vanrein.org/linux/badram/ but applied to GRUB. The badram module sits between loaders (or other users like lsmmap) and filters the mmap entries, but only when user previously set the badram variable (whose