Changeset 587 for trunk/hal/generic/hal_gpt.h
- Timestamp:
- Nov 1, 2018, 12:39:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_gpt.h
r457 r587 126 126 127 127 /**************************************************************************************** 128 * This function map a local GPT entry identified by its VPN, from values defined129 * by the ppn and attr arguments. It allocates physical memory for the local generic130 * page table itselfif required.128 * This function map a - local or remote - GPT entry identified by its VPN, from values 129 * defined by the <ppn> and <attr> arguments. It allocates physical memory in remote 130 * cluster for the GPT PT2, using a RPC_PMEM_GET_PAGES, if required. 131 131 **************************************************************************************** 132 132 * @ gpt : [in] pointer on the page table … … 136 136 * @ returns 0 if success / returns ENOMEM if error 137 137 ***************************************************************************************/ 138 error_t hal_gpt_set_pte( gpt_t * gpt,138 error_t hal_gpt_set_pte( xptr_t gpt_xp, 139 139 vpn_t vpn, 140 140 uint32_t attr, … … 143 143 /**************************************************************************************** 144 144 * This function unmaps a page table entry identified by the <vpn> argument in the 145 * local page tableidentified by the <gpt> argument.145 * local GPT identified by the <gpt> argument. 146 146 * It does NOT release the physical memory allocated for the unmapped page. 147 147 **************************************************************************************** … … 153 153 154 154 /**************************************************************************************** 155 * This function returns in the <attr> and <ppn> arguments the current values 156 * stored in aGPT entry, identified by the <gpt> and <vpn> arguments.157 **************************************************************************************** 158 * @ gpt_xp : [in] pointer on the page table155 * This function returns in the <attr> and <ppn> arguments the current values stored 156 * in a -local or remote - GPT entry, identified by the <gpt> and <vpn> arguments. 157 **************************************************************************************** 158 * @ gpt_xp : [in] extended pointer on the page table 159 159 * @ vpn : [in] virtual page number 160 160 * @ attr : [out] generic attributes 161 161 * @ ppn : [out] physical page number 162 162 ***************************************************************************************/ 163 void hal_gpt_get_pte( gpt_t * gpt,163 void hal_gpt_get_pte( xptr_t gpt_xp, 164 164 vpn_t vpn, 165 165 uint32_t * attr,
Note: See TracChangeset
for help on using the changeset viewer.