91[[gnu::weak, gnu::alias(
"Default_Handler")]]
void NMI_Handler(
void);
93[[gnu::weak, gnu::alias(
"Default_Handler")]]
void SVC_Handler(
void);
136#define RA8_IRQ_STUB(n) [[gnu::weak, gnu::alias("Default_Handler")]] void IRQ##n##_Handler(void)
139#define RA8_IRQ_STUB(n) [[gnu::weak]] void IRQ##n##_Handler(void)
271[[gnu::section(
".vectors"), gnu::used]]
296#define
E(n) IRQ##n##_Handler
461 __asm__
volatile(
"wfi");
479typedef enum : uint32_t {
486#ifndef RA8_OFF_TARGET
501 __asm__
volatile(
"tst lr, #4 \n"
506 "b ra8_exception_report\n");
523 __asm__
volatile(
"tst lr, #4 \n"
528 "b ra8_exception_report\n");
545 __asm__
volatile(
"tst lr, #4 \n"
550 "b ra8_exception_report\n");
567 __asm__
volatile(
"tst lr, #4 \n"
572 "b ra8_exception_report\n");
582 __builtin_unreachable();
587 __builtin_unreachable();
592 __builtin_unreachable();
597 __builtin_unreachable();
609#ifndef RA8_OFF_TARGET
610 __asm__
volatile(
"bkpt #0");
612 __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.
Self-healing LPM register reset for very early boot.
static void ra8_lpm_safe_boot(void)
Restore LPSCR / SBYCR / DPSBYCR to cold-reset values.