2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
5 Desc: Add interrupt client to chain of interrupt server
9 #include <aros/asmcall.h>
10 #include <exec/interrupts.h>
12 #include "exec_intern.h"
13 #include "exec_util.h"
15 /* Call this function from within your ColdReboot() implementation
16 in order to execute installed reset handlers.
17 For improved safety callbacks are called in a Disable()d state.
18 This function does not need to Enable(). */
20 void Exec_DoResetCallbacks(struct IntExecBase
*IntSysBase
)
26 for (i
= (struct Interrupt
*)IntSysBase
->ResetHandlers
.lh_Head
; i
->is_Node
.ln_Succ
;
27 i
= (struct Interrupt
*)i
->is_Node
.ln_Succ
)
28 AROS_UFIC1(i
->is_Code
, i
->is_Data
);