gic_pl390.h 515 B

123456789101112131415161718192021222324252627
  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-07-31 GuEe-GUI the first version
  9. */
  10. #ifndef GIC_PL390_H__
  11. #define GIC_PL390_H__
  12. #include <board.h>
  13. #define GIC390_SPECIAL_IRQ_START 1020
  14. #define GIC390_IRQ_NONE 1023
  15. void arm_gic_irq_init(void);
  16. int arm_gic_get_active_irq(void);
  17. void arm_gic_ack(int irq);
  18. void arm_gic_mask(int irq);
  19. void arm_gic_umask(int irq);
  20. #endif