2 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
4 * This file is part of TUD:OS and distributed under the terms of the
5 * GNU Lesser General Public License 2.1.
6 * Please see the COPYING-LGPL-2.1 file for details.
8 #include <l4/util/port_io.h>
9 #include <l4/util/cpu.h>
12 reboot_arch(void) __attribute__((noreturn));
17 while (l4util_in8(0x64) & 0x02)
19 l4util_out8(0x60, 0x64);
22 while (l4util_in8(0x64) & 0x02)
24 l4util_out8(0x04, 0x60);
27 while (l4util_in8(0x64) & 0x02)
29 l4util_out8(0xFE, 0x64);