File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ set history remove-duplicates 128
6
6
layout asm
7
7
set print asm-demangle on
8
8
9
- add-symbol-file kernel/ target /armv7a-none-eabi/debug/kernel
9
+ add-symbol-file target /armv7a-none-eabi/debug/kernel
10
10
11
11
target remote localhost:1234
Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ pub extern "C" fn _start() -> ! {
59
59
// `vectors` module.
60
60
vectors:: set_vbar ( core:: ptr:: addr_of!( VECTORS_START ) as u32 ) ;
61
61
62
+ // Enable IRQ and FIQ interrupts by masking CPSR with the IRQ and FIQ enable bits.
63
+ core:: arch:: asm!(
64
+ "mrs r1, cpsr
65
+ bic r1, r1, #0b11000000
66
+ msr cpsr_c, r1"
67
+ , options( nomem, nostack) ) ;
68
+
62
69
// Register SDK exception handlers for data/prefetch/undefined aborts.
63
70
vectors:: register_sdk_exception_handlers ( ) ;
64
71
You can’t perform that action at this time.
0 commit comments