Deleted Added
full compact
hwpmc_piv.c (263080) hwpmc_piv.c (277177)
1/*-
2 * Copyright (c) 2003-2007 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

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

24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003-2007 Joseph Koshy
3 * Copyright (c) 2007 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by A. Joseph Koshy under
7 * sponsorship from the FreeBSD Foundation and Google, Inc.
8 *

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

24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_piv.c 263080 2014-03-12 10:25:26Z kib $");
32__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_piv.c 277177 2015-01-14 12:46:58Z rrs $");
33
34#include <sys/param.h>
35#include <sys/bus.h>
36#include <sys/lock.h>
37#include <sys/mutex.h>
38#include <sys/pmc.h>
39#include <sys/pmckern.h>
40#include <sys/smp.h>
41#include <sys/systm.h>
33
34#include <sys/param.h>
35#include <sys/bus.h>
36#include <sys/lock.h>
37#include <sys/mutex.h>
38#include <sys/pmc.h>
39#include <sys/pmckern.h>
40#include <sys/smp.h>
41#include <sys/systm.h>
42
43#include <machine/intr_machdep.h>
42#include <machine/intr_machdep.h>
43#if (__FreeBSD_version >= 1100000)
44#include <x86/apicvar.h>
44#include <x86/apicvar.h>
45#else
46#include <machine/apicvar.h>
47#endif
45#include <machine/cpu.h>
46#include <machine/cpufunc.h>
47#include <machine/cputypes.h>
48#include <machine/md_var.h>
49#include <machine/specialreg.h>
50
51/*
52 * PENTIUM 4 SUPPORT

--- 1645 unchanged lines hidden ---
48#include <machine/cpu.h>
49#include <machine/cpufunc.h>
50#include <machine/cputypes.h>
51#include <machine/md_var.h>
52#include <machine/specialreg.h>
53
54/*
55 * PENTIUM 4 SUPPORT

--- 1645 unchanged lines hidden ---