]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r256543,r259245,r259421,r259668,r259674
authorjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jan 2014 05:19:37 +0000 (05:19 +0000)
committerjhibbits <jhibbits@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jan 2014 05:19:37 +0000 (05:19 +0000)
commit1e0b44aa3ebdcab2f0885dc5a169c0dcdea7533d
tree4f4aad2d0495e4af20e1796de50d77105fd6f2b6
parentdfb75a45b7a9331dc53ba0a732c25e0696daafb6
MFC r256543,r259245,r259421,r259668,r259674

r256543:

Add fasttrap for PowerPC.  This is the last piece of the DTrace/ppc puzzle.
It's incomplete, it doesn't contain full instruction emulation, but it should be
sufficient for most cases.

r259245,r259421: (FBT)

FBT now does work fully on PowerPC.

Save r3 before using it for the trap check, else we end up saving the new r3,
containing the trap instruction encoding (0x7c810808), and restoring it back
with the frame on return.  This caused it to panic on my ppc32 machine.

r259668,r259674:
Fix a typo in the FBT code.

git-svn-id: svn://svn.freebsd.org/base/stable/10@260670 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
cddl/contrib/opensolaris/lib/libdtrace/powerpc/dt_isadep.c
sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
sys/cddl/contrib/opensolaris/uts/powerpc/sys/fasttrap_isa.h
sys/cddl/dev/fbt/fbt_powerpc.c
sys/modules/dtrace/Makefile
sys/modules/dtrace/fasttrap/Makefile
sys/powerpc/aim/trap.c
sys/powerpc/aim/trap_subr32.S
sys/powerpc/aim/trap_subr64.S