2021-03-24 | Paul Boddie | raw annotate files changeset graph | Introduced initial pipe support using a special "conserving" page collection which only queues released pages, not issued pages, for reuse, together with dedicated paging coordinators for each pipe. |
1 #pragma once 2 3 #include <list> 4 5 #include "page_mapper.h" 6 7 /* Pipe paging support, maintaining the sequence of active regions or sections 8 in a pipe. */ 9 10 class PipePaging 11 { 12 protected: 13 std::list<PageMapper *> _regions; 14 15 public: 16 explicit PipePaging(); 17 18 virtual void add_region(PageMapper *mapper); 19 20 virtual PageMapper *first_region(); 21 22 virtual PageMapper *next_region(); 23 }; 24 25 // vim: tabstop=4 expandtab shiftwidth=4