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_STAT	0x10000003	/* Low level cpu statistics */
12
13struct processor_cpu_stat {
14	uint32_t	irq_ex_cnt;
15	uint32_t	ipi_cnt;
16	uint32_t	timer_cnt;
17	uint32_t	undef_ex_cnt;
18	uint32_t	unaligned_cnt;
19	uint32_t	vfp_cnt;
20	uint32_t	vfp_shortv_cnt;
21	uint32_t	data_ex_cnt;
22	uint32_t	instr_ex_cnt;
23};
24
25typedef	struct processor_cpu_stat	processor_cpu_stat_data_t;
26typedef struct processor_cpu_stat	*processor_cpu_stat_t;
27#define PROCESSOR_CPU_STAT_COUNT	((mach_msg_type_number_t) \
28		(sizeof(processor_cpu_stat_data_t)/sizeof(natural_t)))
29
30
31#endif /* _MACH_ARM_PROCESSOR_INFO_H_ */
32