Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
mtrap.c File Reference
#include <stddef.h>
#include "mtrap.h"

Go to the source code of this file.

Overview

Trap and Exception Handling Implementation.

Implements the functions defined in mtrap.h for handling traps and exceptions on the EfxSapphireSoC platform.

Definition in file mtrap.c.

Functions

void trap_entry (void)
 The Main Trap Entry Point (Naked).
void irq_handleExt ()
 External Interrupt Handler (PLIC).
void irq_handleException ()
void crash ()
 Fatal Exception Handler.
void trap ()
 Main C Trap Dispatcher.

Variables

int(* interrupt_vector_table [64])(void)
 Global Interrupt Vector Table.

Function Documentation

◆ irq_handleException()

void irq_handleException ( )

Definition at line 147 of file mtrap.c.