@@ -3,8 +3,8 @@
* definations.
*/
-#ifndef APEI_INTERNAL_H
-#define APEI_INTERNAL_H
+#ifndef DRIVERS__ACPI__APEI__APEI_INTERNAL_H
+#define DRIVERS__ACPI__APEI__APEI_INTERNAL_H
struct apei_exec_context;
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef _ACCONFIG_H
-#define _ACCONFIG_H
+#ifndef ACPI__ACCONFIG_H
+#define ACPI__ACCONFIG_H
/******************************************************************************
*
@@ -203,4 +203,4 @@
#define ACPI_DEBUGGER_COMMAND_PROMPT '-'
#define ACPI_DEBUGGER_EXECUTE_PROMPT '%'
-#endif /* _ACCONFIG_H */
+#endif /* ACPI__ACCONFIG_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACEXCEP_H__
-#define __ACEXCEP_H__
+#ifndef ACPI__ACEXCEP_H
+#define ACPI__ACEXCEP_H
/*
* Exceptions returned by external ACPI interfaces
@@ -300,4 +300,4 @@ char const *__initdata acpi_gbl_exception_names_ctrl[] = {
#endif /* ACPI GLOBALS */
-#endif /* __ACEXCEP_H__ */
+#endif /* ACPI__ACEXCEP_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACGLOBAL_H__
-#define __ACGLOBAL_H__
+#ifndef ACPI__ACGLOBAL_H
+#define ACPI__ACGLOBAL_H
/*
* Ensure that the globals are actually defined and initialized only once.
@@ -110,4 +110,4 @@ extern char const *acpi_gbl_exception_names_ctrl[];
extern struct acpi_bit_register_info
acpi_gbl_bit_register_info[ACPI_NUM_BITREG];
-#endif /* __ACGLOBAL_H__ */
+#endif /* ACPI__ACGLOBAL_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACHWARE_H__
-#define __ACHWARE_H__
+#ifndef ACPI__ACHWARE_H
+#define ACPI__ACHWARE_H
/*
* hwregs - ACPI Register I/O
@@ -59,4 +59,4 @@ acpi_hw_low_level_read(u32 width,
acpi_status
acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address *reg);
-#endif /* __ACHWARE_H__ */
+#endif /* ACPI__ACHWARE_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACLOCAL_H__
-#define __ACLOCAL_H__
+#ifndef ACPI__ACLOCAL_H
+#define ACPI__ACLOCAL_H
/* acpisrc:struct_defs -- for acpisrc conversion */
@@ -204,4 +204,4 @@ struct acpi_bit_register_info {
#define ACPI_ADDRESS_TYPE_IO_RANGE 1
#define ACPI_ADDRESS_TYPE_BUS_NUMBER_RANGE 2
-#endif /* __ACLOCAL_H__ */
+#endif /* ACPI__ACLOCAL_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACMACROS_H__
-#define __ACMACROS_H__
+#ifndef ACPI__ACMACROS_H
+#define ACPI__ACMACROS_H
/*
* Data manipulation macros
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACNAMES_H__
-#define __ACNAMES_H__
+#ifndef ACPI__ACNAMES_H
+#define ACPI__ACNAMES_H
/* Method names - these methods can appear anywhere in the namespace */
@@ -80,4 +80,4 @@
#define ACPI_NS_ROOT_PATH "\\"
#define ACPI_NS_SYSTEM_BUS "_SB_"
-#endif /* __ACNAMES_H__ */
+#endif /* ACPI__ACNAMES_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACOUTPUT_H__
-#define __ACOUTPUT_H__
+#ifndef ACPI__ACOUTPUT_H
+#define ACPI__ACOUTPUT_H
/*
* Debug levels and component IDs. These are used to control the
@@ -182,4 +182,4 @@
#define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_WARN | ACPI_LV_ERROR)
#define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL)
-#endif /* __ACOUTPUT_H__ */
+#endif /* ACPI__ACOUTPUT_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACPI_H__
-#define __ACPI_H__
+#ifndef ACPI__ACPI_H
+#define ACPI__ACPI_H
#define PREFIX "ACPI: "
@@ -66,4 +66,4 @@
#include "achware.h" /* Hardware defines and interfaces */
#include "acutils.h" /* Utility interfaces */
-#endif /* __ACPI_H__ */
+#endif /* ACPI__ACPI_H */
@@ -44,8 +44,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACPIOSXF_H__
-#define __ACPIOSXF_H__
+#ifndef ACPI__ACPIOSXF_H
+#define ACPI__ACPIOSXF_H
#include "platform/acenv.h"
#include "actypes.h"
@@ -86,4 +86,4 @@ void ACPI_INTERNAL_VAR_XFACE acpi_os_printf(const char *format, ...);
void acpi_os_vprintf(const char *format, va_list args);
-#endif /* __ACPIOSXF_H__ */
+#endif /* ACPI__ACPIOSXF_H */
@@ -42,8 +42,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACXFACE_H__
-#define __ACXFACE_H__
+#ifndef ACPI__ACPIXF_H
+#define ACPI__ACPIXF_H
#include "actypes.h"
#include "actbl.h"
@@ -116,4 +116,4 @@ acpi_status acpi_leave_sleep_state_prep(u8 sleep_state);
acpi_status acpi_leave_sleep_state(u8 sleep_state);
-#endif /* __ACXFACE_H__ */
+#endif /* ACPI__ACPIXF_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTABLES_H__
-#define __ACTABLES_H__
+#ifndef ACPI__ACTABLES_H
+#define ACPI__ACTABLES_H
acpi_status acpi_allocate_root_table(u32 initial_table_count);
@@ -104,4 +104,4 @@ acpi_tb_install_table(acpi_physical_address address,
acpi_status
acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags);
-#endif /* __ACTABLES_H__ */
+#endif /* ACPI__ACTABLES_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTBL_H__
-#define __ACTBL_H__
+#ifndef ACPI__ACTBL_H
+#define ACPI__ACTBL_H
/*******************************************************************************
*
@@ -358,4 +358,4 @@ enum acpi_prefered_pm_profiles {
#define ACPI_FADT_V5_SIZE (u32) (ACPI_FADT_OFFSET (hypervisor_id))
#define ACPI_FADT_V6_SIZE (u32) (sizeof (struct acpi_table_fadt))
-#endif /* __ACTBL_H__ */
+#endif /* ACPI__ACTBL_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTBL1_H__
-#define __ACTBL1_H__
+#ifndef ACPI__ACTBL1_H
+#define ACPI__ACTBL1_H
/*******************************************************************************
*
@@ -1012,4 +1012,4 @@ struct acpi_srat_x2apic_cpu_affinity {
#pragma pack()
-#endif /* __ACTBL1_H__ */
+#endif /* ACPI__ACTBL1_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTBL2_H__
-#define __ACTBL2_H__
+#ifndef ACPI__ACTBL2_H
+#define ACPI__ACTBL2_H
/*******************************************************************************
*
@@ -1268,4 +1268,4 @@ struct acpi_table_wdrt {
#pragma pack()
-#endif /* __ACTBL2_H__ */
+#endif /* ACPI__ACTBL2_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTBL3_H__
-#define __ACTBL3_H__
+#ifndef ACPI__ACTBL3_H
+#define ACPI__ACTBL3_H
/*******************************************************************************
*
@@ -639,4 +639,4 @@ struct acpi_table_stao {
#pragma pack()
-#endif /* __ACTBL3_H__ */
+#endif /* ACPI__ACTBL3_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACTYPES_H__
-#define __ACTYPES_H__
+#ifndef ACPI__ACTYPES_H
+#define ACPI__ACTYPES_H
/* acpisrc:struct_defs -- for acpisrc conversion */
@@ -724,4 +724,4 @@ struct acpi_buffer {
#define ACPI_PRODUCER (u8) 0x00
#define ACPI_CONSUMER (u8) 0x01
-#endif /* __ACTYPES_H__ */
+#endif /* ACPI__ACTYPES_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef _ACUTILS_H
-#define _ACUTILS_H
+#ifndef ACPI__ACUTILS_H
+#define ACPI__ACUTILS_H
/* Types for Resource descriptor entries */
@@ -196,4 +196,4 @@ acpi_ut_info(const char *module_name,
*/
const char *acpi_ut_validate_exception(acpi_status status);
-#endif /* _ACUTILS_H */
+#endif /* ACPI__ACUTILS_H */
@@ -2,8 +2,8 @@
* apei.h - ACPI Platform Error Interface
*/
-#ifndef ACPI_APEI_H
-#define ACPI_APEI_H
+#ifndef ACPI__APEI_H
+#define ACPI__APEI_H
#include <xen/acpi.h>
#include <xen/cper.h>
@@ -11,8 +11,8 @@
* published by the Free Software Foundation.
*/
-#ifndef __XEN_CPUFREQ_PM_H__
-#define __XEN_CPUFREQ_PM_H__
+#ifndef ACPI__CPUFREQ__CPUFREQ_H
+#define ACPI__CPUFREQ__CPUFREQ_H
#include <xen/types.h>
#include <xen/list.h>
@@ -267,4 +267,4 @@ int set_hwp_para(struct cpufreq_policy *policy,
int acpi_cpufreq_register(void);
-#endif /* __XEN_CPUFREQ_PM_H__ */
+#endif /* ACPI__CPUFREQ__CPUFREQ_H */
@@ -1,5 +1,5 @@
-#ifndef __XEN_PROCESSOR_PM_H__
-#define __XEN_PROCESSOR_PM_H__
+#ifndef ACPI__CPUFREQ__PROCESSOR_PERF_H
+#define ACPI__CPUFREQ__PROCESSOR_PERF_H
#include <public/platform.h>
#include <public/sysctl.h>
@@ -59,4 +59,4 @@ struct pm_px {
DECLARE_PER_CPU(struct pm_px *, cpufreq_statistic_data);
int cpufreq_cpu_init(unsigned int cpu);
-#endif /* __XEN_PROCESSOR_PM_H__ */
+#endif /* ACPI__CPUFREQ__PROCESSOR_PERF_H */
@@ -1,8 +1,8 @@
/* _PDC bit definition for Intel processors */
-#ifndef __PDC_INTEL_H__
-#define __PDC_INTEL_H__
+#ifndef ACPI__PDC_INTEL_H
+#define ACPI__PDC_INTEL_H
#define ACPI_PDC_REVISION_ID 1
@@ -48,4 +48,4 @@
#define ACPI_PDC_T_MASK (ACPI_PDC_T_FFH | \
ACPI_PDC_SMP_T_SWCOORD)
-#endif /* __PDC_INTEL_H__ */
+#endif /* ACPI__PDC_INTEL_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACENV_H__
-#define __ACENV_H__
+#ifndef ACPI__PLATFORM__ACENV_H
+#define ACPI__PLATFORM__ACENV_H
/*
* Configuration for ACPI tools and utilities
@@ -362,4 +362,4 @@ typedef char *va_list;
* headers.
*
*****************************************************************************/
-#endif /* __ACENV_H__ */
+#endif /* ACPI__PLATFORM__ACENV_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACGCC_H__
-#define __ACGCC_H__
+#ifndef ACPI__PLATFORM__ACGCC_H
+#define ACPI__PLATFORM__ACGCC_H
/* Function name is used for debug output. Non-ANSI, compiler-dependent */
@@ -62,4 +62,4 @@
*/
#define ACPI_UNUSED_VAR __attribute__ ((unused))
-#endif /* __ACGCC_H__ */
+#endif /* ACPI__PLATFORM__ACGCC_H */
@@ -41,8 +41,8 @@
* POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef __ACLINUX_H__
-#define __ACLINUX_H__
+#ifndef ACPI__PLATFORM__ACLINUX_H
+#define ACPI__PLATFORM__ACLINUX_H
#define ACPI_USE_SYSTEM_CLIBRARY
#define ACPI_USE_DO_WHILE_0
@@ -82,4 +82,4 @@ void acpi_os_free_memory(void *ptr);
#define ACPI_ALLOCATE_ZEROED(a) acpi_os_zalloc_memory(a)
#define ACPI_FREE(a) acpi_os_free_memory(a)
-#endif /* __ACLINUX_H__ */
+#endif /* ACPI__PLATFORM__ACLINUX_H */
Updated headers related to ACPI. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> --- xen/drivers/acpi/apei/apei-internal.h | 4 ++-- xen/include/acpi/acconfig.h | 6 +++--- xen/include/acpi/acexcep.h | 6 +++--- xen/include/acpi/acglobal.h | 6 +++--- xen/include/acpi/achware.h | 6 +++--- xen/include/acpi/aclocal.h | 6 +++--- xen/include/acpi/acmacros.h | 4 ++-- xen/include/acpi/acnames.h | 6 +++--- xen/include/acpi/acoutput.h | 6 +++--- xen/include/acpi/acpi.h | 6 +++--- xen/include/acpi/acpiosxf.h | 6 +++--- xen/include/acpi/acpixf.h | 6 +++--- xen/include/acpi/actables.h | 6 +++--- xen/include/acpi/actbl.h | 6 +++--- xen/include/acpi/actbl1.h | 6 +++--- xen/include/acpi/actbl2.h | 6 +++--- xen/include/acpi/actbl3.h | 6 +++--- xen/include/acpi/actypes.h | 6 +++--- xen/include/acpi/acutils.h | 6 +++--- xen/include/acpi/apei.h | 4 ++-- xen/include/acpi/cpufreq/cpufreq.h | 6 +++--- xen/include/acpi/cpufreq/processor_perf.h | 6 +++--- xen/include/acpi/pdc_intel.h | 6 +++--- xen/include/acpi/platform/acenv.h | 6 +++--- xen/include/acpi/platform/acgcc.h | 6 +++--- xen/include/acpi/platform/aclinux.h | 6 +++--- 26 files changed, 75 insertions(+), 75 deletions(-)