2 * Copyright (c) 1993-1995, 1999-2000 Apple Computer, Inc.
5 * @APPLE_OSREFERENCE_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. The rights granted to you under the License
11 * may not be used to create, or enable the creation or redistribution of,
12 * unlawful or unlicensed copies of an Apple operating system, or to
13 * circumvent, violate, or enable the circumvention or violation of, any
14 * terms of an Apple operating system software license agreement.
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this file.
19 * The Original Code and all software distributed under the License are
20 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
21 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
22 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
24 * Please see the License for the specific language governing rights and
25 * limitations under the License.
27 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
30 * Declarations for timer interrupt callouts.
34 * 20 December 2000 (debo)
38 #ifndef _KERN_TIMER_CALL_H_
39 #define _KERN_TIMER_CALL_H_
41 #include <mach/mach_types.h>
43 #ifdef MACH_KERNEL_PRIVATE
45 typedef struct call_entry
*timer_call_t
;
46 typedef void *timer_call_param_t
;
47 typedef void (*timer_call_func_t
)(
48 timer_call_param_t param0
,
49 timer_call_param_t param1
);
59 timer_call_param_t param1
,
67 timer_call_is_delayed(
71 #include <kern/call_entry.h>
73 typedef struct call_entry timer_call_data_t
;
76 timer_call_initialize(void);
81 timer_call_func_t func
,
82 timer_call_param_t param0
);
86 processor_t processor
);
88 #endif /* MACH_KERNEL_PRIVATE */
90 #endif /* _KERN_TIMER_CALL_H_ */