Embedded Systems
moeser.lst
Associated article: A Memory Controller
Tags: Embedded Systems
_A MEMORY CONTROLLER_
by Robert A. Moeser
[LISTING ONE]
.
.
.
typedef struct {
int anInt;
long aLong;
char tenChars[10]; /* details are unimportant */
} Thing;
typedef union utag {
Thing aThing;
union utag *next;
} freeList;
.
.
.
freeList *freeThings = 0; /* free list, empty to begin */
Thing *newThing() /* new ...


