File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ BOOT_CODE VISIBLE void map_kernel_window(void)
123123 pptr += RISCV_GET_LVL_PGSIZE (0 );
124124 paddr += RISCV_GET_LVL_PGSIZE (0 );
125125 }
126- /* now we should be mapping the 1GiB kernel base */
126+ /* now map KERNEL_ELF_BASE to KERNEL_ELF_PADDR_BASE */
127127 assert (pptr == PPTR_TOP );
128128 pptr = ROUND_DOWN (KERNEL_ELF_BASE , RISCV_GET_LVL_PGSIZE_BITS (0 ));
129129 paddr = ROUND_DOWN (KERNEL_ELF_PADDR_BASE , RISCV_GET_LVL_PGSIZE_BITS (0 ));
@@ -157,7 +157,7 @@ BOOT_CODE VISIBLE void map_kernel_window(void)
157157 pte_next (kpptr_to_paddr (kernel_image_level2_dev_pt ), false);
158158#endif
159159
160- /* There should be 1GiB free where we put device mapping */
160+ /* There should be free space where we put device mapping */
161161 assert (pptr == UINTPTR_MAX - RISCV_GET_LVL_PGSIZE (0 ) + 1 );
162162 map_kernel_devices ();
163163}
You can’t perform that action at this time.
0 commit comments