Changeset 401 for trunk/hal/generic
- Timestamp:
- Aug 17, 2017, 3:02:18 PM (7 years ago)
- Location:
- trunk/hal/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_gpt.h
r384 r401 48 48 ***************************************************************************************/ 49 49 50 #define GPT_MAPPED 0x000 1/*! PTE is mapped */51 #define GPT_SMALL 0x000 2/*! PTE is a small page */52 #define GPT_READABLE 0x000 4/*! PTE is readable */53 #define GPT_WRITABLE 0x000 8/*! PTE is writable */54 #define GPT_EXECUTABLE 0x00 10/*! PTE is executable */55 #define GPT_CACHABLE 0x00 20 /*! PTE can be cached */56 #define GPT_USER 0x00 40 /*! PTE is user accessible */57 #define GPT_DIRTY 0x00 80 /*! PTE has been "recently" written */58 #define GPT_ACCESSED 0x0 100 /*! PTE has been "recently" accessed */59 #define GPT_GLOBAL 0x0 200 /*! PTE is kept in TLB at context switch */60 #define GPT_COW 0x0 400 /*! PTE must be copied on write */61 #define GPT_SWAP 0x0 800 /*! PTE swapped on disk (not implemented yet) */62 #define GPT_LOCKED 0x 1000 /*! PTE is protected against concurrent access */50 #define GPT_MAPPED 0x0000 /*! PTE is mapped */ 51 #define GPT_SMALL 0x0001 /*! PTE is a small page */ 52 #define GPT_READABLE 0x0002 /*! PTE is readable */ 53 #define GPT_WRITABLE 0x0004 /*! PTE is writable */ 54 #define GPT_EXECUTABLE 0x0008 /*! PTE is executable */ 55 #define GPT_CACHABLE 0x0010 /*! PTE can be cached */ 56 #define GPT_USER 0x0020 /*! PTE is user accessible */ 57 #define GPT_DIRTY 0x0040 /*! PTE has been "recently" written */ 58 #define GPT_ACCESSED 0x0080 /*! PTE has been "recently" accessed */ 59 #define GPT_GLOBAL 0x0100 /*! PTE is kept in TLB at context switch */ 60 #define GPT_COW 0x0200 /*! PTE must be copied on write */ 61 #define GPT_SWAP 0x0400 /*! PTE swapped on disk (not implemented yet) */ 62 #define GPT_LOCKED 0x0800 /*! PTE is protected against concurrent access */ 63 63 64 64 /**************************************************************************************** … … 142 142 143 143 /**************************************************************************************** 144 * This function unmaps a page table entry identified by its VPN.145 * If the calling thread is running in the reference cluster, it sends a broadcast RPC146 * to update all other page table copies.144 * This function unmaps a page table entry identified by the <vpn> argument in the 145 * local page table identified by the <gpt> argument. 146 * It does NOT release the physical memory allocated for the unmapped page. 147 147 **************************************************************************************** 148 * @ gpt : [in] pointer on the page table148 * @ gpt : [in] pointer on the local page table 149 149 * @ vpn : [in] virtual page number 150 150 ***************************************************************************************/ -
trunk/hal/generic/hal_special.h
r296 r401 118 118 119 119 /***************************************************************************************** 120 * This forbids code reordering by the compiler.120 * This forbids code reordering accross this barrier by the compiler. 121 121 ****************************************************************************************/ 122 122 void hal_rdbar();
Note: See TracChangeset
for help on using the changeset viewer.