Skip to content

Commit 76f8fda

Browse files
laideneCopilot
andauthored
Update libcpu/arm/cortex-a/mmu.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4b2ed0e commit 76f8fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcpu/arm/cortex-a/mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void rt_hw_mem_setup_early(rt_uint32_t *early_mmu_talbe,
111111
rt_uint32_t normal_attr = NORMAL_MEM;
112112
extern unsigned char _reset;
113113
rt_uint32_t va = (rt_uint32_t) &_reset;
114-
/* The starting virtual address is aligned along 0x1000000. */
114+
/* The starting virtual address is aligned down to 0x1000000 (16MB) boundary. */
115115
va &= ~(0x1000000 - 1);
116116
size -= va;
117117
_init_map_section(early_mmu_talbe, va, size, va + pv_off, normal_attr);

0 commit comments

Comments
 (0)