/*
 *----------------------------------------------------------------------
 *    micro T-Kernel 3.00.06
 *
 *    Copyright (C) 2022 by Ken Sakamura.
 *    This software is distributed under the T-License 2.2.
 *----------------------------------------------------------------------
 *
 *    Released by TRON Forum(http://www.tron.org) at 2022/10.
 *
 *----------------------------------------------------------------------
 */

/*
 *	sysdepend.h (RX65N)
 *	System-Dependent local defined
 */

#ifndef _SYSDEPEND_CPU_SYSDEPEND_
#define _SYSDEPEND_CPU_SYSDEPEND_

#include "../core/rxv2/sysdepend.h"

/* ------------------------------------------------------------------------ */
/*
 *    Interrupt control
 */

/* Interrupt Vector Table (ROM) (intvect_tbl.c) */
IMPORT void (* const knl_int_vect_rom[])();

/* HLL Interrupt Handler Table (ROM) (hllint_tbl.c) */
IMPORT void (* const knl_hll_inthdr_rom[])();

#if USE_GROUP_INT
/* Set Group int. handler table */
IMPORT ER knl_define_gint( INT intno, FP inthdr);

/* Common Group interrupt handler */
IMPORT void knl_group_inthdr(UW intno);

#endif /* USE_GROUP_INT */

/* ------------------------------------------------------------------------ */
/*
 *    Clock Setting (cpu_clock.c)
 */
IMPORT void startup_clock(void);
IMPORT void shutdown_clock(void);

#endif /* _SYSDEPEND_CPU_SYSDEPEND_ */