2021-03-31 | Paul Boddie | raw annotate files changeset graph | Removed the largely superfluous accessing abstraction. Since each accessor will only employ one page mapper referencing the accessor, a mapping from file identifiers to page mappers can be maintained. |
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