79[[gnu::weak, gnu::alias(
"Default_Handler")]]
void NMI_Handler(
void);
81[[gnu::weak, gnu::alias(
"Default_Handler")]]
void SVC_Handler(
void);
138#define RA8_IRQ_STUB(n) \
139 void IRQ##n##_Handler(void); \
140 [[gnu::weak]] void IRQ##n##_Handler(void) \
142 ra8_isr_dispatch((uint16_t)(n)); \
144 static_assert(1, "ra8_irq_stub_" #n)
147#define RA8_IRQ_STUB(n) \
148 void IRQ##n##_Handler(void); \
149 [[gnu::weak]] void IRQ##n##_Handler(void) {} \
150 static_assert(1, "ra8_irq_stub_" #n)
282[[gnu::section(
".vectors"), gnu::used]]
307#define
E(n) IRQ##n##_Handler
479 __asm__
volatile(
"wfi");
497typedef enum : uint32_t {
504#ifndef RA8_OFF_TARGET
519 __asm__
volatile(
"tst lr, #4 \n"
524 "b ra8_exception_report\n");
541 __asm__
volatile(
"tst lr, #4 \n"
546 "b ra8_exception_report\n");
563 __asm__
volatile(
"tst lr, #4 \n"
568 "b ra8_exception_report\n");
585 __asm__
volatile(
"tst lr, #4 \n"
590 "b ra8_exception_report\n");
600 __builtin_unreachable();
605 __builtin_unreachable();
610 __builtin_unreachable();
615 __builtin_unreachable();
627#ifndef RA8_OFF_TARGET
628 __asm__
volatile(
"bkpt #0");
630 __asm__
volatile(
"wfi");
void UsageFault_Handler(void)
Capture a UsageFault and transfer to the common exception reporter.
void HardFault_Handler(void)
Capture a HardFault and transfer to the common exception reporter.
void MemManage_Handler(void)
Capture a MemManage fault and transfer to the exception reporter.
void Default_Handler(void)
Catch-all handler for every exception slot nothing else claims.
void PendSV_Handler(void)
void NMI_Handler(void)
Cortex-M85 NMI handler (vector table slot 2).
void BusFault_Handler(void)
Capture a BusFault and transfer to the common exception reporter.
void SysTick_Handler(void)
Service the SysTick exception selected by the linked application.
void SecureFault_Handler(void)
Cortex-M85 SecureFault handler (vector table slot 7).
void DebugMon_Handler(void)
void Reset_Handler(void)
Enter the Secure e-reader image after processor reset.
#define RA8_IRQ_STUB(n)
RA8 IRQ STUB.
void SecureFault_Handler(void)
Cortex-M85 SecureFault handler (vector table slot 7).
uint32_t g_ra8_ls_stack_top
void SystemInit(void)
Earliest C code the image runs: bring the core up before RAM init.
const uint32_t g_ra8_vector_table_start[]
void UsageFault_Handler(void)
Capture a UsageFault and transfer to the common exception reporter.
void HardFault_Handler(void)
Capture a HardFault and transfer to the common exception reporter.
void MemManage_Handler(void)
Capture a MemManage fault and transfer to the exception reporter.
uint32_t g_ra8_ls_sidata
Source of .data in MRAM.
ra8_vector_exc_t
Exception numbers matching the Cortex-M vector table slots.
@ k_ra8_vector_hardfault
RA8 vector hardfault.
@ k_ra8_vector_usagefault
RA8 vector usagefault.
@ k_ra8_vector_busfault
RA8 vector busfault.
@ k_ra8_vector_memmanage
RA8 vector memmanage.
uint32_t g_ra8_ls_edata
End of .data in SRAM.
void PendSV_Handler(void)
uint32_t g_ra8_ls_sdata
Start of .data in SRAM.
uint32_t g_ra8_ls_sbss
Start of .bss in SRAM.
void BusFault_Handler(void)
Capture a BusFault and transfer to the common exception reporter.
void SysTick_Handler(void)
Service the SysTick exception selected by the linked application.
void(* exc_handler_t)(void)
@ k_ra8_irq_count
RA8 IRQ count.
void DebugMon_Handler(void)
void Reset_Handler(void)
Enter an EK-RA8D2 firmware image after processor reset.
uint32_t g_ra8_ls_ebss
End of .bss in SRAM.
void NMI_Handler(void)
Cortex-M85 NMI handler (vector table slot 2).
Boot entry points shared between a vector table and its startup code.
void main(void)
The application entry point Reset_Handler hands control to.
Cortex-M85 CPU exception diagnostic helpers.
void ra8_exception_report(const ra8_exception_frame_t *frame, uint32_t exc_number)
Emit a full fault dump over the log backend.
NVIC + ICU IELSR allocator.