#define BUFSIZE	256

typedef struct {
	  void *lmem;
	  int ready;
	  char buf[BUFSIZE];
} SMEM;

typedef struct {
	  int ready;
	  char buf[BUFSIZE];
} GMEM;

typedef struct {
	  char buf[BUFSIZE];
} LMEM;

