mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 03:55:46 +03:00
Allow data blocks to be less than sizeof ( struct buffer_free_block ) in
size. (The restriction on the size of free blocks remains.)
This commit is contained in:
@@ -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 ));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user