2021-03-31 | Paul Boddie | raw annotate files changeset graph | Incorporated the paging abstraction in opener abstractions, introducing critical sections around the retrieval and disposal of page mappers and accessors, also discarding page mappers and accessors when disposal occurs. |
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