summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-12 01:36:59 -0400
committerbd <bdunahu@operationnull.com>2025-04-12 01:36:59 -0400
commitb91eb002d4e6b2dc0c51b03df57c5089659ac669 (patch)
tree3ad405efc96f439a9e7af2bcac53c808a4667ef0 /inc
parent28a2788e2c59357d9269e558b0bd45db3241c42d (diff)
Add C11 test class header as base cache fixture class
Diffstat (limited to 'inc')
-rw-r--r--inc/definitions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/definitions.h b/inc/definitions.h
index 94414a4..113c6e4 100644
--- a/inc/definitions.h
+++ b/inc/definitions.h
@@ -73,14 +73,14 @@
#define GET_FIELDS(a, t, i, o) \
*(t) = GET_MID_BITS(a, L1_CACHE_LINE_SPEC + LINE_SPEC, MEM_WORD_SPEC); \
*(i) = GET_MID_BITS(a, LINE_SPEC, L1_CACHE_LINE_SPEC + LINE_SPEC); \
- *(o) = GET_LS_BITS(a, LINE_SPEC); \
+ *(o) = GET_LS_BITS(a, LINE_SPEC)
/**
* Ensures address is within the current memory size using a clean wrap.
* @param an address
*/
#define WRAP_ADDRESS(a) \
- ((a < 0) ? ((a % MEM_WORDS) + MEM_WORDS) % MEM_WORDS : a % MEM_WORDS) \
+ ((a < 0) ? ((a % MEM_WORDS) + MEM_WORDS) % MEM_WORDS : a % MEM_WORDS)
// clang-format on
#endif /* DEFINITIONS_H_INCLUDED */