Guest User

Untitled

a guest
Apr 23rd, 2011
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # boot_card returns when RTEMS is shutdown
  2. #if ON_SIMULATOR
  3. #if defined(ON_GDB_SIM)
  4. #define SYS_exit 1
  5. mvi r8, SYS_exit
  6. scall
  7. #else
  8. # on qemu-lm32
  9. #define SYS_CTRL_REG 0xffff0000
  10. mvhi r7, hi(SYS_CTRL_REG)
  11. ori r7, r7, lo(SYS_CTRL_REG)
  12. sw (r7+0), r0
  13. #endif
  14. #endif
RAW Paste Data