Rev 3425 | Rev 3596 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3425 | Rev 3431 | ||
---|---|---|---|
Line 1105... | Line 1105... | ||
1105 | spinlock_unlock(&asidlock); |
1105 | spinlock_unlock(&asidlock); |
1106 | 1106 | ||
1107 | AS = new_as; |
1107 | AS = new_as; |
1108 | } |
1108 | } |
1109 | 1109 | ||
- | 1110 | #ifdef CONFIG_UDEBUG |
|
- | 1111 | ||
1110 | /** Write directly into a page, bypassing area flags. |
1112 | /** Write directly into a page, bypassing area flags. |
1111 | * |
1113 | * |
1112 | * This allows a debugger to write into a page that is mapped read-only |
1114 | * This allows a debugger to write into a page that is mapped read-only |
1113 | * (such as the text segment). Naturally, this is only possible if the |
1115 | * (such as the text segment). Naturally, this is only possible if the |
1114 | * correspoinding area is not shared and anonymous. |
1116 | * correspoinding area is not shared and anonymous. |
Line 1305... | Line 1307... | ||
1305 | free(pagemap); |
1307 | free(pagemap); |
1306 | 1308 | ||
1307 | return EOK; |
1309 | return EOK; |
1308 | } |
1310 | } |
1309 | 1311 | ||
- | 1312 | #endif /* defined(CONFIG_UDEBUG) */ |
|
- | 1313 | ||
1310 | /** Convert address space area flags to page flags. |
1314 | /** Convert address space area flags to page flags. |
1311 | * |
1315 | * |
1312 | * @param aflags Flags of some address space area. |
1316 | * @param aflags Flags of some address space area. |
1313 | * |
1317 | * |
1314 | * @return Flags to be passed to page_mapping_insert(). |
1318 | * @return Flags to be passed to page_mapping_insert(). |