2021-03-20 | Paul Boddie | raw annotate files changeset graph | Changed the preallocated memory pool to obtain all its memory at once. Moved the allocate method from the base class to the incremental memory pool, eliminating the separate base class implementation file. |
1 #pragma once 2 3 #include "types.h" 4 5 /* A "send" flexpage abstraction. */ 6 7 class SendFlexpage 8 { 9 public: 10 offset_t base_addr; 11 unsigned int order; 12 flags_t flags; 13 14 explicit SendFlexpage(offset_t base_addr, unsigned int order, 15 flags_t flags) 16 : base_addr(base_addr), order(order), flags(flags) 17 { 18 } 19 }; 20 21 // vim: tabstop=4 expandtab shiftwidth=4