diff options
author | bd <bdunahu@operationnull.com> | 2025-04-12 01:36:59 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-12 01:36:59 -0400 |
commit | b91eb002d4e6b2dc0c51b03df57c5089659ac669 (patch) | |
tree | 3ad405efc96f439a9e7af2bcac53c808a4667ef0 /inc/definitions.h | |
parent | 28a2788e2c59357d9269e558b0bd45db3241c42d (diff) |
Add C11 test class header as base cache fixture class
Diffstat (limited to 'inc/definitions.h')
-rw-r--r-- | inc/definitions.h | 4 |
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 */ |