NT4/private/ntos/nthals/haleb64p/alpha/ebintr.s
2020-09-30 17:12:29 +02:00

76 lines
1.6 KiB
ArmAsm
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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