SHARE
TWEET

Untitled

a guest Apr 23rd, 2011 71 Never
  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
Top