From fb1eb5d2cc8c0fa1bf542fef1905971cc98875ec Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 11 Feb 2019 07:03:34 +0000 Subject: [PATCH] keep to under 80 chars --- TLB/PermissionValidator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TLB/PermissionValidator.py b/TLB/PermissionValidator.py index d0f5b1da..ff1ee472 100644 --- 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 -- 2.30.2