diff options
author | Michael Brown | 2005-06-06 13:42:14 +0200 |
---|---|---|
committer | Michael Brown | 2005-06-06 13:42:14 +0200 |
commit | 33dbdda28e5b2ca7435abba1421633f1736c1c02 (patch) | |
tree | 00478d87dafe72417968edb3c025b64dfa0b48af /src/include/buffer.h | |
parent | Reduce BACKOFF_LIMIT to a hopefully more reasonable value. (diff) | |
download | ipxe-33dbdda28e5b2ca7435abba1421633f1736c1c02.tar.gz ipxe-33dbdda28e5b2ca7435abba1421633f1736c1c02.tar.xz ipxe-33dbdda28e5b2ca7435abba1421633f1736c1c02.zip |
Allow data blocks to be less than sizeof ( struct buffer_free_block ) in
size. (The restriction on the size of free blocks remains.)
Diffstat (limited to 'src/include/buffer.h')
-rw-r--r-- | src/include/buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/buffer.h b/src/include/buffer.h index ecd7b481..ac4c3148 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -82,7 +82,9 @@ struct buffer { */ struct buffer_free_block { char tail; /**< Tail byte marker */ - physaddr_t next_free; /**< Address of next free block */ + char reserved[3]; /**< Padding */ + physaddr_t start; /**< Address of this free block */ + physaddr_t next; /**< Address of next free block */ physaddr_t end; /**< End of this block */ } __attribute__ (( packed )); |