From 661447c46457918ab2603ce02494a1d16f9fc77b Mon Sep 17 00:00:00 2001 From: Stefan Lippuner <3071885+stefanlippuner@users.noreply.github.com> Date: Thu, 23 May 2024 17:51:23 +0200 Subject: [PATCH] Testfiles - Update with same label and stdint C changes --- testfiles/bug-gen-c-02/fip_urv_regs.h | 3 +++ testfiles/bug-gen-c-02/mbox_regs.h | 3 +++ testfiles/bug-same-label/same_label.h | 4 +++- testfiles/issue103/top.h | 3 +++ testfiles/issue67/repeatInRepeat.h | 3 +++ testfiles/issue67/repeatInRepeatC.h | 3 +++ 6 files changed, 18 insertions(+), 1 deletion(-) diff --git a/testfiles/bug-gen-c-02/fip_urv_regs.h b/testfiles/bug-gen-c-02/fip_urv_regs.h index 3d0ce45f..d5c5731c 100644 --- a/testfiles/bug-gen-c-02/fip_urv_regs.h +++ b/testfiles/bug-gen-c-02/fip_urv_regs.h @@ -1,6 +1,9 @@ #ifndef __CHEBY__FIP_URV_REGS__H__ #define __CHEBY__FIP_URV_REGS__H__ +#include + + #include "mbox_regs.h" #define FIP_URV_REGS_SIZE 16384 /* 0x4000 = 16KB */ diff --git a/testfiles/bug-gen-c-02/mbox_regs.h b/testfiles/bug-gen-c-02/mbox_regs.h index 642ffebd..78e73ca1 100644 --- a/testfiles/bug-gen-c-02/mbox_regs.h +++ b/testfiles/bug-gen-c-02/mbox_regs.h @@ -1,5 +1,8 @@ #ifndef __CHEBY__MBOX_REGS__H__ #define __CHEBY__MBOX_REGS__H__ + +#include + #define MBOX_REGS_SIZE 12 /* 0xc */ /* Mailbox to the fip urv */ diff --git a/testfiles/bug-same-label/same_label.h b/testfiles/bug-same-label/same_label.h index fa0f1c96..c095239b 100644 --- a/testfiles/bug-same-label/same_label.h +++ b/testfiles/bug-same-label/same_label.h @@ -1,5 +1,8 @@ #ifndef __CHEBY__SAME_LABEL_REG__H__ #define __CHEBY__SAME_LABEL_REG__H__ + +#include + #define SAME_LABEL_REG_SIZE 16 /* 0x10 */ /* Register without fields. */ @@ -8,7 +11,6 @@ /* Register with same-name field. */ #define SAME_LABEL_REG_SAME_NAME 0x4UL -#define SAME_LABEL_REG_SAME_NAME 0x1UL /* Register with multi-bit same-name field. */ #define SAME_LABEL_REG_SAME_NAME_MULTI 0x8UL diff --git a/testfiles/issue103/top.h b/testfiles/issue103/top.h index 93c9285b..e5d315d3 100644 --- a/testfiles/issue103/top.h +++ b/testfiles/issue103/top.h @@ -1,6 +1,9 @@ #ifndef __CHEBY__TOP__H__ #define __CHEBY__TOP__H__ +#include + + #include "sub1.h" #include "sub2.h" #include "sub3.h" diff --git a/testfiles/issue67/repeatInRepeat.h b/testfiles/issue67/repeatInRepeat.h index b8239300..4a504f14 100644 --- a/testfiles/issue67/repeatInRepeat.h +++ b/testfiles/issue67/repeatInRepeat.h @@ -1,5 +1,8 @@ #ifndef __CHEBY__REPEATINREPEAT__H__ #define __CHEBY__REPEATINREPEAT__H__ + +#include + #define REPEATINREPEAT_SIZE 32 /* 0x20 */ /* None */ diff --git a/testfiles/issue67/repeatInRepeatC.h b/testfiles/issue67/repeatInRepeatC.h index 14c61bc6..325de3e4 100644 --- a/testfiles/issue67/repeatInRepeatC.h +++ b/testfiles/issue67/repeatInRepeatC.h @@ -1,5 +1,8 @@ #ifndef __CHEBY__REPEATINREPEATC__H__ #define __CHEBY__REPEATINREPEATC__H__ + +#include + #define REPEATINREPEATC_SIZE 32 /* 0x20 */ /* None */