|
From: | Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: | Re: [PATCH V3 2/3] Add support for avoiding firmware in relocations |
Date: | Wed, 08 Feb 2012 23:22:32 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 |
On 08.02.2012 17:55, Matthew Garrett wrote:
This won't work. IEEE1275 declares only one type of memory range: available. Other ranges aren't declared at all. Also it would make sense to expand this implementation to other non-efi platforms (pc, coreboot, ...).+ if (type == GRUB_MEMORY_AVAILABLE) + return 0; + + if (target>= addr&& target<= end) + overlap = 1; + + if (target + size>= addr&& target + size<= end) + overlap = 1;
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
[Prev in Thread] | Current Thread | [Next in Thread] |