]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
d7e50217 | 6 | * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. |
1c79356b | 7 | * |
d7e50217 A |
8 | * This file contains Original Code and/or Modifications of Original Code |
9 | * as defined in and that are subject to the Apple Public Source License | |
10 | * Version 2.0 (the 'License'). You may not use this file except in | |
11 | * compliance with the License. Please obtain a copy of the License at | |
12 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
13 | * file. | |
14 | * | |
15 | * The Original Code and all software distributed under the License are | |
16 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
1c79356b A |
17 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
18 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
d7e50217 A |
19 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
20 | * Please see the License for the specific language governing rights and | |
21 | * limitations under the License. | |
1c79356b A |
22 | * |
23 | * @APPLE_LICENSE_HEADER_END@ | |
24 | */ | |
25 | /* | |
26 | * File: i386/cpu.c | |
27 | * | |
28 | * cpu specific routines | |
29 | */ | |
30 | ||
31 | #include <kern/machine.h> | |
32 | #include <kern/misc_protos.h> | |
9bccf70c | 33 | #include <kern/cpu_data.h> |
1c79356b A |
34 | #include <kern/processor.h> |
35 | #include <mach/processor_info.h> | |
36 | ||
9bccf70c A |
37 | cpu_data_t cpu_data[NCPUS]; |
38 | ||
1c79356b A |
39 | /*ARGSUSED*/ |
40 | kern_return_t | |
41 | cpu_control( | |
42 | int slot_num, | |
43 | processor_info_t info, | |
44 | unsigned int count) | |
45 | { | |
46 | printf("cpu_control not implemented\n"); | |
47 | return (KERN_FAILURE); | |
48 | } | |
49 | ||
50 | /*ARGSUSED*/ | |
51 | kern_return_t | |
52 | cpu_info_count( | |
53 | processor_flavor_t flavor, | |
54 | unsigned int *count) | |
55 | { | |
56 | *count = 0; | |
57 | return (KERN_FAILURE); | |
58 | } | |
59 | ||
60 | /*ARGSUSED*/ | |
61 | kern_return_t | |
62 | cpu_info( | |
63 | processor_flavor_t flavor, | |
64 | int slot_num, | |
65 | processor_info_t info, | |
66 | unsigned int *count) | |
67 | { | |
68 | printf("cpu_info not implemented\n"); | |
69 | return (KERN_FAILURE); | |
70 | } | |
71 | ||
72 | void | |
73 | cpu_sleep() | |
74 | { | |
75 | printf("cpu_sleep not implemented\n"); | |
76 | } |