ft2004.h 447 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-04-29 Carl the first version
  9. *
  10. */
  11. #ifndef __FT2004_H__
  12. #define __FT2004_H__
  13. #include <rthw.h>
  14. #include <rtthread.h>
  15. #define ARM_GIC_NR_IRQS 160
  16. #define ARM_GIC_MAX_NR 1
  17. #define MAX_HANDLERS 160
  18. #define GIC_IRQ_START 0
  19. rt_uint64_t get_main_cpu_affval(void);
  20. #endif // !