Commit d9c75cd7 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] and visws

parent dd6eb371
...@@ -51,4 +51,10 @@ ...@@ -51,4 +51,10 @@
*/ */
#define NR_IRQS 224 #define NR_IRQS 224
#define FPU_IRQ 13
#define FIRST_VM86_IRQ 3
#define LAST_VM86_IRQ 15
#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15)
#endif /* _ASM_IRQ_VECTORS_H */ #endif /* _ASM_IRQ_VECTORS_H */
static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip)
{
CMOS_WRITE(0xa, 0xf);
local_flush_tlb();
Dprintk("1.\n");
*((volatile unsigned short *) TRAMPOLINE_HIGH) = start_eip >> 4;
Dprintk("2.\n");
*((volatile unsigned short *) TRAMPOLINE_LOW) = start_eip & 0xf;
Dprintk("3.\n");
}
/* for visws do nothing for any of these */ /* for visws do nothing for any of these */
static inline void smpboot_clear_io_apic_irqs(void) static inline void smpboot_clear_io_apic_irqs(void)
{ {
} }
static inline void smpboot_setup_warm_reset_vector(void) static inline void smpboot_restore_warm_reset_vector(void)
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment