LCOV - code coverage report
Current view: top level - zephyr/arch/arc/v2 - exception.h Coverage Total Hit
Test: new.info Lines: 6.2 % 16 1
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            1 : /*
       2              :  * Copyright (c) 2014 Wind River Systems, Inc.
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief ARCv2 public exception handling
      10              :  *
      11              :  * ARC-specific kernel exception handling interface. Included by arc/arch.h.
      12              :  */
      13              : 
      14              : #ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_EXCEPTION_H_
      15              : #define ZEPHYR_INCLUDE_ARCH_ARC_V2_EXCEPTION_H_
      16              : 
      17              : #ifdef __cplusplus
      18              : extern "C" {
      19              : #endif
      20              : 
      21              : #ifdef __cplusplus
      22              : }
      23              : #endif
      24              : 
      25              : /* ARCv2 Exception vector numbers */
      26            0 : #define ARC_EV_RESET                    0x0
      27            0 : #define ARC_EV_MEM_ERROR                0x1
      28            0 : #define ARC_EV_INS_ERROR                0x2
      29            0 : #define ARC_EV_MACHINE_CHECK            0x3
      30            0 : #define ARC_EV_TLB_MISS_I               0x4
      31            0 : #define ARC_EV_TLB_MISS_D               0x5
      32            0 : #define ARC_EV_PROT_V                   0x6
      33            0 : #define ARC_EV_PRIVILEGE_V              0x7
      34            0 : #define ARC_EV_SWI                      0x8
      35            0 : #define ARC_EV_TRAP                     0x9
      36            0 : #define ARC_EV_EXTENSION                0xA
      37            0 : #define ARC_EV_DIV_ZERO                 0xB
      38            0 : #define ARC_EV_DC_ERROR                 0xC
      39            0 : #define ARC_EV_MISALIGNED               0xD
      40            0 : #define ARC_EV_VEC_UNIT                 0xE
      41              : 
      42              : #endif /* ZEPHYR_INCLUDE_ARCH_ARC_V2_EXCEPTION_H_ */
        

Generated by: LCOV version 2.0-1