Changeset 61eb2ce2 in mainline for kernel/genarch
- Timestamp:
- 2023-02-05T22:03:19Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b596d0d
- Parents:
- 07700ed
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-05 22:01:46)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-05 22:03:19)
- Location:
- kernel/genarch
- Files:
-
- 6 edited
-
include/genarch/mm/page_ht.h (modified) (1 diff)
-
include/genarch/mm/page_pt.h (modified) (1 diff)
-
src/mm/as_ht.c (modified) (1 diff)
-
src/mm/as_pt.c (modified) (1 diff)
-
src/mm/page_ht.c (modified) (2 diffs)
-
src/mm/page_pt.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/mm/page_ht.h
r07700ed r61eb2ce2 57 57 #define PTE_EXECUTABLE(pte) ((pte)->x != 0) 58 58 59 extern as_operations_t as_ht_operations;60 extern page_mapping_operations_t ht_mapping_operations;59 extern const as_operations_t as_ht_operations; 60 extern const page_mapping_operations_t ht_mapping_operations; 61 61 62 62 extern slab_cache_t *pte_cache; 63 63 extern hash_table_t page_ht; 64 extern hash_table_ops_t ht_ops;64 extern const hash_table_ops_t ht_ops; 65 65 66 66 #endif -
kernel/genarch/include/genarch/mm/page_pt.h
r07700ed r61eb2ce2 140 140 #define PTE_EXECUTABLE(p) PTE_EXECUTABLE_ARCH((p)) 141 141 142 extern as_operations_t as_pt_operations;143 extern page_mapping_operations_t pt_mapping_operations;142 extern const as_operations_t as_pt_operations; 143 extern const page_mapping_operations_t pt_mapping_operations; 144 144 145 145 extern void page_mapping_insert_pt(as_t *, uintptr_t, uintptr_t, unsigned int); -
kernel/genarch/src/mm/as_ht.c
r07700ed r61eb2ce2 53 53 static bool ht_locked(as_t *); 54 54 55 as_operations_t as_ht_operations = {55 const as_operations_t as_ht_operations = { 56 56 .page_table_create = ht_create, 57 57 .page_table_destroy = ht_destroy, -
kernel/genarch/src/mm/as_pt.c
r07700ed r61eb2ce2 54 54 static bool pt_locked(as_t *); 55 55 56 as_operations_t as_pt_operations = {56 const as_operations_t as_pt_operations = { 57 57 .page_table_create = ptl0_create, 58 58 .page_table_destroy = ptl0_destroy, -
kernel/genarch/src/mm/page_ht.c
r07700ed r61eb2ce2 82 82 83 83 /** Hash table operations for page hash table. */ 84 hash_table_ops_t ht_ops = {84 const hash_table_ops_t ht_ops = { 85 85 .hash = ht_hash, 86 86 .key_hash = ht_key_hash, … … 90 90 91 91 /** Page mapping operations for page hash table architectures. */ 92 page_mapping_operations_t ht_mapping_operations = {92 const page_mapping_operations_t ht_mapping_operations = { 93 93 .mapping_insert = ht_mapping_insert, 94 94 .mapping_remove = ht_mapping_remove, -
kernel/genarch/src/mm/page_pt.c
r07700ed r61eb2ce2 58 58 static void pt_mapping_make_global(uintptr_t, size_t); 59 59 60 page_mapping_operations_t pt_mapping_operations = {60 const page_mapping_operations_t pt_mapping_operations = { 61 61 .mapping_insert = pt_mapping_insert, 62 62 .mapping_remove = pt_mapping_remove,
Note:
See TracChangeset
for help on using the changeset viewer.
