]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PPC64] Enable opal console use as a GDB DBGPORT
authorluporl <luporl@FreeBSD.org>
Mon, 9 Dec 2019 13:09:32 +0000 (13:09 +0000)
committerluporl <luporl@FreeBSD.org>
Mon, 9 Dec 2019 13:09:32 +0000 (13:09 +0000)
commit2cc0f06ddb3432ed21df85e27c1e9e9c8ea571d6
treed058ae76e57893e49a8b4042d3fbea8558501a48
parent377c88026ef7b74a20e047ad913cbd65d91c2de7
[PPC64] Enable opal console use as a GDB DBGPORT

This change makes it possible to use OPAL console as a GDB debug port.

Similar to uart and uart_phyp debug ports, it has to be enabled by
setting the hw.uart.dbgport variable to the serial console node
of the device tree.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D22649
sys/conf/files.powerpc
sys/powerpc/powernv/opal_dbg.c [new file with mode: 0644]
sys/powerpc/pseries/phyp_dbg.c