ibmpc.h 553 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * (C) Copyright 2002
  3. * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __ASM_IBMPC_H_
  8. #define __ASM_IBMPC_H_ 1
  9. /* misc ports in an ibm compatible pc */
  10. #define MASTER_PIC 0x20
  11. #define PIT_BASE 0x40
  12. #define KBDDATA 0x60
  13. #define SYSCTLB 0x62
  14. #define KBDCMD 0x64
  15. #define SYSCTLA 0x92
  16. #define SLAVE_PIC 0xa0
  17. #define UART0_BASE 0x3f8
  18. #define UART1_BASE 0x2f8
  19. #define UART0_IRQ 4
  20. #define UART1_IRQ 3
  21. #define KBD_IRQ 1
  22. #define MSE_IRQ 12
  23. #endif