-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Almost complete pmap module for AArch64 (#743)
What's missing: * pmap_growkernel * empty page table for TTBR0 when no user-space is mapped * referenced & modified bits handling * testing Co-authored-by: Krystian Bacławski <[email protected]>
- Loading branch information
Showing
11 changed files
with
528 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef _AARCH64_TLB_H_ | ||
#define _AARCH64_TLB_H_ | ||
|
||
#ifndef _MACHDEP | ||
#error "Do not use this header file outside kernel machine dependent code!" | ||
#endif | ||
|
||
#include <aarch64/pte.h> | ||
|
||
void tlb_invalidate(pte_t pte, asid_t asid); | ||
void tlb_invalidate_asid(asid_t asid); | ||
|
||
#endif /* !_AARCH64_TLB_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ SOURCES = boot.c \ | |
start.S \ | ||
switch.S \ | ||
thread.c \ | ||
tlb.c \ | ||
trap.c \ | ||
ucontext.c | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.