Skip to content
Snippets Groups Projects
Commit 8dc90b55 authored by Kent McLeod's avatar Kent McLeod
Browse files

RISC-V: Correct PPTR_USER_TOP definition

PPTR_USER_TOP represents the first inaccessible user address which is
usually ((2^(38-12))-1)*0x1000 on SV39. This corresponds to the first
address of the last page in the lower half of the top level page table.
parent 4957c5e8
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@
#define kernelBase KERNEL_BASE
/* This is the top of the kernel window, not including the kernel image */
#define PPTR_TOP KERNEL_BASE
#define PPTR_USER_TOP PPTR_BASE
#define PPTR_USER_TOP seL4_UserTop
#define BASE_OFFSET (PPTR_BASE - PADDR_BASE)
#ifndef __ASSEMBLER__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment