UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
picirq.c File Reference
#include "types.h"
#include "x86.h"
#include "traps.h"

Go to the source code of this file.

Macros

#define IO_PIC1   0x20
 
#define IO_PIC2   0xA0
 
#define IRQ_SLAVE   2
 

Functions

void picenable (int irq)
 
void picinit (void)
 

Macro Definition Documentation

#define IO_PIC1   0x20

Definition at line 8 of file picirq.c.

#define IO_PIC2   0xA0

Definition at line 9 of file picirq.c.

#define IRQ_SLAVE   2

Definition at line 11 of file picirq.c.

Function Documentation

void picenable ( int  irq)

Definition at line 26 of file picirq.c.

void picinit ( void  )

Definition at line 33 of file picirq.c.