MOS Source Code
Loading...
Searching...
No Matches
pic.c File Reference
+ Include dependency graph for pic.c:

Go to the source code of this file.

Macros

#define ICW1_ICW4   0x01 /* ICW4 (not) needed */
 
#define ICW1_INIT   0x10 /* Initialization - required! */
 
#define ICW4_8086   0x01 /* 8086/88 (MCS-80/85) mode */
 
#define PIC1   0x20
 
#define PIC2   0xA0
 
#define PIC1_COMMAND   (PIC1)
 
#define PIC1_DATA   (PIC1 + 1)
 
#define PIC2_COMMAND   (PIC2)
 
#define PIC2_DATA   (PIC2 + 1)
 
#define PIC1_OFFSET   0x20
 
#define PIC2_OFFSET   0x28
 

Functions

void pic_remap_irq (void)
 

Macro Definition Documentation

◆ ICW1_ICW4

#define ICW1_ICW4   0x01 /* ICW4 (not) needed */

Definition at line 10 of file pic.c.

Referenced by pic_remap_irq().

◆ ICW1_INIT

#define ICW1_INIT   0x10 /* Initialization - required! */

Definition at line 11 of file pic.c.

Referenced by pic_remap_irq().

◆ ICW4_8086

#define ICW4_8086   0x01 /* 8086/88 (MCS-80/85) mode */

Definition at line 12 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC1

#define PIC1   0x20

Definition at line 14 of file pic.c.

◆ PIC2

#define PIC2   0xA0

Definition at line 15 of file pic.c.

◆ PIC1_COMMAND

#define PIC1_COMMAND   (PIC1)

Definition at line 16 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC1_DATA

#define PIC1_DATA   (PIC1 + 1)

Definition at line 17 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC2_COMMAND

#define PIC2_COMMAND   (PIC2)

Definition at line 18 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC2_DATA

#define PIC2_DATA   (PIC2 + 1)

Definition at line 19 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC1_OFFSET

#define PIC1_OFFSET   0x20

Definition at line 21 of file pic.c.

Referenced by pic_remap_irq().

◆ PIC2_OFFSET

#define PIC2_OFFSET   0x28

Definition at line 22 of file pic.c.

Referenced by pic_remap_irq().

Function Documentation

◆ pic_remap_irq()

void pic_remap_irq ( void )

Definition at line 25 of file pic.c.

Referenced by platform_startup_late().

+ Here is the call graph for this function: