]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Save and restore the trap vectors when doing OF calls on pSeries machines.
authorandreast <andreast@FreeBSD.org>
Sat, 23 Nov 2013 18:58:17 +0000 (18:58 +0000)
committerandreast <andreast@FreeBSD.org>
Sat, 23 Nov 2013 18:58:17 +0000 (18:58 +0000)
commitc2f18516910f0355ccd2ee0e23b413ce5ecf9d67
treea807b8986efb5a482430217fe6e482613c32d226
parent2e3d545ea0cd0066c4d4b9e5fec132e70157101f
Save and restore the trap vectors when doing OF calls on pSeries machines.

It turned out that on pSeries machines the call into OF modified the trap
vectors and this made further behaviour unpredictable.

With this commit I'm now able to boot multi user on a network booted
environment on my IntelliStation 285. This is a POWER5+ machine.

Discussed with: nwhitehorn
MFC after: 1 week
sys/powerpc/aim/machdep.c
sys/powerpc/include/ofw_machdep.h
sys/powerpc/ofw/ofw_machdep.c