|
11 | 11 | #include <asm/abs_lowcore.h> |
12 | 12 | #include <asm/nospec-branch.h> |
13 | 13 | #include <asm/sections.h> |
| 14 | +#include <asm/maccess.h> |
14 | 15 |
|
15 | 16 | static unsigned long max_addr; |
16 | 17 |
|
@@ -44,6 +45,8 @@ enum address_markers_idx { |
44 | 45 | MODULES_END_NR, |
45 | 46 | ABS_LOWCORE_NR, |
46 | 47 | ABS_LOWCORE_END_NR, |
| 48 | + MEMCPY_REAL_NR, |
| 49 | + MEMCPY_REAL_END_NR, |
47 | 50 | }; |
48 | 51 |
|
49 | 52 | static struct addr_marker address_markers[] = { |
@@ -71,6 +74,8 @@ static struct addr_marker address_markers[] = { |
71 | 74 | [MODULES_END_NR] = {0, "Modules Area End"}, |
72 | 75 | [ABS_LOWCORE_NR] = {0, "Lowcore Area Start"}, |
73 | 76 | [ABS_LOWCORE_END_NR] = {0, "Lowcore Area End"}, |
| 77 | + [MEMCPY_REAL_NR] = {0, "Real Memory Copy Area Start"}, |
| 78 | + [MEMCPY_REAL_END_NR] = {0, "Real Memory Copy Area End"}, |
74 | 79 | { -1, NULL } |
75 | 80 | }; |
76 | 81 |
|
@@ -291,6 +296,8 @@ static int pt_dump_init(void) |
291 | 296 | address_markers[MODULES_END_NR].start_address = MODULES_END; |
292 | 297 | address_markers[ABS_LOWCORE_NR].start_address = __abs_lowcore; |
293 | 298 | address_markers[ABS_LOWCORE_END_NR].start_address = __abs_lowcore + ABS_LOWCORE_MAP_SIZE; |
| 299 | + address_markers[MEMCPY_REAL_NR].start_address = __memcpy_real_area; |
| 300 | + address_markers[MEMCPY_REAL_END_NR].start_address = __memcpy_real_area + PAGE_SIZE; |
294 | 301 | address_markers[VMEMMAP_NR].start_address = (unsigned long) vmemmap; |
295 | 302 | address_markers[VMEMMAP_END_NR].start_address = (unsigned long)vmemmap + vmemmap_size; |
296 | 303 | address_markers[VMALLOC_NR].start_address = VMALLOC_START; |
|
0 commit comments