freebsd-dev/sys/powerpc/include
Benno Rice 8b8aa9c1e6 To quote Peter:
The case in cpu_switch() where there isn't a higher priority thread
(choosethread() == curthread) uses r4 as the PCB context pointer. However, the
use of r4 after the label L2 is incorrect, since it was probably trashed by
the call to choosethread, and in any case was set up to curthread at the start
of the routine.

This condition will occur when an interrupt thread schedules a netisr, which
is a lower priority thread.

Another (probably unnecessary) difference is that I was paranoid about
register trashing, so I decided to save r2 and r13 as well.

Submitted by:	Peter Grehan <peterg@ptree32.com.au>
2002-06-29 09:39:44 +00:00
..
_inttypes.h
_limits.h
ansi.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
asm.h - Rename the _C_LABEL macro to CNAME. 2002-05-17 01:44:55 +00:00
atomic.h Make atomic_cmpset_32 correctly return 0 on failure. 2002-02-24 23:31:49 +00:00
bat.h
bootinfo.h Remove __P. 2002-03-20 23:17:50 +00:00
bus.h Remove __P. 2002-03-20 23:17:50 +00:00
clock.h Remove __P. 2002-03-20 23:17:50 +00:00
cpu.h Move the kcopy() function from trap.c to machdep.c. Add a prototype. 2002-05-28 07:36:36 +00:00
cpufunc.h Add inlines for mtsrin and mfsrin. 2002-04-16 11:45:09 +00:00
critical.h Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00
db_machdep.h Remove __P. 2002-03-20 23:17:50 +00:00
elf.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
endian.h Include <sys/cdefs.h> for definition of __BSD_VISIBLE. 2002-04-12 15:56:45 +00:00
exec.h
float.h An exact copy of i386/include/float.h will work here. 2002-05-15 20:54:35 +00:00
fpu.h FPU support. 2002-05-13 07:44:48 +00:00
frame.h - Move macros that represent where syscall args are kept in a trapframe from 2002-05-28 12:24:29 +00:00
ieeefp.h FPU support. 2002-05-13 07:44:48 +00:00
intr.h Remove __P. 2002-03-20 23:17:50 +00:00
ipl.h
limits.h
md_var.h Remove __P. 2002-03-20 23:17:50 +00:00
mutex.h
nexusvar.h Add a nexus device. 2002-04-15 12:29:18 +00:00
openpicreg.h
param.h Move MI stuff out of MD param.h files. 2002-05-14 20:35:29 +00:00
pcb.h To quote Peter: 2002-06-29 09:39:44 +00:00
pcpu.h FPU support. 2002-05-13 07:44:48 +00:00
pio.h
pmap.h Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
powerpc.h Get the correct memory regions from OpenFirmware. We were getting the 2002-05-27 11:18:12 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
psl.h Add the PSL_VEC flag for AltiVec (no, it's not here yet =)) 2002-05-19 04:03:11 +00:00
pte.h 1. Better track the executable status of mappings. 2002-05-09 14:09:19 +00:00
ptrace.h Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the 2002-03-16 00:25:53 +00:00
reg.h Remove __P. 2002-03-20 23:17:50 +00:00
reloc.h
resource.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
setjmp.h
sigframe.h
signal.h
smp.h
spr.h Rename the constants for the contents of the PVR register so as not to 2002-05-09 14:04:43 +00:00
sr.h style(9) 2002-02-18 06:24:55 +00:00
stdarg.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
trap.h Update to newer trap code from NetBSD. 2002-05-09 14:22:55 +00:00
types.h Make vm_pindex_t 64-bit on all platforms. This is necessary to avoid 2002-06-23 21:57:19 +00:00
ucontext.h
varargs.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
vmparam.h