8259A.h 409 B

12345678910111213141516171819202122232425
  1. /**
  2. * @file 8259A.h
  3. * @author longjin
  4. * @brief 8259A中断芯片
  5. * @version 0.1
  6. * @date 2022-01-29
  7. *
  8. * @copyright Copyright (c) 2022
  9. *
  10. */
  11. #pragma once
  12. #include "../../../common/glib.h"
  13. #define PIC_EOI 0x20
  14. #define PIC_master 0x20 /* IO base address for master PIC */
  15. #define PIC2_slave 0xA0 /* IO base address for slave PIC */
  16. // 初始化8259A芯片的中断服务
  17. void init_8259A();