Changeset 149d14e5 in mainline for kernel/arch/amd64/src/amd64.c


Ignore:
Timestamp:
2009-04-06T16:18:41Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
13a638d
Parents:
415d272
Message:

ia32, amd64: do not reboot via a triple fault (which is nasty), but use the i8042 controller to trigger CPU reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r415d272 r149d14e5  
    282282}
    283283
     284void arch_reboot(void)
     285{
     286#ifdef CONFIG_PC_KBD
     287        i8042_cpu_reset((i8042_t *) I8042_BASE);
     288#endif
     289}
     290
    284291/** @}
    285292 */
Note: See TracChangeset for help on using the changeset viewer.