1 /* 2 * xc_msr_x86.h 3 * 4 * MSR definition macros 5 * 6 * Copyright (C) 2014 Intel Corporation 7 * Author Dongxiao Xu <dongxiao.xu@intel.com> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU Lesser General Public License as published 11 * by the Free Software Foundation; version 2.1 only. with the special 12 * exception on linking described in file LICENSE. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU Lesser General Public License for more details. 18 */ 19 20 #ifndef XC_MSR_X86_H 21 #define XC_MSR_X86_H 22 23 #define MSR_IA32_TSC 0x00000010 24 #define MSR_IA32_CMT_EVTSEL 0x00000c8d 25 #define MSR_IA32_CMT_CTR 0x00000c8e 26 27 #endif 28 29 /* 30 * Local variables: 31 * mode: C 32 * c-file-style: "BSD" 33 * c-basic-offset: 4 34 * tab-width: 4 35 * indent-tabs-mode: nil 36 * End: 37 */ 38