acpica_machdep.h (197439) | acpica_machdep.h (252280) |
---|---|
1/*- 2 * Copyright (c) 2002 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 --- 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) 2002 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 --- 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/i386/include/acpica_machdep.h 197439 2009-09-23 15:42:35Z jhb $ | 26 * $FreeBSD: head/sys/i386/include/acpica_machdep.h 252280 2013-06-27 00:22:40Z jkim $ |
27 */ 28 29/****************************************************************************** 30 * 31 * Name: acpica_machdep.h - arch-specific defines, etc. 32 * $Revision$ 33 * 34 *****************************************************************************/ --- 48 unchanged lines hidden (view full) --- 83 84#define ACPI_SHIFT_RIGHT_64(n_hi, n_lo) \ 85 asm("shrl $1,%2;" \ 86 "rcrl $1,%3;" \ 87 :"=r"(n_hi), "=r"(n_lo) \ 88 :"0"(n_hi), "1"(n_lo)) 89 90/*! [End] no source code translation !*/ | 27 */ 28 29/****************************************************************************** 30 * 31 * Name: acpica_machdep.h - arch-specific defines, etc. 32 * $Revision$ 33 * 34 *****************************************************************************/ --- 48 unchanged lines hidden (view full) --- 83 84#define ACPI_SHIFT_RIGHT_64(n_hi, n_lo) \ 85 asm("shrl $1,%2;" \ 86 "rcrl $1,%3;" \ 87 :"=r"(n_hi), "=r"(n_lo) \ 88 :"0"(n_hi), "1"(n_lo)) 89 90/*! [End] no source code translation !*/ |
91#endif /* _KERNEL */ | |
92 | 91 |
93#define ACPI_MACHINE_WIDTH 32 94#define COMPILER_DEPENDENT_INT64 long long 95#define COMPILER_DEPENDENT_UINT64 unsigned long long 96#define ACPI_USE_NATIVE_DIVIDE 97 | |
98void acpi_SetDefaultIntrModel(int model); 99void acpi_cpu_c1(void); 100void *acpi_map_table(vm_paddr_t pa, const char *sig); 101void acpi_unmap_table(void *table); 102vm_paddr_t acpi_find_table(const char *sig); 103 | 92void acpi_SetDefaultIntrModel(int model); 93void acpi_cpu_c1(void); 94void *acpi_map_table(vm_paddr_t pa, const char *sig); 95void acpi_unmap_table(void *table); 96vm_paddr_t acpi_find_table(const char *sig); 97 |
98#endif /* _KERNEL */ 99 |
|
104#endif /* __ACPICA_MACHDEP_H__ */ | 100#endif /* __ACPICA_MACHDEP_H__ */ |