[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC] loader relocation
From: |
Robert Millan |
Subject: |
[RFC] loader relocation |
Date: |
Thu, 24 Jan 2008 18:58:47 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
As discussed on two other threads, this patch is a proof of concept of
relocation in the loader.
Some comments:
- grub_protected_malloc() is like malloc, but with the garantee that
it won't overlap with a particular region. Do you think this is the
right approach? Should this be kept as a layer on top of the memory
manager, like now, or rather be integrated with it to take advantage of
its internal knowledge? I find that the current implementation is an
ugly hack...
- This works for multiboot only. How far can we go at making it more
generic? At least the malloc part should be; not sure about the rest.
- The phdr(i) hack can be committed separately in case we decide that it
is necessary for this feature (or just convenient for readability). It's
described at:
http://www.mail-archive.com/address@hidden/msg03517.html
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
loader_relocation.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [RFC] loader relocation,
Robert Millan <=