Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 16 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40931/1
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 86b3932..6bcbb7f 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -5,8 +5,8 @@ * coreboot ACPI support - headers and defines. */
-#ifndef __ASM_ACPI_H -#define __ASM_ACPI_H +#ifndef __ACPI_ACPI_H__ +#define __ACPI_ACPI_H__
/* * The type and enable fields are common in ACPI, but the diff --git a/src/include/acpi/acpi_device.h b/src/include/acpi/acpi_device.h index ed64cd8..1f55423 100644 --- a/src/include/acpi/acpi_device.h +++ b/src/include/acpi/acpi_device.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ACPI_DEVICE_H -#define __ACPI_DEVICE_H +#ifndef __ACPI_ACPI_DEVICE_H__ +#define __ACPI_ACPI_DEVICE_H__
#include <device/i2c.h> #include <stdint.h> diff --git a/src/include/acpi/acpi_ivrs.h b/src/include/acpi/acpi_ivrs.h index 83abfb6..1c0987c 100644 --- a/src/include/acpi/acpi_ivrs.h +++ b/src/include/acpi/acpi_ivrs.h @@ -9,8 +9,8 @@ * I/O Virtualization Reporting Structure (IVRS) */
-#ifndef __ARCH_ACPI_IVRS_H -#define __ARCH_ACPI_IVRS_H +#ifndef __ACPI_ACPI_IVRS_H__ +#define __ACPI_ACPI_IVRS_H__
/* I/O Virtualization Reporting Structure (IVRS) */ #define IVHD_BLOCK_TYPE_LEGACY__FIXED 0x10 diff --git a/src/include/acpi/acpi_pld.h b/src/include/acpi/acpi_pld.h index c518077..bbc1924 100644 --- a/src/include/acpi/acpi_pld.h +++ b/src/include/acpi/acpi_pld.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ACPI_PLD_H -#define __ACPI_PLD_H +#ifndef __ACPI_ACPI_PLD_H__ +#define __ACPI_ACPI_PLD_H__
#include <acpi/acpi.h> #include <stdint.h> diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 8d66e2b..9776d00 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef LIBACPI_H -#define LIBACPI_H +#ifndef __ACPI_ACPIGEN_H__ +#define __ACPI_ACPIGEN_H__
#include <stdint.h> #include <acpi/acpi.h> diff --git a/src/include/acpi/acpigen_dsm.h b/src/include/acpi/acpigen_dsm.h index c51c12b..28b8974 100644 --- a/src/include/acpi/acpigen_dsm.h +++ b/src/include/acpi/acpigen_dsm.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ARCH_ACPIGEN_DSM_H__ -#define __ARCH_ACPIGEN_DSM_H__ +#ifndef __ACPI_ACPIGEN_DSM_H__ +#define __ACPI_ACPIGEN_DSM_H__
#include <stdint.h>
@@ -12,4 +12,4 @@
void acpigen_write_dsm_i2c_hid(struct dsm_i2c_hid_config *config);
-#endif /* __ARCH_ACPIGEN_DSM_H__ */ +#endif /* __ACPI_ACPIGEN_DSM_H__ */ diff --git a/src/include/acpi/acpigen_ps2_keybd.h b/src/include/acpi/acpigen_ps2_keybd.h index c0228bc..aeeacae 100644 --- a/src/include/acpi/acpigen_ps2_keybd.h +++ b/src/include/acpi/acpigen_ps2_keybd.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: GPL-2.0-or-later */
-#ifndef __ACPIGEN_PS2_KEYBD_H__ -#define __ACPIGEN_PS2_KEYBD_H__ +#ifndef __ACPI_ACPIGEN_PS2_KEYBD_H__ +#define __ACPI_ACPIGEN_PS2_KEYBD_H__
#include <types.h>
@@ -38,4 +38,4 @@ bool can_send_function_keys, bool has_numeric_keypad, bool has_scrnlock_key);
-#endif /* __ACPIGEN_PS2_KEYBD_H__ */ +#endif /* __ACPI_ACPIGEN_PS2_KEYBD_H__ */
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40931
to look at the new patch set (#2).
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40931/2
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40931
to look at the new patch set (#3).
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40931/3
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 4: Code-Review+2
Hello build bot (Jenkins), Aaron Durbin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40931
to look at the new patch set (#6).
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40931/6
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 8: Code-Review+2
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 8: Code-Review+2
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 8: Code-Review+1
(3 comments)
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpi.h File src/include/acpi/acpi.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpi.h@105... PS8, Line 1051: __ASM_ACPI_H please change this
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ds... File src/include/acpi/acpigen_dsm.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ds... PS8, Line 15: __ARCH_ACPIGEN_DSM_H__ __ACPI_ACPIGEN_DSM_H__
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ps... File src/include/acpi/acpigen_ps2_keybd.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ps... PS8, Line 41: __ACPIGEN_PS2_KEYBD_H__ __ACPI_ACPIGEN_PS2_KEYBD_H__
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 8:
(3 comments)
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpi.h File src/include/acpi/acpi.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpi.h@105... PS8, Line 1051: __ASM_ACPI_H
please change this
Done
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ds... File src/include/acpi/acpigen_dsm.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ds... PS8, Line 15: __ARCH_ACPIGEN_DSM_H__
__ACPI_ACPIGEN_DSM_H__
Done
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ps... File src/include/acpi/acpigen_ps2_keybd.h:
https://review.coreboot.org/c/coreboot/+/40931/8/src/include/acpi/acpigen_ps... PS8, Line 41: __ACPIGEN_PS2_KEYBD_H__
__ACPI_ACPIGEN_PS2_KEYBD_H__
Done
Hello build bot (Jenkins), Raul Rangel, Duncan Laurie, Aaron Durbin, HAOUAS Elyes,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40931
to look at the new patch set (#9).
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 21 insertions(+), 21 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/40931/9
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
Patch Set 9: Code-Review+2
Furquan Shaikh has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40931 )
Change subject: acpi: Make header #ifdefs consistent ......................................................................
acpi: Make header #ifdefs consistent
Now that all ACPI header files are moved to src/include/acpi, this change updates the #ifdef to __ACPI_${FILENAME}__.
BUG=b:155428745
Change-Id: Id24ee35bac318278871a26f98be7092604de01c0 Signed-off-by: Furquan Shaikh furquan@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/40931 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/include/acpi/acpi.h M src/include/acpi/acpi_device.h M src/include/acpi/acpi_ivrs.h M src/include/acpi/acpi_pld.h M src/include/acpi/acpigen.h M src/include/acpi/acpigen_dsm.h M src/include/acpi/acpigen_ps2_keybd.h 7 files changed, 21 insertions(+), 21 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 5314d78..95080b2 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -5,8 +5,8 @@ * coreboot ACPI support - headers and defines. */
-#ifndef __ASM_ACPI_H -#define __ASM_ACPI_H +#ifndef __ACPI_ACPI_H__ +#define __ACPI_ACPI_H__
/* * The type and enable fields are common in ACPI, but the @@ -1049,4 +1049,4 @@
#endif // !defined(__ASSEMBLER__) && !defined(__ACPI__) && !defined(__ROMC__)
-#endif /* __ASM_ACPI_H */ +#endif /* __ACPI_ACPI_H__ */ diff --git a/src/include/acpi/acpi_device.h b/src/include/acpi/acpi_device.h index bc71e02..ede6a2a 100644 --- a/src/include/acpi/acpi_device.h +++ b/src/include/acpi/acpi_device.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ACPI_DEVICE_H -#define __ACPI_DEVICE_H +#ifndef __ACPI_ACPI_DEVICE_H__ +#define __ACPI_ACPI_DEVICE_H__
#include <device/i2c.h> #include <stdint.h> @@ -510,4 +510,4 @@ */ void acpi_device_write_pci_dev(const struct device *dev);
-#endif +#endif /* __ACPI_ACPI_DEVICE_H__ */ diff --git a/src/include/acpi/acpi_ivrs.h b/src/include/acpi/acpi_ivrs.h index 83abfb6..c46fec9 100644 --- a/src/include/acpi/acpi_ivrs.h +++ b/src/include/acpi/acpi_ivrs.h @@ -9,8 +9,8 @@ * I/O Virtualization Reporting Structure (IVRS) */
-#ifndef __ARCH_ACPI_IVRS_H -#define __ARCH_ACPI_IVRS_H +#ifndef __ACPI_ACPI_IVRS_H__ +#define __ACPI_ACPI_IVRS_H__
/* I/O Virtualization Reporting Structure (IVRS) */ #define IVHD_BLOCK_TYPE_LEGACY__FIXED 0x10 @@ -140,4 +140,4 @@ uint8_t variety; } __packed ivrs_ivhd_special_t;
-#endif +#endif /* __ACPI_ACPI_IVRS_H__ */ diff --git a/src/include/acpi/acpi_pld.h b/src/include/acpi/acpi_pld.h index c518077..26e3475 100644 --- a/src/include/acpi/acpi_pld.h +++ b/src/include/acpi/acpi_pld.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ACPI_PLD_H -#define __ACPI_PLD_H +#ifndef __ACPI_ACPI_PLD_H__ +#define __ACPI_ACPI_PLD_H__
#include <acpi/acpi.h> #include <stdint.h> @@ -116,4 +116,4 @@ /* Turn PLD structure into a 20 byte ACPI buffer */ int acpi_pld_to_buffer(const struct acpi_pld *pld, uint8_t *buf, int buf_len);
-#endif +#endif /* __ACPI_ACPI_PLD_H__ */ diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 005ec6b..37c2318 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef LIBACPI_H -#define LIBACPI_H +#ifndef __ACPI_ACPIGEN_H__ +#define __ACPI_ACPIGEN_H__
#include <stdint.h> #include <acpi/acpi.h> @@ -487,4 +487,4 @@ void acpigen_resource_qword(u16 res_type, u16 gen_flags, u16 type_flags, u64 gran, u64 range_min, u64 range_max, u64 translation, u64 length);
-#endif +#endif /* __ACPI_ACPIGEN_H__ */ diff --git a/src/include/acpi/acpigen_dsm.h b/src/include/acpi/acpigen_dsm.h index c51c12b..28b8974 100644 --- a/src/include/acpi/acpigen_dsm.h +++ b/src/include/acpi/acpigen_dsm.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#ifndef __ARCH_ACPIGEN_DSM_H__ -#define __ARCH_ACPIGEN_DSM_H__ +#ifndef __ACPI_ACPIGEN_DSM_H__ +#define __ACPI_ACPIGEN_DSM_H__
#include <stdint.h>
@@ -12,4 +12,4 @@
void acpigen_write_dsm_i2c_hid(struct dsm_i2c_hid_config *config);
-#endif /* __ARCH_ACPIGEN_DSM_H__ */ +#endif /* __ACPI_ACPIGEN_DSM_H__ */ diff --git a/src/include/acpi/acpigen_ps2_keybd.h b/src/include/acpi/acpigen_ps2_keybd.h index c0228bc..aeeacae 100644 --- a/src/include/acpi/acpigen_ps2_keybd.h +++ b/src/include/acpi/acpigen_ps2_keybd.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: GPL-2.0-or-later */
-#ifndef __ACPIGEN_PS2_KEYBD_H__ -#define __ACPIGEN_PS2_KEYBD_H__ +#ifndef __ACPI_ACPIGEN_PS2_KEYBD_H__ +#define __ACPI_ACPIGEN_PS2_KEYBD_H__
#include <types.h>
@@ -38,4 +38,4 @@ bool can_send_function_keys, bool has_numeric_keypad, bool has_scrnlock_key);
-#endif /* __ACPIGEN_PS2_KEYBD_H__ */ +#endif /* __ACPI_ACPIGEN_PS2_KEYBD_H__ */