Skip to content

Commit 5b2aae0

Browse files
committed
fix(mem): change image and data address to virtual
Signed-off-by: Daniel Oliveira <[email protected]>
1 parent 53e6ea9 commit 5b2aae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/inc/mem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ bool mem_translate(struct addr_space* as, vaddr_t va, paddr_t* pa);
9696
extern struct list page_pool_list;
9797

9898
/* The address where the Bao image is loaded in memory */
99-
extern uintptr_t img_addr;
99+
extern vaddr_t img_addr;
100100
/* The address where the data section is loaded in memory */
101-
extern uintptr_t data_addr;
101+
extern vaddr_t data_addr;
102102

103103
#endif /* __ASSEMBLER__ */
104104

0 commit comments

Comments
 (0)