Deleted Added
full compact
acfreebsd.h (129684) acfreebsd.h (131440)
1/******************************************************************************
2 *
3 * Name: acfreebsd.h - OS specific defines, etc.
1/******************************************************************************
2 *
3 * Name: acfreebsd.h - OS specific defines, etc.
4 * $Revision: 15 $
4 * $Revision: 17 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.

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

116
117#ifndef __ACFREEBSD_H__
118#define __ACFREEBSD_H__
119
120
121/* FreeBSD uses GCC */
122
123#include "acgcc.h"
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.

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

116
117#ifndef __ACFREEBSD_H__
118#define __ACFREEBSD_H__
119
120
121/* FreeBSD uses GCC */
122
123#include "acgcc.h"
124#include <sys/types.h>
124#include <machine/acpica_machdep.h>
125
126#ifdef _KERNEL
127#include "opt_acpi.h"
128#endif
129
130#ifdef ACPI_DEBUG
131#define ACPI_DEBUG_OUTPUT /* for backward compatibility */

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

150#endif /* DDB */
151#endif /* ACPI_DEBUG_OUTPUT */
152
153#else /* _KERNEL */
154
155/* Not building kernel code, so use libc */
156#define ACPI_USE_STANDARD_HEADERS
157#define ACPI_FLUSH_CPU_CACHE()
125#include <machine/acpica_machdep.h>
126
127#ifdef _KERNEL
128#include "opt_acpi.h"
129#endif
130
131#ifdef ACPI_DEBUG
132#define ACPI_DEBUG_OUTPUT /* for backward compatibility */

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

151#endif /* DDB */
152#endif /* ACPI_DEBUG_OUTPUT */
153
154#else /* _KERNEL */
155
156/* Not building kernel code, so use libc */
157#define ACPI_USE_STANDARD_HEADERS
158#define ACPI_FLUSH_CPU_CACHE()
158#include <sys/types.h>
159
159
160#if __STDC_HOSTED__
161#include <ctype.h>
162#endif
163
160#define __cli()
161#define __sti()
162
163#endif /* _KERNEL */
164
165/* Always use FreeBSD code over our local versions */
166#define ACPI_USE_SYSTEM_CLIBRARY
167

--- 35 unchanged lines hidden ---
164#define __cli()
165#define __sti()
166
167#endif /* _KERNEL */
168
169/* Always use FreeBSD code over our local versions */
170#define ACPI_USE_SYSTEM_CLIBRARY
171

--- 35 unchanged lines hidden ---