Hello, I'm programming a OS on the C167 & XC167. Everything works fine on Simulation and with Monitor on the XC167. But when I want to debug the program on the C167 it changes structure. Here is my struct.
typedef struct taskStateStructure { unsigned int id; unsigned int *stack; unsigned int stackSize; unsigned int *usrStack; unsigned int usrStackSize; unsigned int taskAddress; unsigned int sp; unsigned int prio; TaskStateType taskState; unsigned int nrOfOccupiedResources; unsigned int nrOfActivations; unsigned int isPreemptive; unsigned int eventMask; unsigned int eventMaskSet; struct taskStateStructure* next; }tss;
It could have something to do with the fact that C167 has no RAM at C958.