[lkml]   [1996]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Reboot-by-BIOS-jump-patch
    On Mon, 21 Oct 1996, Stephen R. van den Berg wrote:

    > Matthias Urlichs <> wrote:
    > >Well, here it is again; I modified the thing so that's (a) properly
    > >indented and (b) you can control whether to boot via the BIOS by saying
    > >"reboot=bios" or "reboot=hard" on the LILO command line (or its append=
    > >string). Stuff like "reboot=cold,bios" works, too.
    > What about simply trying the real-reset/triple-fault method first,
    > for say two seconds max, and then simply jump to the bios?

    The 'triple-fault method' _is_ already in the kernel, look at this:

    void hard_reset_now(void)
    [ ... ]
    __asm__ __volatile__("\tlidt %0": "=m" (no_idt));
    } ^^^^^^^

    This little instruction sets a NULL-IDT, so the next interrupt happening
    will triple_fault the machine.
    So you see, we already _have_ tried all methods except the BIOS-jump.


     \ /
      Last update: 2005-03-22 13:38    [W:0.023 / U:14.204 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site