#include <asm/fixmap.h>
Go to the source code of this file.
#define CO_APIC_8259 12 /* serial, floppy, par-l-l */ |
#define CO_APIC_ENABLE 0x00000100 |
#define CO_APIC_HI |
( |
|
n | ) |
(((n) * 0x10) + 4) |
#define CO_APIC_ID 0x0ffc |
#define CO_APIC_IDE1 2 /* Only on 320 */ |
#define CO_APIC_LEVEL 0x00008000 /* 0 = edge */ |
#define CO_APIC_LI_AUDIO 22 |
#define CO_APIC_LO |
( |
|
n | ) |
((n) * 0x10) |
#define CO_APIC_MASK 0x00010000 /* 0 = enabled */ |
#define CO_APIC_PCIA_BASE0 0 /* and 1 */ /* slot 0, line 0 */ |
#define CO_APIC_PCIA_BASE123 5 /* and 6 */ /* slot 0, line 1 */ |
#define CO_APIC_PCIB_BASE0 8 /* and 9-12 *//* slot 0, line 0 */ |
#define CO_APIC_PCIB_BASE123 13 /* 14.15 */ /* slot 0, line 1 */ |
#define CO_APIC_PHYS 0xc4000000 |
#define CO_APIC_PIIX4_USB 7 /* this one is weird */ |
#define CO_APIC_VADDR (fix_to_virt(FIX_CO_APIC)) |
#define CO_APIC_VIDIN0 18 |
#define CO_APIC_VIDIN1 19 |
#define CO_APIC_VIDOUT0 16 |
#define CO_APIC_VIDOUT1 17 |
#define CO_CPU_NUM_PHYS 0x1e00 |
#define CO_CPU_PHYS 0xc2000000 |
#define CO_CPU_TIMEVAL 0x30 |
#define CO_CPU_VADDR (fix_to_virt(FIX_CO_CPU)) |
#define CO_CTRL_TIMEMASK 0x08 /* 0 == unmasked */ |
#define CO_CTRL_TIMERUN 0x04 /* 0 == disabled */ |
#define CO_IRQ_IDE0 14 /* knowledge of... */ |
#define CO_IRQ_IDE1 15 /* ... ide driver defaults! */ |
#define CO_STAT_TIMEINTR 0x02 /* (r) 1 == int pend, (w) 0 == clear */ |
#define CO_TIME_HZ 100000000 /* Cobalt core rate */ |