1/******************************************************************************
2 *
3 * Name: acfreebsd.h - OS specific defines, etc.
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"
124#include <sys/types.h>
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()
159
160#if __STDC_HOSTED__
161#include <ctype.h>
162#endif
163
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 ---
2 *
3 * Name: acfreebsd.h - OS specific defines, etc.
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"
124#include <sys/types.h>
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()
159
160#if __STDC_HOSTED__
161#include <ctype.h>
162#endif
163
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 ---