freebsd-nq/sys/powerpc/aim
Leandro Lupori 6174048251 powerpc64: Add a trap stack area
Currently, the trap code switches to the the temporary stack in the dbtrap
section. It works in most cases, but in the beginning of the execution, the
temp stack is being used, as starting in the powerpc_init() code.

In this current scenario, the stack is being overwritten, which causes the
return of breakpoint() to take abnormal execution.

This current patchset create a small stack to use by the dbtrap: codepath
avoiding the corruption of the temporary stack.

PR:		224872
Submitted by:	breno.leitao_gmail.com
Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D14484
2019-02-04 16:02:03 +00:00
..
aim_machdep.c ppc64: handle exception 0x1500 (soft patch) 2018-12-10 14:54:28 +00:00
isa3_hashtb.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore.S
mmu_oea64.c powerpc: Use MAX() macro instead of max() inline function to calculate Maxmem 2018-11-10 02:37:56 +00:00
mmu_oea64.h Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
mmu_oea.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
moea64_if.m
moea64_native.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
mp_cpudep.c Add support for the XIVE XICS emulation mode for POWER9 systems 2018-05-20 03:23:17 +00:00
slb.c Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
trap_subr32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
trap_subr64.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00