diff options
Diffstat (limited to 'fw/fe310/test/mem.c')
-rw-r--r-- | fw/fe310/test/mem.c | 24 |
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); -} |