cvs commit: src/sys/i386/i386 vm_machdep.c
Maxim Sobolev
sobomax at FreeBSD.org
Thu Apr 27 05:18:26 UTC 2006
sobomax 2006-04-27 05:18:26 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 vm_machdep.c
Log:
In the case when reset via keyboard controller doesn't work for some reason
(i.e. no keyboard controller present), try two other common methods for
resetting i386 machine - pci reset and port 0x92 fast reset. Only if neither
works warn user and resort to "unmap entire address space and hope for good"
hack. This makes my MacBook Pro rebooting just fine and should also help
other legacy-free hardware out there.
Also, disable interrupts unconditionally in cpu_reset_real(), since we don't
want any interference.
MFC after: 1 week
Revision Changes Path
1.270 +19 -3 src/sys/i386/i386/vm_machdep.c
More information about the cvs-src
mailing list