| commit | 7aecef11a24fc84af086020365a4df02e11a47e0 | [log] [tgz] |
|---|---|---|
| author | Ayrton Munoz <ayrton@google.com> | Thu Feb 27 19:09:53 2025 +0000 |
| committer | Ayrton Munoz <ayrton@google.com> | Thu Mar 13 20:15:24 2025 +0000 |
| tree | 93521c9304f038a5456fb7574eded58d5fe066ee | |
| parent | be0cb236146cab607afea76defb8eb1366a7eed8 [diff] |
lib: extmem: Add ext_mem_get_obj_size and requirement on ext_mem_obj_initialize This commit adds a new function for getting the size of an external memory object. This function takes a vmm_obj argument which must be part of an ext_mem_obj. ext_mem_obj_get_size validates this by checking the vmm_obj_ops get_page pointer which must now point to ext_mem_obj_get_page when initializing an ext_mem_obj. Bug: 379677575 Change-Id: I5dfc7e8eff4de4e2f0bccf3f8f7220fbadbcd834