relocated address
Bert van Leeuwen
bert.vanleeuwen at gmail.com
Tue Jun 28 15:40:43 CEST 2005
Is there a way to get a program's relocated address? I think I need this to
make my program work correctly when run from loader via tftp... I access a
PCI device, the code at one point calls virt_to_bus, which uses an extern
unsigned int offset which is 0, but there is a comment saying that the
offset should be set to the program's relocated address instead of 0...
Running my program from grub works just fine, but not from loader,
presumably because of this. The program itself "works" from loader, but not
the PCI interfacing, so I'm sure its got something to do with relocation.
Any help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050628/b8b4926f/attachment.html>
More information about the l4-hackers
mailing list