aboutsummaryrefslogtreecommitdiff
path: root/bbl
diff options
context:
space:
mode:
Diffstat (limited to 'bbl')
-rw-r--r--bbl/bbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bbl/bbl.c b/bbl/bbl.c
index c2c1ee6..ce1be95 100644
--- a/bbl/bbl.c
+++ b/bbl/bbl.c
@@ -66,9 +66,9 @@ static void protect_memory(void)
return setup_pmp();
// Prevent S-mode access to our part of memory.
- extern char _ftext, _etext, _end;
+ extern char _ftext, _end;
a0 = (uintptr_t)&_ftext >> PMP_SHIFT;
- a1 = (uintptr_t)&_etext >> PMP_SHIFT;
+ a1 = (uintptr_t)&_end >> PMP_SHIFT;
cfg = PMP_TOR << 8;
// Give S-mode free rein of everything else.
a2 = -1;