mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
prepare for v2 migration. more edits coming
This commit is contained in:
parent
811b8cff3a
commit
ba3639b00a
1 changed files with 1 additions and 1 deletions
|
|
@ -608,7 +608,7 @@ class Pte:
|
||||||
return self.bytes
|
return self.bytes
|
||||||
|
|
||||||
def addr(self):
|
def addr(self):
|
||||||
return int.from_bytes(self.bytes[:7], 'little')
|
return int.from_bytes(self.bytes[:7], 'little') * VPAGE_SIZE
|
||||||
def flags(self):
|
def flags(self):
|
||||||
if self.bytes[6] == 1:
|
if self.bytes[6] == 1:
|
||||||
return 'CLN'
|
return 'CLN'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue