gonzui


Format: Advanced Search

mtkernel_3/kernel/sysdepend/cpu/core/armv7a/sysdepend.hbare sourcepermlink (0.00 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.05
    4:  *
    5:  *    Copyright (C) 2006-2021 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2021/11.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      sysdepend.h (ARMv7-A)
   16:  *      System-Dependent local defined
   17:  */
   18: 
   19: #ifndef _SYSDEPEND_CPU_CORE_SYSDEPEND_
   20: #define _SYSDEPEND_CPU_CORE_SYSDEPEND_
   21: 
   22: /*
   23:  *    Reset Handler (reset_hdl.S)
   24:  */
   25: IMPORT void Reset_Handler(void);                /* Reset Handler */
   26: 
   27: /*
   28:  *    Exception Handler (exc_hdr.c)
   29:  */
   30: IMPORT void UndefinedInst_Handler(void);        /* Undefined instruction exception handler */
   31: IMPORT void PrefetchAbort_Handler(void);        /* Prefetch abort exception handler */
   32: IMPORT void DataAbort_Handler(void);            /* Data abort exception handler */
   33: IMPORT void VFPInvalid_Handler(void);           /* VFP invalid handler */
   34: 
   35: IMPORT void Default_Handler(void);              /* Default Handler (Undefine Interrupt) */
   36: IMPORT void SVC_default_Handler(void);          /* SVC default Handler (Undefine SVC) */
   37: 
   38: /*
   39:  * Dispatcher (dispatch.S)
   40:  */
   41: IMPORT void knl_dispatch_entry(void);           /* dispatch entry */
   42: IMPORT void knl_dispatch_to_schedtsk(void);     /* force dispatch */
   43: 
   44: /*
   45:  * Interrupt Control (interrupt.c)
   46:  */
   47: IMPORT FP knl_intvec_tbl[N_INTVEC];             /* Interrupt vector table */
   48: IMPORT FP knl_hll_inthdr_tbl[N_INTVEC];         /* High level programming language interrupt handler table */
   49: IMPORT const FP knl_svcvec_tbl[N_SVCHDR];       /* SVC handler tavle */
   50: 
   51: /*
   52:  * Interrupt Control (int_asm.S)
   53:  */
   54: IMPORT void knl_hll_inthdr(void);               /* High level programming language routine for interrupt handler */
   55: 
   56: 
   57: /*
   58:  * Task context block
   59:  */
   60: typedef struct {
   61:         void   *ssp;             /* System stack pointer */
   62: } CTXB;
   63: 
   64: 
   65: #endif /* _SYSDEPEND_CPU_CORE_SYSDEPEND_ */