Thanks Ben.

I managed to fix this. I am working on how best we can rewrite the self
modifying code we have for create_hpte routine. I would prefer to read
from SDR1, than to hardcode (or self modify the code) the way it is done
now.

Feel free to let me know what you think.

Thanks
Siva


-----Original Message-----
From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 23, 2007 6:05 PM
To: Siva Prasad
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: PTE entries

On Thu, 2007-04-19 at 21:34 -0700, Siva Prasad wrote:
> Hi,
> 
>  
> 
> Where exactly the PTE are setup for any given new user program?
> 
>  
> 
> In other words, if you are trying to execute a user level program,
> kernel needs to load it and setup PTEs for that program. Where does
> kernel do it?

They are faulted in.

See do_page_fault

Ben.



_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to