acpi_apm.c (132619) | acpi_apm.c (136366) |
---|---|
1/*- 2 * Copyright (c) 2001 Mitsuru IWASAKI 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 --- 11 unchanged lines hidden (view full) --- 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 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 Mitsuru IWASAKI 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 --- 11 unchanged lines hidden (view full) --- 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 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/i386/acpica/acpi_machdep.c 132619 2004-07-24 22:41:30Z njl $"); | 28__FBSDID("$FreeBSD: head/sys/i386/acpica/acpi_machdep.c 136366 2004-10-11 05:39:15Z njl $"); |
29 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/conf.h> 33#include <sys/fcntl.h> 34#include <sys/kernel.h> 35#include <sys/sysctl.h> 36#include <sys/uio.h> --- 308 unchanged lines hidden (view full) --- 345 * Date must be >= 1/1/1999 or we don't trust ACPI. Note that this 346 * check must be changed by my 114th birthday. 347 */ 348 if (year > 90 && year < 99) 349 *quirks = ACPI_Q_BROKEN; 350 351 return (0); 352} | 29 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/conf.h> 33#include <sys/fcntl.h> 34#include <sys/kernel.h> 35#include <sys/sysctl.h> 36#include <sys/uio.h> --- 308 unchanged lines hidden (view full) --- 345 * Date must be >= 1/1/1999 or we don't trust ACPI. Note that this 346 * check must be changed by my 114th birthday. 347 */ 348 if (year > 90 && year < 99) 349 *quirks = ACPI_Q_BROKEN; 350 351 return (0); 352} |
353 354void 355acpi_cpu_c1() 356{ 357 __asm __volatile("sti; hlt"); 358} |
|