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.cc179 void GuestMapShadow::RemapExecutable(GuestAddr old_start, in RemapExecutable() argument
184 old_start, in RemapExecutable()
185 old_start + old_size, in RemapExecutable()
189 CHECK_EQ(old_start, AlignDownGuestPageSize(old_start)); in RemapExecutable()
191 GuestAddr old_end_page = AlignUpGuestPageSize(old_start + old_size); in RemapExecutable()
195 if (old_start == new_start) { in RemapExecutable()
199 CopyExecutable(old_start, old_size, old_end_page, new_end_page - old_end_page); in RemapExecutable()
205 CHECK((old_start + old_size) <= new_start || (new_start + new_size) <= old_start); in RemapExecutable()
207 CopyExecutable(old_start, old_size < new_size ? old_size : new_size, new_start, new_size); in RemapExecutable()
208 ClearExecutable(old_start, old_size); in RemapExecutable()
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_map_shadow.h54 void RemapExecutable(GuestAddr old_start, size_t old_size, GuestAddr new_start, size_t new_size);