mirror of
https://github.com/zoobab/rtl8710.git
synced 2025-07-31 20:01:05 +00:00
separate cortex.ocd file
This commit is contained in:
parent
a1c1f34bc9
commit
36a2e0e8c5
3 changed files with 11 additions and 10 deletions
10
cortex/cortex.ocd
Normal file
10
cortex/cortex.ocd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue