was masking 18 bits not 16 in ubmap
This commit is contained in:
parent
872ad7833d
commit
7a9fff6f8b
1 changed files with 1 additions and 1 deletions
|
@ -2128,7 +2128,7 @@ class TestMethods(unittest.TestCase):
|
||||||
# that the rest of the code expects (and fiddles upper bits)
|
# that the rest of the code expects (and fiddles upper bits)
|
||||||
# So ... test that.
|
# So ... test that.
|
||||||
for i in range(0, 62, 2):
|
for i in range(0, 62, 2):
|
||||||
p.mmu.wordRW(ubmaps + (2 * i), i << 12 & 0o1777777)
|
p.mmu.wordRW(ubmaps + (2 * i), (i << 12) & 0o177777)
|
||||||
p.mmu.wordRW(ubmaps + (2 * (i + 1)), 0)
|
p.mmu.wordRW(ubmaps + (2 * (i + 1)), 0)
|
||||||
|
|
||||||
# XXX there is no real test yet because the UBMAPs
|
# XXX there is no real test yet because the UBMAPs
|
||||||
|
|
Loading…
Add table
Reference in a new issue