lkml.org 
[lkml]   [1996]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux reboot
Date
> 	On my system, if I am in dos, and I write out the "magic
> number" to location 472(ie [0x472] = 0x1234), and then jump into the
> bootstrap address, the machine reboots fine. On the other hand, if
> I carefully exit protected mode and then do the same thing in
> process.c, the machine just hangs. Below is my current
> hard_reset_now() call in arch/1386/kernel/process.c -- if anyone
> would care to give me a few pointers on it, it would be much
> appreciated as this is my first attempt at hacking the kernel.
> By the way -- this is from 1.2.13.

On some boards you may also need to write the cold boot flag to the CMOS,
turn off A20 and pray.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.072 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site