summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen83xx
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-08 13:19:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-05 12:56:01 +0200
commit9b5af6a47f799952c178967e04e83053bef57422 (patch)
tree52471dc069681c54d62abb2d002719b998523f41 /bsps/powerpc/gen83xx
parentbsps/powerpc: Fix inline assembly (diff)
downloadrtems-9b5af6a47f799952c178967e04e83053bef57422.tar.bz2
bsps/powerpc: Fix tlbie instruction usage
GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler. The 0 in the tlbie instruction is the L operand which selects a 4KiB page size.
Diffstat (limited to 'bsps/powerpc/gen83xx')
-rw-r--r--bsps/powerpc/gen83xx/start/cpuinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/gen83xx/start/cpuinit.c b/bsps/powerpc/gen83xx/start/cpuinit.c
index 1b0fd1efef..ad8fe98456 100644
--- a/bsps/powerpc/gen83xx/start/cpuinit.c
+++ b/bsps/powerpc/gen83xx/start/cpuinit.c
@@ -133,7 +133,7 @@ static void clear_mmu_regs( void)
/* Clear TLBs */
for (i = 0;i < 32;i++) {
- __asm__ volatile( "tlbie %0\n" : : "r" (i << (31 - 19)));
+ __asm__ volatile( "tlbie %0, 0\n" : : "r" (i << (31 - 19)));
}
}