coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc.h File Reference
#include <stdint.h>
Include dependency graph for lpc.h:

Go to the source code of this file.

Macros

#define SCI_IRQ_SEL   (7 << 0)
 
#define SCIS_IRQ9   0
 
#define SCIS_IRQ10   1
 
#define SCIS_IRQ11   2
 
#define SCIS_IRQ20   4
 
#define SCIS_IRQ21   5
 
#define SCIS_IRQ22   6
 
#define SCIS_IRQ23   7
 
#define SERIRQ_CNTL   0x64
 
#define LPC_IO_DEC   0x80 /* IO Decode Ranges Register */
 
#define COMA_RANGE   0x0 /* 0x3F8 - 0x3FF COM1*/
 
#define COMB_RANGE   0x1 /* 0x2F8 - 0x2FF COM2*/
 
#define LPC_EN   0x82 /* LPC IF Enables Register */
 
#define LPC_GEN1_DEC   0x84 /* LPC IF Generic Decode Range 1 */
 
#define LPC_GEN2_DEC   0x88 /* LPC IF Generic Decode Range 2 */
 
#define LPC_GEN3_DEC   0x8c /* LPC IF Generic Decode Range 3 */
 
#define LPC_GEN4_DEC   0x90 /* LPC IF Generic Decode Range 4 */
 
#define LGMR   0x98 /* LPC Generic Memory Range */
 
#define PCCTL   0xE0 /* PCI Clock Control */
 
#define CLKRUN_EN   (1 << 0)
 

Macro Definition Documentation

◆ CLKRUN_EN

#define CLKRUN_EN   (1 << 0)

Definition at line 28 of file lpc.h.

◆ COMA_RANGE

#define COMA_RANGE   0x0 /* 0x3F8 - 0x3FF COM1*/

Definition at line 19 of file lpc.h.

◆ COMB_RANGE

#define COMB_RANGE   0x1 /* 0x2F8 - 0x2FF COM2*/

Definition at line 20 of file lpc.h.

◆ LGMR

#define LGMR   0x98 /* LPC Generic Memory Range */

Definition at line 26 of file lpc.h.

◆ LPC_EN

#define LPC_EN   0x82 /* LPC IF Enables Register */

Definition at line 21 of file lpc.h.

◆ LPC_GEN1_DEC

#define LPC_GEN1_DEC   0x84 /* LPC IF Generic Decode Range 1 */

Definition at line 22 of file lpc.h.

◆ LPC_GEN2_DEC

#define LPC_GEN2_DEC   0x88 /* LPC IF Generic Decode Range 2 */

Definition at line 23 of file lpc.h.

◆ LPC_GEN3_DEC

#define LPC_GEN3_DEC   0x8c /* LPC IF Generic Decode Range 3 */

Definition at line 24 of file lpc.h.

◆ LPC_GEN4_DEC

#define LPC_GEN4_DEC   0x90 /* LPC IF Generic Decode Range 4 */

Definition at line 25 of file lpc.h.

◆ LPC_IO_DEC

#define LPC_IO_DEC   0x80 /* IO Decode Ranges Register */

Definition at line 18 of file lpc.h.

◆ PCCTL

#define PCCTL   0xE0 /* PCI Clock Control */

Definition at line 27 of file lpc.h.

◆ SCI_IRQ_SEL

#define SCI_IRQ_SEL   (7 << 0)

Definition at line 9 of file lpc.h.

◆ SCIS_IRQ10

#define SCIS_IRQ10   1

Definition at line 11 of file lpc.h.

◆ SCIS_IRQ11

#define SCIS_IRQ11   2

Definition at line 12 of file lpc.h.

◆ SCIS_IRQ20

#define SCIS_IRQ20   4

Definition at line 13 of file lpc.h.

◆ SCIS_IRQ21

#define SCIS_IRQ21   5

Definition at line 14 of file lpc.h.

◆ SCIS_IRQ22

#define SCIS_IRQ22   6

Definition at line 15 of file lpc.h.

◆ SCIS_IRQ23

#define SCIS_IRQ23   7

Definition at line 16 of file lpc.h.

◆ SCIS_IRQ9

#define SCIS_IRQ9   0

Definition at line 10 of file lpc.h.

◆ SERIRQ_CNTL

#define SERIRQ_CNTL   0x64

Definition at line 17 of file lpc.h.