1 IMPLEMENTATION [arm && realview]:
11 LOCK = Kmem::System_regs_map_base + 0x20,
12 RESET = Kmem::System_regs_map_base + 0x40,
16 // ------------------------------------------------------------------------
17 IMPLEMENTATION [arm && realview && realview_eb]:
19 static inline void do_reset()
21 Io::write(0x108, Realview_reset::RESET); // the 0x100 is for Qemu
24 // ------------------------------------------------------------------------
25 IMPLEMENTATION [arm && realview && realview_pb11mp]:
27 static inline void do_reset()
29 Io::write(0x4, Realview_reset::RESET); // PORESET (0x8 would also be ok)
32 // ------------------------------------------------------------------------
33 IMPLEMENTATION [arm && realview && (realview_pbx || realview_vexpress)]:
35 static inline void do_reset()
37 Io::write(0x104, Realview_reset::RESET); // POWER reset, 0x100 for Qemu
40 // ------------------------------------------------------------------------
41 IMPLEMENTATION [arm && realview]:
43 void __attribute__ ((noreturn))
46 Io::write(0xa05f, Realview_reset::LOCK); // unlock for reset