comparison MasterLoop.c @ 69:11bfe9d136ed

removed warnings
author Merten Sach <msach@mailbox.tu-berlin.de>
date Wed, 11 May 2011 16:13:24 +0200
parents 9c3107044f86
children f9b60012fd74 5ff1631c26ed
comparison
equal deleted inserted replaced
20:7ac7b0b9acb9 21:da2284d25a80
85 int32 thisCoresIdx; 85 int32 thisCoresIdx;
86 VirtProcr *masterPr; 86 VirtProcr *masterPr;
87 volatile VirtProcr *volatileMasterPr; 87 volatile VirtProcr *volatileMasterPr;
88 88
89 volatileMasterPr = animatingPr; 89 volatileMasterPr = animatingPr;
90 masterPr = volatileMasterPr; //used to force re-define after jmp 90 masterPr = (VirtProcr*)volatileMasterPr; //used to force re-define after jmp
91 91
92 //First animation of each MasterVP will in turn animate this part 92 //First animation of each MasterVP will in turn animate this part
93 // of setup code.. (VP creator sets up the stack as if this function 93 // of setup code.. (VP creator sets up the stack as if this function
94 // was called normally, but actually get here by jmp) 94 // was called normally, but actually get here by jmp)
95 //So, setup values about stack ptr, jmp pt and all that 95 //So, setup values about stack ptr, jmp pt and all that
112 // smaller due to higher predictability of the fixed jmp. 112 // smaller due to higher predictability of the fixed jmp.
113 saveLowTimeStampCountInto( masterPr->startMasterTSCLow ); 113 saveLowTimeStampCountInto( masterPr->startMasterTSCLow );
114 #endif 114 #endif
115 //======================================================================== 115 //========================================================================
116 116
117 masterEnv = _VMSMasterEnv; 117 masterEnv = (MasterEnv*)_VMSMasterEnv;
118 118
119 //GCC may optimize so doesn't always re-define from frame-storage 119 //GCC may optimize so doesn't always re-define from frame-storage
120 masterPr = volatileMasterPr; //just to make sure after jmp 120 masterPr = (VirtProcr*)volatileMasterPr; //just to make sure after jmp
121 thisCoresIdx = masterPr->coreAnimatedBy; 121 thisCoresIdx = masterPr->coreAnimatedBy;
122 readyToAnimateQ = masterEnv->readyToAnimateQs[thisCoresIdx]; 122 readyToAnimateQ = masterEnv->readyToAnimateQs[thisCoresIdx];
123 schedSlots = masterEnv->allSchedSlots[thisCoresIdx]; 123 schedSlots = masterEnv->allSchedSlots[thisCoresIdx];
124 124
125 requestHandler = masterEnv->requestHandler; 125 requestHandler = masterEnv->requestHandler;