Deleted Added
full compact
hwpmc_core.h (210012) hwpmc_core.h (210621)
1/*-
2 * Copyright (c) 2008 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2008 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/hwpmc/hwpmc_core.h 210012 2010-07-13 19:37:45Z gnn $
26 * $FreeBSD: head/sys/dev/hwpmc/hwpmc_core.h 210621 2010-07-29 17:52:23Z gnn $
27 */
28
29#ifndef _DEV_HWPMC_CORE_H_
30#define _DEV_HWPMC_CORE_H_ 1
31
32/*
33 * Fixed-function PMCs.
34 */

--- 104 unchanged lines hidden (view full) ---

139 * 33 IAF Counter 1 Enable
140 * 32 IAF Counter 0 Enable
141 * 31-0 Depends on programmable counters
142 */
143
144/* The mask is only for the fixed porttion of the register. */
145#define IAF_GLOBAL_CTRL_MASK 0x0000000700000000
146
27 */
28
29#ifndef _DEV_HWPMC_CORE_H_
30#define _DEV_HWPMC_CORE_H_ 1
31
32/*
33 * Fixed-function PMCs.
34 */

--- 104 unchanged lines hidden (view full) ---

139 * 33 IAF Counter 1 Enable
140 * 32 IAF Counter 0 Enable
141 * 31-0 Depends on programmable counters
142 */
143
144/* The mask is only for the fixed porttion of the register. */
145#define IAF_GLOBAL_CTRL_MASK 0x0000000700000000
146
147/* The mask is only for the programmable porttion of the register. */
148#define IAP_GLOBAL_CTRL_MASK 0x00000000ffffffff
149
150/* The mask is for both the fixed and programmable porttions of the register. */
151#define IA_GLOBAL_CTRL_MASK 0x00000007ffffffff
152
147#define IA_GLOBAL_OVF_CTRL 0x390
148
149#define IA_GLOBAL_STATUS_FLAG_CONDCHG (1ULL << 63)
150#define IA_GLOBAL_STATUS_FLAG_OVFBUF (1ULL << 62)
151
152/*
153 * Offcore response configuration.
154 */

--- 30 unchanged lines hidden ---
153#define IA_GLOBAL_OVF_CTRL 0x390
154
155#define IA_GLOBAL_STATUS_FLAG_CONDCHG (1ULL << 63)
156#define IA_GLOBAL_STATUS_FLAG_OVFBUF (1ULL << 62)
157
158/*
159 * Offcore response configuration.
160 */

--- 30 unchanged lines hidden ---