2021-01-21 | Paul Boddie | raw annotate files changeset graph | Expanded the IPC-related functions, propagating error conditions from flexpage preparation where the send flexpage has order 0, since this indicates that no mapping can be performed. |
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 13 explicit SendFlexpage(offset_t base_addr, unsigned int order) 14 : base_addr(base_addr), order(order) 15 { 16 } 17 }; 18 19 // vim: tabstop=4 expandtab shiftwidth=4