Changeset 624 for trunk/hal/generic
- Timestamp:
- Mar 12, 2019, 1:37:38 PM (6 years ago)
- Location:
- trunk/hal/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_gpt.h
r623 r624 56 56 #define GPT_CACHABLE 0x0020 /*! PTE can be cached */ 57 57 #define GPT_USER 0x0040 /*! PTE is user accessible */ 58 #define GPT_DIRTY 0x0080 /*! PTE has been "recently" written*/58 #define GPT_DIRTY 0x0080 /*! PTE has been written */ 59 59 #define GPT_ACCESSED 0x0100 /*! PTE has been "recently" accessed */ 60 60 #define GPT_GLOBAL 0x0200 /*! PTE is kept in TLB at context switch */ … … 142 142 143 143 /**************************************************************************************** 144 * This function unmaps a page table entry identified by the <vpn> argument in the145 * local GPTidentified by the <gpt> argument.146 * It does NOT release the physical memory allocated for the unmapped page .147 **************************************************************************************** 148 * @ gpt 149 * @ vpn : [in] virtual page number144 * This function unmaps all pages identified by the <vpn> argument from the local GPT 145 * identified by the <gpt> argument. 146 * It does NOT release the physical memory allocated for the unmapped pages. 147 **************************************************************************************** 148 * @ gpt : [in] pointer on the local page table 149 * @ vpn : [in] page index in virtual space 150 150 ***************************************************************************************/ 151 151 void hal_gpt_reset_pte( gpt_t * gpt, -
trunk/hal/generic/hal_special.h
r623 r624 46 46 47 47 /***************************************************************************************** 48 * This function initializes - for architectures requiring it - the MMU registers 49 * as required by the target architecture to execute the kernel threads attached 50 * to kernel process zero. It is called by all cores in the kernel_init() function. 48 * This function initializes - for architectures requiring it - the MMU registers of the 49 * calling core to use the the kernel page table identified by the <gpt> argument for 50 * all threads attached to kernel process_zero. 51 * It is called by all cores in the kernel_init() function. 51 52 ***************************************************************************************** 52 53 * @ gpt : local pointer on the kernel page table descriptor.
Note: See TracChangeset
for help on using the changeset viewer.