Hi,

(7/13/2010 8:07 PM) Richard PANDION wrote:
> Indeed, in the load_elf() function in bsp/boot/common/elf.c, at line #75, 
> there is the following assignment:
>
>   load_base = (vaddr_t)ptokv(phdr->p_paddr);
>
> This seems to be wrong and should be:
>
>   load_base = (paddr_t)kvtop(phdr->p_vaddr);

I've applied fix.
Thanks.

- Kohsuke

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to