Re: [PATCH] Use correct x86 reboot vector

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue May 13 2003 - 13:45:00 EST


Followup to: <200305130851_MC3-1-38A3-A3B4@compuserve.com>
By author: Chuck Ebbert <76306.1226@compuserve.com>
In newsgroup: linux.dev.kernel
>
> Christer Weinigel wrote:
>
> > BTW, what does Windows do here? Whatever Windows is using should work
> > with Linux too.
>
> I've only ever seen NT4/2K do a warm reboot, if that's relevant.
>
> FreeBSD unmaps every page in the machine and then flushes the
> TLB as its last-resort reboot attempt. I assume this causes a
> triplefault...
>

So it does. It's easier, though, to set the limit on the IDTR to zero
and then trap.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:46 EST