1/****************************************************************************** 2 * 3 * Name: acfreebsd.h - OS specific defines, etc. 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 35 unchanged lines hidden (view full) --- 44#ifndef __ACFREEBSD_H__ 45#define __ACFREEBSD_H__ 46 47 48/* FreeBSD uses GCC */ 49 50#include <contrib/dev/acpica/include/platform/acgcc.h> 51#include <sys/types.h> |
52 |
53#ifdef __LP64__ 54#define ACPI_MACHINE_WIDTH 64 55#else 56#define ACPI_MACHINE_WIDTH 32 57#endif 58 59#define COMPILER_DEPENDENT_INT64 int64_t 60#define COMPILER_DEPENDENT_UINT64 uint64_t 61 |
62#define ACPI_UINTPTR_T uintptr_t 63 64#define ACPI_USE_DO_WHILE_0 65#define ACPI_USE_LOCAL_CACHE |
66#define ACPI_USE_NATIVE_DIVIDE |
67#define ACPI_USE_SYSTEM_CLIBRARY 68 69#ifdef _KERNEL 70 71#include <sys/ctype.h> 72#include <sys/param.h> 73#include <sys/systm.h> 74#include <sys/libkern.h> |
75#include <machine/acpica_machdep.h> |
76#include <machine/stdarg.h> 77 78#include "opt_acpi.h" 79 80#define ACPI_MUTEX_TYPE ACPI_OSL_MUTEX 81 82#ifdef ACPI_DEBUG 83#define ACPI_DEBUG_OUTPUT /* for backward compatibility */ --- 32 unchanged lines hidden --- |