Searched hist:"897 f1917a4a854bfd044ec5918b04f3dbf9605fd" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/i386/i386/ |
H A D | vm_machdep.c | diff 897f1917a4a854bfd044ec5918b04f3dbf9605fd Thu Apr 27 07:18:26 CEST 2006 Maxim Sobolev <sobomax@FreeBSD.org> 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 diff 897f1917a4a854bfd044ec5918b04f3dbf9605fd Thu Apr 27 07:18:26 CEST 2006 Maxim Sobolev <sobomax@FreeBSD.org> 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
|