Home
last modified time | relevance | path

Searched refs:old_start (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_map_shadow.cc157 void GuestMapShadow::RemapExecutable(GuestAddr old_start, in RemapExecutable() argument
162 old_start, in RemapExecutable()
163 old_start + old_size, in RemapExecutable()
167 CHECK_EQ(old_start, AlignDownGuestPageSize(old_start)); in RemapExecutable()
169 GuestAddr old_end_page = AlignUpGuestPageSize(old_start + old_size); in RemapExecutable()
173 if (old_start == new_start) { in RemapExecutable()
177 CopyExecutable(old_start, old_size, old_end_page, new_end_page - old_end_page); in RemapExecutable()
183 CHECK((old_start + old_size) <= new_start || (new_start + new_size) <= old_start); in RemapExecutable()
185 CopyExecutable(old_start, old_size < new_size ? old_size : new_size, new_start, new_size); in RemapExecutable()
186 ClearExecutable(old_start, old_size); in RemapExecutable()
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_map_shadow.h52 void RemapExecutable(GuestAddr old_start, size_t old_size, GuestAddr new_start, size_t new_size);