rtl8710/cortex/cortex.ocd

11 lines
172 B
Text
Raw Normal View History

2016-08-19 05:48:44 +00:00
proc cortex_bootstrap {start} {
# disable interrupts
reg faultmask 0x01
set vectors ""
mem2array vectors 32 $start 2
reg sp $vectors(0)
reg pc $vectors(1)
resume
}