1.1 --- a/libexec/include/exec/external_pager.h Sat Oct 01 16:53:23 2022 +0200
1.2 +++ b/libexec/include/exec/external_pager.h Sat Oct 01 16:58:16 2022 +0200
1.3 @@ -21,28 +21,16 @@
1.4
1.5 #pragma once
1.6
1.7 -#include <map>
1.8 -
1.9 -#include <exec/mapped_region.h>
1.10 #include <exec/pager.h>
1.11
1.12
1.13
1.14 -/* Collection types. */
1.15 -
1.16 -typedef std::map<l4_addr_t, MappedRegion> MappedRegions;
1.17 -
1.18 -
1.19 -
1.20 /* A simple system pager also acting as a region mapper. */
1.21
1.22 class ExternalPager : public ExecPager
1.23 {
1.24 -protected:
1.25 - MappedRegions _regions;
1.26 -
1.27 public:
1.28 - virtual void add(MappedRegion ®ion);
1.29 + explicit ExternalPager(address_t start = 0, address_t end = 0);
1.30
1.31 /* Notification methods, implementing PagerObject. */
1.32
1.33 @@ -56,7 +44,6 @@
1.34
1.35 virtual long attach(address_t *start, address_t size, map_flags_t flags,
1.36 l4_cap_idx_t ds, address_t offset, unsigned char align);
1.37 -
1.38 };
1.39
1.40 /* vim: tabstop=2 expandtab shiftwidth=2