diff 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
line diff
     1.1 --- a/VMS.h	Mon Nov 08 03:57:46 2010 -0800
     1.2 +++ b/VMS.h	Fri Nov 12 07:36:01 2010 -0800
     1.3 @@ -164,6 +164,9 @@
     1.4   };
     1.5  //SchedSlot
     1.6  
     1.7 +/*WARNING: re-arranging this data structure could cause VP switching
     1.8 + *         assembly code to fail -- hard-codes offsets of fields
     1.9 + */
    1.10  struct _VirtProcr
    1.11   { int         procrID;  //for debugging -- count up each time create
    1.12     int         coreAnimatedBy;
    1.13 @@ -199,6 +202,10 @@
    1.14  //VirtProcr
    1.15  
    1.16  
    1.17 +/*WARNING: re-arranging this data structure could cause VP-switching
    1.18 + *         assembly code to fail -- hard-codes offsets of fields
    1.19 + *         (because -O3 messes with things otherwise)
    1.20 + */
    1.21  typedef struct
    1.22   {
    1.23     SlaveScheduler   slaveScheduler;