[rtems commit] bsp/qoriq: Avoid IVOR38..42 access as hv guest
Sebastian Huber
sebh at rtems.org
Tue Sep 19 12:36:56 UTC 2017
Module: rtems
Branch: master
Commit: 2720fbf0c2f8776a1c508f380beb21c8325e135b
Changeset: http://git.rtems.org/rtems/commit/?id=2720fbf0c2f8776a1c508f380beb21c8325e135b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Sep 19 10:19:30 2017 +0200
bsp/qoriq: Avoid IVOR38..42 access as hv guest
Update #3085.
---
c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
index 72746ba..ec95076 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
@@ -166,12 +166,14 @@ void qoriq_initialize_exceptions(void *interrupt_stack_begin)
#ifdef __PPC_CPU_E6500__
MTIVOR(BOOKE_IVOR36, addr);
MTIVOR(BOOKE_IVOR37, addr);
+#ifndef QORIQ_IS_HYPERVISOR_GUEST
MTIVOR(BOOKE_IVOR38, addr);
MTIVOR(BOOKE_IVOR39, addr);
MTIVOR(BOOKE_IVOR40, addr);
MTIVOR(BOOKE_IVOR41, addr);
MTIVOR(BOOKE_IVOR42, addr);
#endif
+#endif
}
void bsp_start(void)
More information about the vc
mailing list