aclinux.h (db6da59cf27b5661ced03754ae0550f8914eda9e) | aclinux.h (7c94858ec17dae9071fa3bdf6b005967b9f146f4) |
---|---|
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2/****************************************************************************** 3 * 4 * Name: aclinux.h - OS specific defines, etc. for Linux 5 * 6 * Copyright (C) 2000 - 2023, Intel Corp. 7 * 8 *****************************************************************************/ --- 168 unchanged lines hidden (view full) --- 177 178#else /* !__KERNEL__ */ 179 180#define ACPI_USE_STANDARD_HEADERS 181 182#ifdef ACPI_USE_STANDARD_HEADERS 183#include <stddef.h> 184#include <unistd.h> | 1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2/****************************************************************************** 3 * 4 * Name: aclinux.h - OS specific defines, etc. for Linux 5 * 6 * Copyright (C) 2000 - 2023, Intel Corp. 7 * 8 *****************************************************************************/ --- 168 unchanged lines hidden (view full) --- 177 178#else /* !__KERNEL__ */ 179 180#define ACPI_USE_STANDARD_HEADERS 181 182#ifdef ACPI_USE_STANDARD_HEADERS 183#include <stddef.h> 184#include <unistd.h> |
185#include <stdint.h> |
|
185 186#define ACPI_OFFSET(d, f) offsetof(d, f) 187#endif 188 189/* Define/disable kernel-specific declarators */ 190 191#ifndef __init 192#define __init --- 32 unchanged lines hidden --- | 186 187#define ACPI_OFFSET(d, f) offsetof(d, f) 188#endif 189 190/* Define/disable kernel-specific declarators */ 191 192#ifndef __init 193#define __init --- 32 unchanged lines hidden --- |