m1n1.hw.dart: Fix typo

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-11-22 18:13:32 +09:00
parent c8a8946e82
commit 8778819831

View file

@ -245,7 +245,7 @@ class DART(Reloadable):
continue
cached, l1 = self.get_pt(ttbr.ADDR << 12)
l1pte = self.pteclsf(l1[(page >> self.L1_OFF) & self.IDX_MASK])
l1pte = self.ptecls(l1[(page >> self.L1_OFF) & self.IDX_MASK])
if not l1pte.VALID and cached:
cached, l1 = self.get_pt(ttbr.ADDR << 12, uncached=True)
l1pte = self.ptecls(l1[(page >> self.L1_OFF) & self.IDX_MASK])