2 * Copyright (c) 1993-1995, 1999-2000 Apple Computer, Inc.
5 * @APPLE_LICENSE_HEADER_START@
7 * This file contains Original Code and/or Modifications of Original Code
8 * as defined in and that are subject to the Apple Public Source License
9 * Version 2.0 (the 'License'). You may not use this file except in
10 * compliance with the License. Please obtain a copy of the License at
11 * http://www.opensource.apple.com/apsl/ and read it before using this
14 * The Original Code and all software distributed under the License are
15 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
19 * Please see the License for the specific language governing rights and
20 * limitations under the License.
22 * @APPLE_LICENSE_HEADER_END@
25 * Declarations for timer interrupt callouts.
29 * 20 December 2000 (debo)
33 #ifndef _KERN_TIMER_CALL_H_
34 #define _KERN_TIMER_CALL_H_
36 #include <mach/mach_types.h>
38 #ifdef MACH_KERNEL_PRIVATE
40 typedef struct call_entry
*timer_call_t
;
41 typedef void *timer_call_param_t
;
42 typedef void (*timer_call_func_t
)(
43 timer_call_param_t param0
,
44 timer_call_param_t param1
);
54 timer_call_param_t param1
,
62 timer_call_is_delayed(
66 #include <kern/call_entry.h>
68 typedef struct call_entry timer_call_data_t
;
71 timer_call_initialize(void);
76 timer_call_func_t func
,
77 timer_call_param_t param0
);
81 processor_t processor
);
83 #endif /* MACH_KERNEL_PRIVATE */
85 #endif /* _KERN_TIMER_CALL_H_ */