]> sourceware.org Git - newlib-cygwin.git/commit
libgloss/or1k: Correct the IMMU SXE and UXE flags
authorStafford Horne <shorne@gmail.com>
Thu, 1 Jul 2021 21:24:57 +0000 (06:24 +0900)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 5 Jul 2021 22:00:40 +0000 (18:00 -0400)
commit43999b660faefa11118ad81bf5958b5523313f0e
tree5524ddfc1f174366c62dd78e87a284c101d237e7
parent5c9c31c52bfbf41e903eff136cdf894572704e31
libgloss/or1k: Correct the IMMU SXE and UXE flags

These have been defined incorrectly, as per specification and CPU
implementations SXE is bit 6 and UXE is bit 7.  This was noticed when
tracking down our test suite mmu test failures.

 Test Suite: https://github.com/openrisc/or1k-tests/blob/master/native/or1k/or1k-mmu.c#L68-L72
 Spec: https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdf

See section 8.4.8 Instruction Translation Lookaside Buffer Way y Translate
Registers where these are defined.

Signed-off-by: Stafford Horne <shorne@gmail.com>
libgloss/or1k/include/or1k-sprs.h
This page took 0.032169 seconds and 5 git commands to generate.