aboutsummaryrefslogtreecommitdiff
path: root/src/interrupt.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-12-02 15:19:30 +0000
committerGravatar GitHub <noreply@github.com> 2020-12-02 15:19:30 +0000
commit038396e6f944fb8697e2d4ecbd88cfca9d16b90e (patch)
tree7eb1e4514b8159b7e1657626dc27a45131b227b9 /src/interrupt.rs
parentd34b1ce3eda92777ba9bafe2fca96e1985ec6d72 (diff)
parent64842461ba4caa384487ae52cbe15a4f3834b4b4 (diff)
downloadcortex-m-038396e6f944fb8697e2d4ecbd88cfca9d16b90e.tar.gz
cortex-m-038396e6f944fb8697e2d4ecbd88cfca9d16b90e.tar.zst
cortex-m-038396e6f944fb8697e2d4ecbd88cfca9d16b90e.zip
Merge #299
299: Expose __syscall and add new bootstrap method r=jonas-schievink a=adamgreig We added `__syscall` in the new inline asm, but did not expose it in the crate API, and the cortex-m-semihosting crate can't use it directly because the pre-built binaries would contain duplicate symbols (#271). This PR renames it to `__sh_syscall` (since we could imagine other different syscalls; this one is explicitly semihosting with the `bkpt 0xAB`) and exposes it in `cortex_m::asm::sh_syscall`. This PR also adds the new methods discussed in #297 to permit sound bootstrapping, either from an MSP and RV or a vector table address. Co-authored-by: Adam Greig <adam@adamgreig.com>
Diffstat (limited to 'src/interrupt.rs')
0 files changed, 0 insertions, 0 deletions