2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-05 19:15:05 +00:00
xNBA/src/include/buffer.h
Michael Brown ef05a27f25 Start of an implementation using doubly-linked lists and virtual
addresses.  This will have to be reworked to use physical addresses thanks
to the PXE spec.
2005-05-09 10:11:11 +00:00

17 lines
252 B
C

#ifndef BUFFER_H
#define BUFFER_H
struct buffer_free_block {
struct buffer_free_block *next;
struct buffer_free_block *prev;
void *end;
};
struct buffer {
struct buffer_free_block free_blocks;
void *start;
void *end;
};
#endif /* BUFFER_H */