1 /* SPDX-License-Identifier: BSD-3-Clause OR GP 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /********************************************* 2 /****************************************************************************** 3 * 3 * 4 * Module Name: aczephyr.h - OS specific defin 4 * Module Name: aczephyr.h - OS specific defines, etc. 5 * 5 * 6 * Copyright (C) 2000 - 2023, Intel Corp. 6 * Copyright (C) 2000 - 2023, Intel Corp. 7 * 7 * 8 ********************************************* 8 *****************************************************************************/ 9 9 10 #ifndef __ACZEPHYR_H__ 10 #ifndef __ACZEPHYR_H__ 11 #define __ACZEPHYR_H__ 11 #define __ACZEPHYR_H__ 12 12 >> 13 #define SEEK_SET FS_SEEK_SET >> 14 #define SEEK_END FS_SEEK_END >> 15 13 #define ACPI_MACHINE_WIDTH 64 16 #define ACPI_MACHINE_WIDTH 64 14 17 15 #define ACPI_NO_ERROR_MESSAGES 18 #define ACPI_NO_ERROR_MESSAGES 16 #undef ACPI_DEBUG_OUTPUT 19 #undef ACPI_DEBUG_OUTPUT 17 #define ACPI_USE_SYSTEM_CLIBRARY 20 #define ACPI_USE_SYSTEM_CLIBRARY 18 #undef ACPI_DBG_TRACK_ALLOCATIONS 21 #undef ACPI_DBG_TRACK_ALLOCATIONS 19 #define ACPI_SINGLE_THREADED 22 #define ACPI_SINGLE_THREADED 20 #define ACPI_USE_NATIVE_RSDP_POINTER 23 #define ACPI_USE_NATIVE_RSDP_POINTER 21 24 22 #include <zephyr/kernel.h> 25 #include <zephyr/kernel.h> 23 #include <zephyr/device.h> 26 #include <zephyr/device.h> 24 #include <stdio.h> 27 #include <stdio.h> 25 #include <stdlib.h> 28 #include <stdlib.h> 26 #include <string.h> 29 #include <string.h> 27 #include <ctype.h> 30 #include <ctype.h> 28 #include <zephyr/fs/fs.h> 31 #include <zephyr/fs/fs.h> 29 #include <zephyr/sys/printk.h> 32 #include <zephyr/sys/printk.h> 30 #include <zephyr/sys/__assert.h> 33 #include <zephyr/sys/__assert.h> 31 34 32 /********************************************* 35 /****************************************************************************** 33 * 36 * 34 * FUNCTION: acpi_enable_dbg_print 37 * FUNCTION: acpi_enable_dbg_print 35 * 38 * 36 * PARAMETERS: Enable, - 39 * PARAMETERS: Enable, - Enable/Disable debug print 37 * 40 * 38 * RETURN: None 41 * RETURN: None 39 * 42 * 40 * DESCRIPTION: Enable/disable debug print 43 * DESCRIPTION: Enable/disable debug print 41 * 44 * 42 ********************************************* 45 *****************************************************************************/ 43 46 44 void acpi_enable_dbg_print(bool enable); 47 void acpi_enable_dbg_print(bool enable); 45 #endif 48 #endif 46 49
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.