1.1 --- a/libexec/include/exec/internal_pager.h Sat Oct 01 16:53:23 2022 +0200
1.2 +++ b/libexec/include/exec/internal_pager.h Sat Oct 01 16:58:16 2022 +0200
1.3 @@ -21,29 +21,16 @@
1.4
1.5 #pragma once
1.6
1.7 -#include <map>
1.8 -
1.9 -#include <exec/common.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, struct exec_region> ExecRegions;
1.17 -typedef struct exec_region ExecRegion;
1.18 -
1.19 -
1.20 -
1.21 /* A simple system pager also acting as a region mapper. */
1.22
1.23 class InternalPager : public ExecPager
1.24 {
1.25 -protected:
1.26 - ExecRegions _regions;
1.27 -
1.28 public:
1.29 - virtual void add(ExecRegion ®ion);
1.30 + explicit InternalPager(address_t start = 0, address_t end = 0);
1.31
1.32 /* Notification methods, implementing PagerObject. */
1.33
1.34 @@ -57,7 +44,6 @@
1.35
1.36 virtual long attach(address_t *start, address_t size, map_flags_t flags,
1.37 l4_cap_idx_t ds, address_t offset, unsigned char align);
1.38 -
1.39 };
1.40
1.41 /* vim: tabstop=2 expandtab shiftwidth=2