NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-powerpc/39257: Mistake in sys/arch/powerpc/powerpc/trap_subr.S file



>Number:         39257
>Category:       port-powerpc
>Synopsis:       Mistake in sys/arch/powerpc/powerpc/trap_subr.S file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 31 14:50:00 +0000 2008
>Originator:     Konrad Karpowicz
>Release:        none
>Organization:
Pacomp
>Environment:
none
>Description:
Hello
Our company uses FreeBSD on PowerPC e300 core and I wanted to compare our TLB 
Data Store Miss Exception handler with the same part of code in NetBSD. In my 
opinion there is a serious bug in sys/powerpc/powerpc/trap_subr.S file - lines 
617-624. Value stored in R1 is not used. And changed value in R2 causes error 
when reloading TLB entry. It would be great if I could contact someone who is 
able to confirm (or not) my opinion.
Kind regards,
Konrad

>How-To-Repeat:
I do not know - my FreeBSD kernel crashes.
>Fix:
I think it is not difficult but I am not sure at the moment.



Home | Main Index | Thread Index | Old Index