Changeset b3f8fb7 in mainline for kernel/genarch/include/mm/page_ht.h
- Timestamp:
- 2007-01-28T13:25:49Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e8c1a5
- Parents:
- 1ba41c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/mm/page_ht.h
r1ba41c5 rb3f8fb7 40 40 #define KERN_PAGE_HT_H_ 41 41 42 #include <arch/types.h> 43 #include <mm/as.h> 42 44 #include <mm/page.h> 43 45 #include <synch/mutex.h> 44 #include <arch/types.h>45 #include <adt/list.h>46 46 #include <adt/hash_table.h> 47 47 … … 62 62 #define SET_PTL0_ADDRESS(x) 63 63 64 struct pte { 65 link_t link; /**< Page hash table link. */ 66 as_t *as; /**< Address space. */ 67 uintptr_t page; /**< Virtual memory page. */ 68 uintptr_t frame; /**< Physical memory frame. */ 69 unsigned g : 1; /**< Global page. */ 70 unsigned x : 1; /**< Execute. */ 71 unsigned w : 1; /**< Writable. */ 72 unsigned k : 1; /**< Kernel privileges required. */ 73 unsigned c : 1; /**< Cacheable. */ 74 unsigned a : 1; /**< Accessed. */ 75 unsigned d : 1; /**< Dirty. */ 76 unsigned p : 1; /**< Present. */ 77 }; 64 extern as_operations_t as_ht_operations; 65 extern page_mapping_operations_t ht_mapping_operations; 78 66 79 extern page_mapping_operations_t ht_mapping_operations;80 67 extern mutex_t page_ht_lock; 81 68 extern hash_table_t page_ht;
Note:
See TracChangeset
for help on using the changeset viewer.