2014-07-14 19:32:44 +00:00
|
|
|
(*
|
|
|
|
* Copyright 2014, General Dynamics C4 Systems
|
|
|
|
*
|
2020-03-09 06:18:30 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only
|
2014-07-14 19:32:44 +00:00
|
|
|
*)
|
|
|
|
|
|
|
|
theory Interrupt_H
|
|
|
|
imports
|
|
|
|
RetypeDecls_H
|
2020-10-31 06:30:58 +00:00
|
|
|
ArchInterrupt_H
|
2015-11-02 00:00:32 +00:00
|
|
|
Notification_H
|
2014-07-14 19:32:44 +00:00
|
|
|
CNode_H
|
|
|
|
KI_Decls_H
|
2016-01-12 05:39:35 +00:00
|
|
|
InterruptDecls_H
|
2014-07-14 19:32:44 +00:00
|
|
|
begin
|
|
|
|
|
2016-04-30 06:25:20 +00:00
|
|
|
context Arch begin
|
|
|
|
|
|
|
|
requalify_consts
|
|
|
|
checkIRQ
|
|
|
|
decodeIRQControlInvocation
|
|
|
|
performIRQControl
|
2020-04-28 05:53:25 +00:00
|
|
|
invokeIRQHandler
|
2016-07-20 03:49:39 +00:00
|
|
|
initInterruptController
|
|
|
|
handleReservedIRQ
|
2020-04-29 01:16:31 +00:00
|
|
|
maskIrqSignal
|
2016-04-30 06:25:20 +00:00
|
|
|
|
2016-05-04 03:28:20 +00:00
|
|
|
context begin global_naming global
|
|
|
|
requalify_consts
|
|
|
|
InterruptDecls_H.decodeIRQControlInvocation
|
|
|
|
InterruptDecls_H.performIRQControl
|
|
|
|
end
|
2016-04-30 06:25:20 +00:00
|
|
|
|
2016-05-04 03:28:20 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
context begin interpretation Arch .
|
|
|
|
|
|
|
|
requalify_consts
|
2016-04-01 04:08:22 +00:00
|
|
|
maxIRQ
|
|
|
|
minIRQ
|
|
|
|
maskInterrupt
|
|
|
|
ackInterrupt
|
|
|
|
resetTimer
|
|
|
|
debugPrint
|
2016-01-20 23:22:48 +00:00
|
|
|
|
2016-04-30 06:25:20 +00:00
|
|
|
end
|
|
|
|
|
2014-07-14 19:32:44 +00:00
|
|
|
#INCLUDE_HASKELL_PREPARSE SEL4/Object/Structures.lhs
|
2016-04-01 04:08:22 +00:00
|
|
|
#INCLUDE_HASKELL SEL4/Object/Interrupt.lhs bodies_only
|
2014-07-14 19:32:44 +00:00
|
|
|
|
|
|
|
end
|