Embedded Systems
restart.asc
Associated article: Restarting Embedded Systems
Tags: Embedded Systems
Published source code accompanying the article by Fredrik Bredberg, Ola Liljedahl, and Bengt Eliasson, in which they discuss the OSE RTOS from Enea Data which allows a computer system to pick up at exactly the spot where it was before a system crash occurred.
_Restarting Embedded Systems_
by Fredrik Bredberg, Ola Liljedahl, and Bengt Eliasson
Example 1:
typedef struct
{ int iDataChecksumInvalid;
unsigned long ulDataChecksum;
TData tData; /* Actual data */
} TDataRegion;
TDataRegion *ptDataRegion = (TDataRegion *)SOME_HW_ADDRESS;
Example 2:
ptDataRegion -> iDataChecksumInvalid = TRUE;
ptDataRegion -> tData = ...


