summaryrefslogtreecommitdiff
path: root/tools/libs/ctrl/xc_msr_x86.h
blob: 7f100e71a7a1eb97be160d397c06e22f60f475b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * xc_msr_x86.h
 *
 * MSR definition macros
 *
 * Copyright (C) 2014      Intel Corporation
 * Author Dongxiao Xu <dongxiao.xu@intel.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; version 2.1 only. with the special
 * exception on linking described in file LICENSE.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 */

#ifndef XC_MSR_X86_H
#define XC_MSR_X86_H

#define MSR_IA32_TSC            0x00000010
#define MSR_IA32_CMT_EVTSEL     0x00000c8d
#define MSR_IA32_CMT_CTR        0x00000c8e

#endif

/*
 * Local variables:
 * mode: C
 * c-file-style: "BSD"
 * c-basic-offset: 4
 * tab-width: 4
 * indent-tabs-mode: nil
 * End:
 */