1 /*
2  * Copyright (c) 2020 Intel Corporation.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <errno.h>
8 #include <kernel_internal.h>
9 #include <toolchain.h>
10 #include <debug/coredump.h>
11 #include <linker/linker-defs.h>
12 #include <sys/byteorder.h>
13 #include <sys/util.h>
14 
15 #include "coredump_internal.h"
16 
17 #ifdef CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_LINKER_RAM
18 struct z_coredump_memory_region_t __weak z_coredump_memory_regions[] = {
19 	{(uintptr_t)&_image_ram_start, (uintptr_t)&_image_ram_end},
20 	{0, 0} /* End of list */
21 };
22 #endif
23