mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +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
|
||||
|
||||
def addr(self):
|
||||
return int.from_bytes(self.bytes[:7], 'little')
|
||||
return int.from_bytes(self.bytes[:7], 'little') * VPAGE_SIZE
|
||||
def flags(self):
|
||||
if self.bytes[6] == 1:
|
||||
return 'CLN'
|
||||
|
|
|
|||
Loading…
Reference in a new issue