lkml.org 
[lkml]   [2000]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to create hard reboots through software
In what situations would you use this code?  When there's a system
lockup?

robert


> Hi,
>
> I personnaly use this very simple program to hard-reset my machine :
>
> main() {
> ioperm(0x64,1,1);
> while (1) outb(0xfe, 0x64);
> }
>
> it basically outputs the value 0xFE to the KB controller at port 0x64 which
> will perform a hardware bus reset.
>
> Willy
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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