Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
EPOS Developers
OSDI with EPOS for INE5424
Commits
77f0ee61
Commit
77f0ee61
authored
Feb 07, 2022
by
horstmann@lisha.ufsc.br
Committed by
Leonardo Passig Horstmann
Feb 07, 2022
Browse files
Fixing ARMv8 MMU PD and PT masks
Adjusting the mask to emcompass the high bits.
parent
72f01393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/architecture/armv8/armv8_mmu.h
include/architecture/armv8/armv8_mmu.h
+2
-2
No files found.
include/architecture/armv8/armv8_mmu.h
View file @
77f0ee61
...
...
@@ -74,9 +74,9 @@ public:
IO
=
(
nG
|
RW_USR
|
DEV
|
PTE
),
// Device Memory = Shareable, RWX, SYS
DMA
=
(
nG
|
RO_SYS
|
DEV
|
PTE
),
// Device Memory no cacheable / Old Peripheral = Shareable, RWX, B ?
PT_MASK
=
(
1
<<
1
4
)
-
1
,
PT_MASK
=
(
(
PAGE_SIZE
-
1
)
|
(
0xfUL
<<
52
))
,
PD_FLAGS
=
(
PAGE_DESCRIPTOR
|
XN
|
EL1_XN
),
PD_MASK
=
(
1
<<
14
)
-
1
PD_MASK
=
(
(
PAGE_SIZE
-
1
)
|
(
0xfUL
<<
52
))
};
public:
Page_Flags
()
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment