Skip to content

Commit

Permalink
Testfiles - Update with same label and stdint C changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanlippuner committed May 23, 2024
1 parent 37f48d9 commit 5a35644
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions testfiles/bug-gen-c-02/fip_urv_regs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#ifndef __CHEBY__FIP_URV_REGS__H__
#define __CHEBY__FIP_URV_REGS__H__

#include <stdint.h>


#include "mbox_regs.h"
#define FIP_URV_REGS_SIZE 16384 /* 0x4000 = 16KB */

Expand Down
3 changes: 3 additions & 0 deletions testfiles/bug-gen-c-02/mbox_regs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef __CHEBY__MBOX_REGS__H__
#define __CHEBY__MBOX_REGS__H__

#include <stdint.h>

#define MBOX_REGS_SIZE 12 /* 0xc */

/* Mailbox to the fip urv */
Expand Down
4 changes: 3 additions & 1 deletion testfiles/bug-same-label/same_label.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef __CHEBY__SAME_LABEL_REG__H__
#define __CHEBY__SAME_LABEL_REG__H__

#include <stdint.h>

#define SAME_LABEL_REG_SIZE 16 /* 0x10 */

/* Register without fields. */
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions testfiles/issue103/top.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#ifndef __CHEBY__TOP__H__
#define __CHEBY__TOP__H__

#include <stdint.h>


#include "sub1.h"
#include "sub2.h"
#include "sub3.h"
Expand Down
3 changes: 3 additions & 0 deletions testfiles/issue67/repeatInRepeat.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef __CHEBY__REPEATINREPEAT__H__
#define __CHEBY__REPEATINREPEAT__H__

#include <stdint.h>

#define REPEATINREPEAT_SIZE 32 /* 0x20 */

/* None */
Expand Down
3 changes: 3 additions & 0 deletions testfiles/issue67/repeatInRepeatC.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef __CHEBY__REPEATINREPEATC__H__
#define __CHEBY__REPEATINREPEATC__H__

#include <stdint.h>

#define REPEATINREPEATC_SIZE 32 /* 0x20 */

/* None */
Expand Down

0 comments on commit 5a35644

Please sign in to comment.