diff options
author | Chris Johns <chrisj@rtems.org> | 2023-04-24 08:23:14 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-04-24 09:13:45 +1000 |
commit | 3e4fa73935ca25e7941de72bf4285e229e5fe8b1 (patch) | |
tree | dabeab648ab7ecb6dc0d9de75759f699aef25331 /bsps/powerpc/mpc55xxevb/start/bspstart.c | |
parent | bsps/microblaze: Fix UART transmit interrupt (diff) | |
download | rtems-3e4fa73935ca25e7941de72bf4285e229e5fe8b1.tar.bz2 |
bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER
Diffstat (limited to 'bsps/powerpc/mpc55xxevb/start/bspstart.c')
-rw-r--r-- | bsps/powerpc/mpc55xxevb/start/bspstart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/mpc55xxevb/start/bspstart.c b/bsps/powerpc/mpc55xxevb/start/bspstart.c index 4c4bd87462..a24d3a394a 100644 --- a/bsps/powerpc/mpc55xxevb/start/bspstart.c +++ b/bsps/powerpc/mpc55xxevb/start/bspstart.c @@ -69,7 +69,7 @@ static void null_pointer_protection(void) PPC_SET_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS0, mmu.MAS0.R); __asm__ volatile ("tlbre"); - mmu.MAS1.R = PPC_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS1); + PPC_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS1, mmu.MAS1.R); mmu.MAS1.B.VALID = 0; PPC_SET_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS1, mmu.MAS1.R); __asm__ volatile ("tlbwe"); |