summaryrefslogtreecommitdiff
path: root/fw/fe310/test/mem.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-04 18:39:21 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-04 18:39:21 +0200
commitd894eb01e9c979d0eb51f9495a7cf7281c213302 (patch)
tree9849af7b4c62cc22e61ff7e51c0169674d073986 /fw/fe310/test/mem.c
parentfc98d3809e0db36d634f290417b9152f87f83e3e (diff)
removed old test
Diffstat (limited to 'fw/fe310/test/mem.c')
-rw-r--r--fw/fe310/test/mem.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/fw/fe310/test/mem.c b/fw/fe310/test/mem.c
deleted file mode 100644
index a8c9546..0000000
--- a/fw/fe310/test/mem.c
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <stdio.h>
-
-extern char metal_segment_itim_target_start;
-extern char metal_segment_itim_target_end;
-
-extern char metal_segment_data_target_start;
-extern char metal_segment_data_target_end;
-
-extern char metal_segment_bss_target_start;
-extern char metal_segment_bss_target_end;
-
-extern char metal_segment_heap_target_start;
-extern char metal_segment_heap_target_end;
-
-extern char metal_segment_stack_begin;
-extern char metal_segment_stack_end;
-
-void print_mem(void) {
- printf("ITIM: %p - %p\n", &metal_segment_itim_target_start, &metal_segment_itim_target_end);
- printf("DATA: %p - %p\n", &metal_segment_data_target_start, &metal_segment_data_target_end);
- printf("BSS: %p - %p\n", &metal_segment_bss_target_start, &metal_segment_bss_target_end);
- printf("HEAP: %p - %p\n", &metal_segment_heap_target_start, &metal_segment_heap_target_end);
- printf("STACK: %p - %p\n", &metal_segment_stack_begin, &metal_segment_stack_end);
-}