#include <stddef.h>
#include <interrupt.h>
#include <memory.h>
#include <bufpool.h>

Go to the source code of this file.
Functions | |
| int | mkpool (uint bufsize, int numbufs) |
| Acquire heap storage and subdivide into buffers. | |
Definition in file mkpool.c.
| int mkpool | ( | uint | bufsize, | |
| int | numbufs | |||
| ) |
Acquire heap storage and subdivide into buffers.
| bufsize | size of individual buffers in bytes | |
| numbufs | count of bufsize buffers in pool |
Definition at line 20 of file mkpool.c.
References disable, memget(), restore, roundword, semcreate(), signaln(), and SYSERR.
Referenced by etherOpen().


1.5.5