Deleted Added
full compact
acpi_cpu.c (91640) acpi_cpu.c (96926)
1/*-
2 * Copyright (c) 2001 Michael Smith
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) 2001 Michael Smith
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/acpica/acpi_cpu.c 91640 2002-03-04 18:46:13Z iwasaki $
26 * $FreeBSD: head/sys/dev/acpica/acpi_cpu.c 96926 2002-05-19 06:16:47Z peter $
27 */
28
29#include "opt_acpi.h"
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/bus.h>
33#include <sys/power.h>
34

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

139 ACPI_OBJECT processor;
140 ACPI_BUFFER buf;
141 ACPI_STATUS status;
142 u_int32_t p_blk;
143 u_int32_t p_blk_length;
144 u_int32_t duty_end;
145 int rid;
146
27 */
28
29#include "opt_acpi.h"
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/bus.h>
33#include <sys/power.h>
34

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

139 ACPI_OBJECT processor;
140 ACPI_BUFFER buf;
141 ACPI_STATUS status;
142 u_int32_t p_blk;
143 u_int32_t p_blk_length;
144 u_int32_t duty_end;
145 int rid;
146
147 ACPI_FUNCTION_TRACE(__func__);
147 ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
148
149 ACPI_ASSERTLOCK;
150
151 sc = device_get_softc(dev);
152 sc->cpu_dev = dev;
153 sc->cpu_handle = acpi_get_handle(dev);
154
155 /*

--- 257 unchanged lines hidden ---
148
149 ACPI_ASSERTLOCK;
150
151 sc = device_get_softc(dev);
152 sc->cpu_dev = dev;
153 sc->cpu_handle = acpi_get_handle(dev);
154
155 /*

--- 257 unchanged lines hidden ---