]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r349188
authorLeandro Lupori <luporl@FreeBSD.org>
Thu, 4 Jul 2019 12:40:38 +0000 (12:40 +0000)
committerLeandro Lupori <luporl@FreeBSD.org>
Thu, 4 Jul 2019 12:40:38 +0000 (12:40 +0000)
commita65ea94c56e0d2fcec920971c24b692910dadc36
tree05ddbcce954adc6af9057aff17dab382d339d00b
parent951fab423da42e91c139a794d98249f126231167
MFC r349188

[PPC] Fix loader input with newer QEMU versions

At least since version 4.0.0, QEMU became bug-compatible with PowerVM's
vty, by inserting a \0 after every \r. As this confuses loader's
interpreter and as a \0 coming from the console doesn't seem reasonable,
it's now being filtered at OFW console input.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D20676
stand/ofw/libofw/ofw_console.c