Changeset 9b81fed3
- Timestamp:
- May 13, 2019, 4:55:33 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 264e691, 881f590
- Parents:
- fdbd4fd (diff), 768b3b4f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/CtxSwitch-i386.S
rfdbd4fd r9b81fed3 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
rfdbd4fd r9b81fed3 123 123 124 124 struct FakeStack { 125 void *fixedRegisters[3]; 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; 128 void *argument[3]; 129 void *padding; 127 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.