freebsd-skq/sys/powerpc/include
jhibbits 7d1fd313b1 MFC r261095,r263464,r263752,r264189
r263464,r263752,r275189:

Mask out SRR1 bits that aren't exported to the MSR.

This appears to fix a strange condition with X on 32-bit PowerBooks I
observed, caused by one of these bits getting set in the mcontext, but
not set in the thread, which is a symptom of another problem, more
difficult to diagnose.  Since these bits aren't exported anyway, this
change makes it more explicit that the bits aren't MSR-related in SRR1.

r261095:

Fix 32-bit signal handling on ppc64.  This was broken when the
PSL_USERSTATIC macro was changed.  Since copying 64-bit srr1 into
32-bit srr1 drops the upper 32 bits, any bits set in the context were
dropped, meaning the context check fails.  Since 32-bit set_context()
can't change those bits anyway, copy the ones from the current context
(td->td_frame) before calling set_context().

Approved by:	re
Relnotes:	yes (Affects 10-stable, but not 10.0-release)
2014-09-05 15:13:41 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h
_stdint.h Newer versions of gcc define __INT64_C and __UINT64_C, so avoid 2013-09-03 22:04:55 +00:00
_types.h MFC r263998: 2014-04-15 09:41:52 +00:00
altivec.h
asm.h
atomic.h MFC r260607, r260610, r260934: 2014-04-12 19:57:15 +00:00
bat.h MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-24 13:48:04 +00:00
bus_dma.h
bus.h MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-24 13:48:04 +00:00
clock.h
counter.h MFC r258247, r258250, r258257 2014-05-14 04:42:38 +00:00
cpu.h MFC r261309 2014-03-02 02:35:46 +00:00
cpufunc.h
db_machdep.h
dbdma.h MFC r259284,r259287 2014-01-15 06:17:15 +00:00
elf.h Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer to 2012-06-22 06:38:31 +00:00
endian.h
exec.h
float.h
floatingpoint.h
fpu.h
frame.h Also align the 32-bit PowerPC stacks. 2013-09-05 23:28:50 +00:00
gdb_machdep.h Fix the PowerPC Book-E register definitions used by the remote GDB 2013-05-21 18:00:47 +00:00
hid.h
ieee.h
ieeefp.h
in_cksum.h
intr_machdep.h MFC r256994, r257016, r257055, r257059, r257060, r257075 2014-05-13 18:06:26 +00:00
kdb.h
limits.h
machdep.h
md_var.h
memdev.h
metadata.h
mmuvar.h
ofw_machdep.h MFC r258800, r258802, r258805, r258806, r258807, r258851, r258857, 2014-05-14 14:17:51 +00:00
openpicreg.h
openpicvar.h
param.h MFC r258078,258079 2014-09-05 05:07:38 +00:00
pcb.h MFC r258247, r258250, r258257 2014-05-14 04:42:38 +00:00
pcpu.h MFC r258002, r258024, r258027, r258051, r258052, r258243, r258244, r258002, 2014-05-14 03:09:37 +00:00
pio.h
platform.h MFC r261309 2014-03-02 02:35:46 +00:00
platformvar.h Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
pmap.h Merge the changes to pmap_enter(9) for sleep-less operation (requested 2014-08-24 07:53:15 +00:00
pmc_mdep.h MFC r261342 2014-03-14 00:12:53 +00:00
proc.h Implement GET_STACK_USAGE() on PowerPC. This implementation is identical 2013-10-02 20:40:21 +00:00
profile.h
psl.h MFC r261095,r263464,r263752,r264189 2014-09-05 15:13:41 +00:00
pte.h Use the canonical bits for wired, etc. in the PTE. This is important for 2013-09-09 12:44:48 +00:00
ptrace.h
reg.h
reloc.h
resource.h
rtas.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h Fix build with gcc. Move sf_buf_alloc()/sf_buf_free() declarations 2013-09-06 17:44:13 +00:00
sigframe.h
signal.h
slb.h
smp.h
spr.h MFC r261342 2014-03-14 00:12:53 +00:00
sr.h
stack.h
stdarg.h
sysarch.h
tlb.h MFC r257161, r257169, r257178, r257190, r257191 2014-05-14 00:51:26 +00:00
trap.h MFC r258259, r258798, r259010 2014-05-14 04:57:55 +00:00
ucontext.h
varargs.h
vdso.h Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
vm.h
vmparam.h MFC r257854 (discussed with alc@) 2014-05-16 01:30:30 +00:00