projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3cbd40
)
keep to under 80 chars
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Feb 2019 07:03:34 +0000
(07:03 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Feb 2019 07:03:34 +0000
(07:03 +0000)
TLB/PermissionValidator.py
patch
|
blob
|
history
diff --git
a/TLB/PermissionValidator.py
b/TLB/PermissionValidator.py
index d0f5b1da6025d35230ab69a70059d2cbbc06f015..ff1ee47233f9adf077506fbed6186dd2e69c5ab4 100644
(file)
--- a/
TLB/PermissionValidator.py
+++ b/
TLB/PermissionValidator.py
@@
-24,7
+24,8
@@
class PermissionValidator():
# Check if ASID matches OR entry is global
If(data[98:113] == self.asid or data[5] == 1,
# Check Execute, Write, Read (XWR) Permissions
- If(data[3] == self.xwr[2] and data[2] == self.xwr[1] and data[1] == self.xwr[0],
+ If(data[3] == self.xwr[2] and data[2] == self.xwr[1] \
+ and data[1] == self.xwr[0],
# Check if supervisor
If(self.super == 1,
# Check if entry is in user mode