26 lines
447 B
C
26 lines
447 B
C
|
/*
|
||
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2021-04-29 Carl the first version
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef __FT2004_H__
|
||
|
#define __FT2004_H__
|
||
|
|
||
|
#include <rthw.h>
|
||
|
#include <rtthread.h>
|
||
|
|
||
|
#define ARM_GIC_NR_IRQS 160
|
||
|
#define ARM_GIC_MAX_NR 1
|
||
|
#define MAX_HANDLERS 160
|
||
|
#define GIC_IRQ_START 0
|
||
|
|
||
|
rt_uint64_t get_main_cpu_affval(void);
|
||
|
|
||
|
#endif // !
|