Upstream | cc2ee17 | 1970-01-12 13:46:40 +0000 | [diff] [blame^] | 1 | /** |
| 2 | * @file op_ia64_model.h |
| 3 | * interface to ia64 model-specific MSR operations |
| 4 | * |
| 5 | * @remark Copyright 2002 OProfile authors |
| 6 | * @remark Read the file COPYING |
| 7 | * |
| 8 | * @author Graydon Hoare |
| 9 | * @author Will Cohen |
| 10 | */ |
| 11 | |
| 12 | #ifndef OP_IA64_MODEL_H |
| 13 | #define OP_IA64_MODEL_H |
| 14 | |
| 15 | #include "oprofile.h" |
| 16 | |
| 17 | struct op_saved_msr { |
| 18 | uint high; |
| 19 | uint low; |
| 20 | }; |
| 21 | |
| 22 | struct op_msr_group { |
| 23 | uint * addrs; |
| 24 | struct op_saved_msr * saved; |
| 25 | }; |
| 26 | |
| 27 | struct op_msrs { |
| 28 | struct op_msr_group counters; |
| 29 | struct op_msr_group controls; |
| 30 | }; |
| 31 | |
| 32 | #endif /* OP_IA64_MODEL_H */ |