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