[ros-dev] [ros-diffs] [dgorbachev] 26482: Use allocation function instead of hack, save 12 bytes.

hto at mail.cnt.ru hto at mail.cnt.ru
Tue Apr 24 06:19:07 CEST 2007


Hi,

> This change is *wrong*. It won't guarantee the correct alignment!!!

@ExfAcquirePushLockShared at 4():
ntoskrnl/ex/pushlock.c:611
     push   %ebp
     mov    %esp,%ebp
     push   %edi
     push   %esi
     push   %ebx
     sub    $0x4c,%esp
     mov    %ecx,0xffffffec(%ebp)
ntoskrnl/ex/pushlock.c:612
     mov    (%ecx),%edi
ntoskrnl/ex/pushlock.c:615
     lea    0xf(%esp),%esi
->  and    $0xfffffff0,%esi
ntoskrnl/ex/pushlock.c:621
     ...


More information about the Ros-dev mailing list