Deleted Added
full compact
hwpstate.c (192029) hwpstate.c (193530)
1/*-
2 * Copyright (c) 2005 Nate Lawson
3 * Copyright (c) 2004 Colin Percival
4 * Copyright (c) 2004-2005 Bruno Durcot
5 * Copyright (c) 2004 FUKUDA Nobuhiko
6 * Copyright (c) 2009 Michael Reifenberger
7 * Copyright (c) 2009 Norikatsu Shigemura
8 * Copyright (c) 2008-2009 Gen Otsuji

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

39 * For more info:
40 * BIOS and Kernel Developer's Guide(BKDG) for AMD Family 10h Processors
41 * 31116 Rev 3.20 February 04, 2009
42 * BIOS and Kernel Developer's Guide(BKDG) for AMD Family 11h Processors
43 * 41256 Rev 3.00 - July 07, 2008
44 */
45
46#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005 Nate Lawson
3 * Copyright (c) 2004 Colin Percival
4 * Copyright (c) 2004-2005 Bruno Durcot
5 * Copyright (c) 2004 FUKUDA Nobuhiko
6 * Copyright (c) 2009 Michael Reifenberger
7 * Copyright (c) 2009 Norikatsu Shigemura
8 * Copyright (c) 2008-2009 Gen Otsuji

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

39 * For more info:
40 * BIOS and Kernel Developer's Guide(BKDG) for AMD Family 10h Processors
41 * 31116 Rev 3.20 February 04, 2009
42 * BIOS and Kernel Developer's Guide(BKDG) for AMD Family 11h Processors
43 * 41256 Rev 3.00 - July 07, 2008
44 */
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/sys/i386/cpufreq/hwpstate.c 192029 2009-05-12 22:11:02Z brueffer $");
47__FBSDID("$FreeBSD: head/sys/i386/cpufreq/hwpstate.c 193530 2009-06-05 18:44:36Z jkim $");
48
49#include <sys/param.h>
50#include <sys/bus.h>
51#include <sys/cpu.h>
52#include <sys/kernel.h>
53#include <sys/module.h>
54#include <sys/malloc.h>
55#include <sys/proc.h>
56#include <sys/pcpu.h>
57#include <sys/smp.h>
58#include <sys/sched.h>
59
60#include <machine/md_var.h>
61#include <machine/cputypes.h>
62#include <machine/specialreg.h>
63
48
49#include <sys/param.h>
50#include <sys/bus.h>
51#include <sys/cpu.h>
52#include <sys/kernel.h>
53#include <sys/module.h>
54#include <sys/malloc.h>
55#include <sys/proc.h>
56#include <sys/pcpu.h>
57#include <sys/smp.h>
58#include <sys/sched.h>
59
60#include <machine/md_var.h>
61#include <machine/cputypes.h>
62#include <machine/specialreg.h>
63
64#include
64#include <contrib/dev/acpica/include/acpi.h>
65
65#include <dev/acpica/acpivar.h>
66
67#include "acpi_if.h"
68#include "cpufreq_if.h"
69
70#define MSR_AMD_10H_11H_LIMIT 0xc0010061
71#define MSR_AMD_10H_11H_CONTROL 0xc0010062
72#define MSR_AMD_10H_11H_STATUS 0xc0010063

--- 440 unchanged lines hidden ---
66#include <dev/acpica/acpivar.h>
67
68#include "acpi_if.h"
69#include "cpufreq_if.h"
70
71#define MSR_AMD_10H_11H_LIMIT 0xc0010061
72#define MSR_AMD_10H_11H_CONTROL 0xc0010062
73#define MSR_AMD_10H_11H_STATUS 0xc0010063

--- 440 unchanged lines hidden ---