[CRIU] [PATCH 10/23] cr-dump.c: introduced the macro TI_SP to access the stack pointer resgister in a machine-independent way

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 14 07:14:17 EST 2013


On 01/14/2013 04:12 PM, Alexander Kartashov wrote:
> On 01/14/2013 02:34 PM, Pavel Emelyanov wrote:
>> + mark_stack_vma(CORE_THREAD_ARCH_INFO(core)->gpregs->sp, 
>> vma_area_list);
>
> Unfortunately, there's no such register called sp on ARM. By convention
> it's called ARM_sp. However we may break the rules and call it sp
> to avoid the macro TI_SP.
>

I'm sorry, I use the name sp :)

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list