Changeset 632 for trunk/hal/generic
- Timestamp:
- May 28, 2019, 2:56:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_gpt.h
r629 r632 96 96 * of a remote GPT identified by the <gpt_xp> and <vpn> arguments, after checking 97 97 * (in a busy waiting loop) that this attribute has been reset. 98 * Then, it returns in the <attr> and <ppn> buffers the current value of the PTE.99 * It a llocates memory required by the GPT implementation to register this lock100 * in the PTE when required.98 * It returns in the <attr> and <ppn> buffers the value of the PTE before modification. 99 * It atomically allocates memory to register this attribute in the PTE when 100 * required by a specific GPT implementation (example : allocate a PT2 in the TSAR GPT). 101 101 * WARNING : Only small pages can be locked. 102 102 **************************************************************************************** … … 128 128 * 129 129 * WARNING : For a small page, it checks that the GPT_LOCKED attribute has been 130 * previously set, to prevent concurrent accesses.130 * previously set, to prevent concurrent mapping accesses. 131 131 **************************************************************************************** 132 132 * @ gpt_xp : [in] extended pointer on the page table … … 212 212 * It modifies an existing entry identified by the <vpn> argument in a remote GPT 213 213 * identified by the <gpt_xp> argument, using remote accesses. 214 * It does NOT require the GPT_LOCKED attribute to be set in the target PTE. 215 * It cannot fail, because only MAPPED & SMALL entries are modified. 214 * - The MAPPED and SMALL attributes must be set, and the LOCKED attibute must be reset 215 * in the <attr> argument. 216 * - The MAPPED and SMALL attributes must be set in the target PTE. 216 217 **************************************************************************************** 217 218 * @ gpt_xp : [in] extended pointer on the page table
Note: See TracChangeset
for help on using the changeset viewer.