freebsd-dev/sys/powerpc
Marcel Moolenaar 5da7ea0a89 In powerpc_get_pcpup(), make the inline assembly statement
volatile so that the compiler won't perform CSE. For SMP,
this may result in us accessing the wrong PCPU and as such
results in a bogus curthread value.

Note that getting curthread is not quite MP-safe in the sense
that it requires two instructions that aren't performed
atomically. The first instruction gets the address of the PCPU
structure and the second instruction dereferences that pointer
to get curthread. If a thread is switched-out in between these
instructions and switched-in on a different CPU, we still get
the wrong curthread.
2008-09-16 16:28:51 +00:00
..
aim Remove the tracing from the AP startup. The AP is known 2008-09-16 01:05:54 +00:00
booke Move initialization of tlb0, ptbl_bufs and kernel_pdir regions after we are 2008-08-28 07:38:08 +00:00
compile
conf Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
fpu Include <sys/types.h> before <sys/systm.h> to get typedefs required 2008-04-09 08:50:37 +00:00
include In powerpc_get_pcpup(), make the inline assembly statement 2008-09-16 16:28:51 +00:00
mpc85xx Remove mfsvr(): 2008-04-27 17:13:22 +00:00
ofw - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
powermac Return an error code rather than ENXIO when both rman_init() and 2008-06-12 02:28:58 +00:00
powerpc Remove the tracing from the AP startup. The AP is known 2008-09-16 01:05:54 +00:00
psim Set sc_psim so that the openpic core can correct the off-by-one 2008-04-03 17:38:27 +00:00