| 216 | } |
| 217 | |
| 218 | static rt_err_t _anon_varea_split(struct rt_varea *existed, void *unmap_start, rt_size_t unmap_len, struct rt_varea *subset) |
| 219 | { |
| 220 | /* remove the resource in the unmap region, and do nothing for the subset */ |
| 221 | _pgmgr_pop_range(existed, unmap_start, (char *)unmap_start + unmap_len); |
| 222 | |
| 223 | _anon_varea_open(subset); |
| 224 | return RT_EOK; |
| 225 | } |
| 226 | |
| 227 | static rt_err_t _anon_varea_merge(struct rt_varea *merge_to, struct rt_varea *merge_from) |
| 228 | { |
nothing calls this directly
no test coverage detected