Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/include/mach/arm/processor_info.h

Source at commit 1270 created 12 years 8 months ago.
By meklort, Add arm headers. update makefiles
1/*
2 * Copyright (c) 2007 Apple Inc. All rights reserved.
3 */
4/*
5 * FILE_ID: processor_info.h
6 */
7
8#ifndef _MACH_ARM_PROCESSOR_INFO_H_
9#define _MACH_ARM_PROCESSOR_INFO_H_
10
11#define PROCESSOR_CPU_STAT0x10000003/* Low level cpu statistics */
12
13struct processor_cpu_stat {
14uint32_tirq_ex_cnt;
15uint32_tipi_cnt;
16uint32_ttimer_cnt;
17uint32_tundef_ex_cnt;
18uint32_tunaligned_cnt;
19uint32_tvfp_cnt;
20uint32_tdata_ex_cnt;
21uint32_tinstr_ex_cnt;
22};
23
24typedefstruct processor_cpu_statprocessor_cpu_stat_data_t;
25typedef struct processor_cpu_stat*processor_cpu_stat_t;
26#define PROCESSOR_CPU_STAT_COUNT((mach_msg_type_number_t) \
27(sizeof(processor_cpu_stat_data_t)/sizeof(natural_t)))
28
29
30#endif /* _MACH_ARM_PROCESSOR_INFO_H_ */
31

Archive Download this file

Revision: 1270