--- xinu/h/bufpool.h 2018/04/24 17:39:02 1.1.1.1 +++ xinu/h/bufpool.h 2018/04/24 17:39:05 1.1.1.2 @@ -1,10 +1,10 @@ /* bufpool.h */ #ifndef NBPOOLS -#define NBPOOLS 10 /* Maximum number of pools */ +#define NBPOOLS 5 /* Maximum number of pools */ #endif #ifndef BPMAXB -#define BPMAXB 10240 /* Maximum buffer length */ +#define BPMAXB 512 /* Maximum buffer length */ #endif #define BPMINB 2 /* Minimum buffer length */ #ifndef BPMAXN @@ -13,7 +13,7 @@ struct bpool { /* Description of a single pool */ int bpsize; /* size of buffers in this pool */ char *bpnext; /* pointer to next free buffer */ - int bpsem /* semaphore that counts buffers*/ + int bpsem; /* semaphore that counts buffers*/ }; /* currently in THIS pool */ extern struct bpool bptab[]; /* Buffer pool table */