Changes in / [336d0b3:768b3b4f]
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
-
CtxSwitch-i386.S (modified) (1 diff)
-
invoke.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/CtxSwitch-i386.S
r336d0b3 r768b3b4f 67 67 // argument is now at 8 + 12 = 20(%esp) 68 68 69 movl 2 8(%esp),%eax69 movl 20(%esp),%eax 70 70 71 71 // Load new context from the "to" area. -
libcfa/src/concurrency/invoke.c
r336d0b3 r768b3b4f 123 123 124 124 struct FakeStack { 125 void *fixedRegisters[3]; // fixed registers ebx, edi, esi (popped on 1st uSwitch, values unimportant)125 void *fixedRegisters[3]; // fixed registers ebx, edi, esi (popped on 1st uSwitch, values unimportant) 126 126 void *rturn; // where to go on return from uSwitch 127 void *dummyReturn; // fake return compiler would have pushed on call to uInvoke128 void *argument[3]; // for 16-byte ABI, 16-byte alignment starts here129 void *padding; // padding to force 16-byte alignment, as "base" is 16-byte aligned127 void *dummyReturn; // fake return compiler would have pushed on call to uInvoke 128 void *argument[3]; // for 16-byte ABI, 16-byte alignment starts here 129 void *padding; // padding to force 16-byte alignment, as "base" is 16-byte aligned 130 130 }; 131 131
Note:
See TracChangeset
for help on using the changeset viewer.