; ARM.mac - Dummy startup macro for ARM processor family
; Version 1.00 1/30/01 - Initial version

if __CPU_STATE__ == "Unknown"
  echo off
  echo
  echo Error: Cannot access the CPU.
  echo
  echo on
  exit
endif

if __CPU_STATE__ == "NoPower"
  echo off
  echo
  echo No power. Power the target up now.
  echo
  while __CPU_STATE__ == "NoPower"
     ; Wait for power.
  endwhile
  echo on
endif

if __CPU_STATE__ == "Running"
 ; stop CPU
 stop
endif

; End of file 'ARM.mac'

map 0x00000000 to 0x00080000 user
map 0x00080000 to 0x0008ffff user
map 0x00090000 to 0x0fffffff none
map 0x08000000 to 0x0a000000 user
map 0x10000000 to 0x1000ffff device
map 0x10010000 to 0x7fffffff none
map 0x80000000 to 0xffffffff user

; Load definition of registers for this CPU and/or board
loadreg ARM\sc.def

