Re: [PATCH] Use correct x86 reboot vector

H. Peter Anvin (hpa@zytor.com)
Tue, 13 May 2003 12:27:02 -0700


Richard B. Johnson wrote:
>
> Don't thing there's anything much easier than:
>
> movl $1, %eax
> movl %eax, %cr0
>
> ... execute that in paged RAM (above the 1:1 mapping), and you
> will get a hard processor reset without any bus access at all.
> This unmaps everything in one fell-swoop.
>

You go back to 1:1 mappings at that point, so you *will* have bus accesses.

-hpa

-
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/