summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/include
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/include
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/include')
-rw-r--r--bsps/powerpc/include/libcpu/mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/include/libcpu/mmu.h b/bsps/powerpc/include/libcpu/mmu.h
index d3081316eb..6e7abb15da 100644
--- a/bsps/powerpc/include/libcpu/mmu.h
+++ b/bsps/powerpc/include/libcpu/mmu.h
@@ -165,7 +165,7 @@ typedef struct _MMU_context {
/* invalidate a TLB entry */
static inline void _tlbie(unsigned long va)
{
- asm volatile ("tlbie %0" : : "r"(va));
+ asm volatile ("tlbie %0, 0" : : "r"(va));
}
extern void _tlbia(void); /* invalidate all TLB entries */