Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison ProcrContext.h @ 200:6db9e4898978
VMS name chgs -- added "WL" "PI" and "int" and split vms.h up
| author | Me@portablequad |
|---|---|
| date | Sun, 12 Feb 2012 01:49:33 -0800 |
| parents | c1784868dcea |
| children |
comparison
equal
deleted
inserted
replaced
| 7:61e67c21b35c | 8:fc4402d49098 |
|---|---|
| 10 #define _ProcrContext_H | 10 #define _ProcrContext_H |
| 11 #define _GNU_SOURCE | 11 #define _GNU_SOURCE |
| 12 | 12 |
| 13 void saveCoreLoopReturnAddr(void **returnAddress); | 13 void saveCoreLoopReturnAddr(void **returnAddress); |
| 14 | 14 |
| 15 void switchToVP(VirtProcr *nextProcr); | 15 void switchToVP(SlaveVP *nextProcr); |
| 16 | 16 |
| 17 void switchToCoreLoop(VirtProcr *nextProcr); | 17 void switchToCoreLoop(SlaveVP *nextProcr); |
| 18 | 18 |
| 19 void masterSwitchToCoreLoop(VirtProcr *nextProcr); | 19 void masterSwitchToCoreLoop(SlaveVP *nextProcr); |
| 20 | 20 |
| 21 void startVirtProcrFn(); | 21 void startVPFn(); |
| 22 | 22 |
| 23 void *asmTerminateCoreLoop(VirtProcr *currPr); | 23 void *asmTerminateCoreLoop(SlaveVP *currPr); |
| 24 | 24 |
| 25 #define flushRegisters() \ | 25 #define flushRegisters() \ |
| 26 asm volatile ("":::"%rbx", "%r12", "%r13","%r14","%r15") | 26 asm volatile ("":::"%rbx", "%r12", "%r13","%r14","%r15") |
| 27 | 27 |
| 28 inline VirtProcr * | 28 inline SlaveVP * |
| 29 create_procr_helper( VirtProcr *newPr, VirtProcrFnPtr fnPtr, | 29 create_procr_helper( SlaveVP *newPr, VirtProcrFnPtr fnPtr, |
| 30 void *initialData, void *stackLocs ); | 30 void *initialData, void *stackLocs ); |
| 31 | 31 |
| 32 #endif /* _ProcrContext_H */ | 32 #endif /* _ProcrContext_H */ |
| 33 | 33 |
