kernel/vm: Introduce methods to change the cache of all an area's clones.
This will be useful in the case of cloned device caches based around physical memory, e.g. for framebuffers. Change-Id: If2b864208e86f436e91379b73c4b866b0bd5e1d7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10558 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
861f644f19
commit
95ace7f374
@@ -111,6 +111,7 @@ area_id vm_copy_area(team_id team, const char *name, void **_address,
|
||||
area_id vm_clone_area(team_id team, const char *name, void **address,
|
||||
uint32 addressSpec, uint32 protection, uint32 mapping,
|
||||
area_id sourceArea, bool kernel);
|
||||
status_t vm_change_clones_to_null_areas(area_id area);
|
||||
status_t vm_delete_area(team_id teamID, area_id areaID, bool kernel);
|
||||
status_t vm_create_vnode_cache(struct vnode *vnode, struct VMCache **_cache);
|
||||
status_t vm_set_area_memory_type(area_id id, phys_addr_t physicalBase,
|
||||
|
||||
Reference in New Issue
Block a user