Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 23rd, 2011  |  syntax: None  |  size: 0.31 KB  |  hits: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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