n Inc. USA
http://www.realtimelinuxfoundation.org
* School for Information Science and Engineering (SISE), University
of
Lanzhou China http://www.lzu.edu.cn
* Distributed and Embedded Systems Lab, University of Lanzhou,
(CHINA)
http://dslab.lzu.edu.cn
--
Wang, Baojun
80c 7d2a4b78
4870 80680008 2f83 419e001c <80030008> 7f802040 409d0010 80030004
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..
Does that mean we can not call user space entry code directly, can w
not access memory at address 0x1094 /* r3 or ctr address */
(gdb)
the address 0x1094 is accessable before `bctrl' we could see.. Is it
because $r3 is just contain a address just for data access not instruction
access? the page prot is: _PAGE_PRESENT | _PAGE_RW | _PAGE_HWEXE
ROTECTED]
stw 3, [EMAIL PROTECTED](9)
bl kmain
lwz 0, INT_FRAME_SIZE+4(1);
mtlr0
addi1, 1, INT_FRAME_SIZE
blr
.size _start, .-_start
I'm sorry I'm not very familiar with the ppc assemb
itself.
> >
> > I don't understand this clearly, how can I do this?
>
> Well, you insert a TLB entry manually and avoid replacing it later on
I've add the _PAGE_PRESENT flag to the related PTE
> Ben.
Thanks very much I'm now getting much clearer about my question:)
Reg
r sometimes via BDI2000/kgdb (the fault address is within
DataTLBError), Shall I should also look for arch/ppc/mm/fault.c?
> Your initial code probably need to bolt a TLB entry for the kernel
> itself.
I don't understand this clearly, how can I do this?
> Ben.
Regards,
Wang
--
Wa
On Monday 22 October 2007 12:50:52, Benjamin Herrenschmidt wrote:
> On Mon, 2007-10-22 at 12:03 +0800, Wang, Baojun wrote:
> > hi,
> >
> > I've got some qeustion about ppc(ppc44x) paging:
> >
> > how can I manually map a virtual address to a physical addres
_SHARED_X)));
mm_debug("pte_present now?: %lld\n", pte_present(*pte));
mm_debug("!pte_present, pte: 0x%lx\n", pte);
}
mm_debug("allocate_user_page: return 0x%lx\n", page);
#undef mm_debug
return page;
}
d you please
give me some hints? Thanks very much!
Regards,
Wang
--
Wang, BaojunLanzhou University
Distributed & Embedded System Lab http://dslab.lzu.edu.cn
School of Information Science and Engeneering[EMAIL PROTECTED]
Tianshui S