Commit 91f3276
committed
dmesg_mem_init_kernel_layout: emit PHYS/KERNEL_BSS on coupled arches
ARM32 and x86_32 print ".bss : 0x..." in the same mem_init() layout
block. On coupled architectures virt_to_phys() is valid for kernel
image addresses, so project the BSS virtual address to its physical
counterpart and emit PHYS/KERNEL_BSS. This enables the BSS-resident
gap refinement in kernel_image_phys_bound.c on those targets.1 parent d4ddf21 commit 91f3276
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
| |||
0 commit comments