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