mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.6 KiB
75 lines
1.6 KiB
// TITLE("PCI/ISA Interrupt Handler")
|
|
//++
|
|
//
|
|
// Copyright (c) 1994 Digital Equipment Corporation
|
|
//
|
|
// Module Name:
|
|
//
|
|
// ebintr.s
|
|
//
|
|
// Abstract:
|
|
//
|
|
// This module implements first level interrupt handlers for EB64+
|
|
//
|
|
// During Phase 0 initialization, the appropriate platform-dependent handler
|
|
// is connected.
|
|
//
|
|
// Author:
|
|
//
|
|
// Joe Notarangelo 08-Jul-1993
|
|
//
|
|
// Environment:
|
|
//
|
|
// Kernel mode only.
|
|
//
|
|
// Revision History:
|
|
//
|
|
// 07-Feb-1994 Eric Rehm
|
|
// Make this module platform-dependent.
|
|
//--
|
|
|
|
#include "halalpha.h"
|
|
|
|
SBTTL("PCI Bus Interrupt Handler")
|
|
//++
|
|
//
|
|
// VOID
|
|
// HalpPCIInterruptHandler
|
|
// IN PKINTERRUPT Interrupt,
|
|
// IN PVOID ServiceContext
|
|
// )
|
|
//
|
|
// Routine Description:
|
|
//
|
|
// This function is executed as the result of an interrupt on the I/O
|
|
// bus. The function is responsible for calling HalpPCIDispatch to
|
|
// appropriately dispatch the interrupt.
|
|
//
|
|
// N.B. This function exists only to capture the trap frame and forward
|
|
// the interrupt to HalpPCIDispatch.
|
|
//
|
|
// Arguments:
|
|
//
|
|
// Interrupt (a0) - Supplies a pointer to the interrupt object.
|
|
//
|
|
// ServiceContext (a1) - Supplies a pointer to the service context for
|
|
// EISA interrupts.
|
|
//
|
|
// TrapFrame (fp/s6) - Supplies a pointer to the trap frame for
|
|
// the interrupt.
|
|
//
|
|
// Return Value:
|
|
//
|
|
// None.
|
|
//
|
|
//--
|
|
|
|
LEAF_ENTRY(HalpPCIInterruptHandler)
|
|
|
|
bis fp, zero, a2 // capture trap frame as argument
|
|
br zero, HalpPCIDispatch // ecrfix - dispatch the interrupt to the dual 8259s.
|
|
|
|
ret zero, (ra) // will never get here
|
|
|
|
.end HalpPCIInterruptHandler
|
|
|