Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 62:dd3e60aeae26
Middle of fixing for -O3.. works -O0 still -- hard-code field offsets in assbly
| author | Me |
|---|---|
| date | Fri, 12 Nov 2010 07:36:01 -0800 |
| parents | 7b799a46cc87 |
| children | a6c442d52590 5cb919ac890f |
comparison
equal
deleted
inserted
replaced
| 28:811288599b7e | 30:2d3ed6691864 |
|---|---|
| 162 int needsProcrAssigned; | 162 int needsProcrAssigned; |
| 163 VirtProcr *procrAssignedToSlot; | 163 VirtProcr *procrAssignedToSlot; |
| 164 }; | 164 }; |
| 165 //SchedSlot | 165 //SchedSlot |
| 166 | 166 |
| 167 /*WARNING: re-arranging this data structure could cause VP switching | |
| 168 * assembly code to fail -- hard-codes offsets of fields | |
| 169 */ | |
| 167 struct _VirtProcr | 170 struct _VirtProcr |
| 168 { int procrID; //for debugging -- count up each time create | 171 { int procrID; //for debugging -- count up each time create |
| 169 int coreAnimatedBy; | 172 int coreAnimatedBy; |
| 170 void *startOfStack; | 173 void *startOfStack; |
| 171 void *stackPtr; | 174 void *stackPtr; |
| 197 float64 createPtInSecs; //have space but don't use on some configs | 200 float64 createPtInSecs; //have space but don't use on some configs |
| 198 }; | 201 }; |
| 199 //VirtProcr | 202 //VirtProcr |
| 200 | 203 |
| 201 | 204 |
| 205 /*WARNING: re-arranging this data structure could cause VP-switching | |
| 206 * assembly code to fail -- hard-codes offsets of fields | |
| 207 * (because -O3 messes with things otherwise) | |
| 208 */ | |
| 202 typedef struct | 209 typedef struct |
| 203 { | 210 { |
| 204 SlaveScheduler slaveScheduler; | 211 SlaveScheduler slaveScheduler; |
| 205 RequestHandler requestHandler; | 212 RequestHandler requestHandler; |
| 206 | 213 |
