aboutsummaryrefslogtreecommitdiff
path: root/pk/riscv-pk.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-08 01:57:38 -0700
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-08 02:11:57 -0700
commit666ae0c9e5355e578c2487b81f48b4b74cc16dda (patch)
treec8e5ddbb6cd1dfe2c4fe0e5995c57efaf65d4299 /pk/riscv-pk.c
parentc6fef75003abf36c618b9fff4f64f3bda76af804 (diff)
downloadpk-666ae0c9e5355e578c2487b81f48b4b74cc16dda.zip
pk-666ae0c9e5355e578c2487b81f48b4b74cc16dda.tar.gz
pk-666ae0c9e5355e578c2487b81f48b4b74cc16dda.tar.bz2
[pk,fesvr] pk now loads elfs itself
this allows it to detect 32b binaries
Diffstat (limited to 'pk/riscv-pk.c')
-rw-r--r--pk/riscv-pk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pk/riscv-pk.c b/pk/riscv-pk.c
index 771982c..df6e94b 100644
--- a/pk/riscv-pk.c
+++ b/pk/riscv-pk.c
@@ -16,9 +16,6 @@ void __attribute__((section(".boottext"))) __start()
register long sr0 = SR_S | SR_PS | SR_ET | SR_IM;
#ifdef PK_ENABLE_KERNEL_64BIT
sr0 |= SR_SX;
- #ifdef PK_ENABLE_USER_64BIT
- sr0 |= SR_UX;
- #endif
#endif
mtpcr(sr0 | SR_EF, PCR_SR);