1.1 --- a/libexec/include/exec/mapped_region.h Thu May 12 22:13:22 2022 +0200
1.2 +++ b/libexec/include/exec/mapped_region.h Sat May 14 23:52:24 2022 +0200
1.3 @@ -23,6 +23,8 @@
1.4
1.5 #include <l4/sys/types.h>
1.6
1.7 +#include <systypes/base.h>
1.8 +
1.9
1.10
1.11 /* A mapped region abstraction. */
1.12 @@ -31,18 +33,18 @@
1.13 {
1.14 public:
1.15 l4_addr_t start;
1.16 - unsigned int log2size;
1.17 + offset_t size;
1.18 l4_umword_t flags;
1.19 l4_addr_t map_start;
1.20
1.21 explicit MappedRegion()
1.22 - : start(0), log2size(0), flags(0), map_start(0)
1.23 + : start(0), size(0), flags(0), map_start(0)
1.24 {
1.25 }
1.26
1.27 - explicit MappedRegion(l4_addr_t start, unsigned int log2size,
1.28 + explicit MappedRegion(l4_addr_t start, l4_addr_t size,
1.29 l4_umword_t flags, l4_addr_t map_start)
1.30 - : start(start), log2size(log2size), flags(flags), map_start(map_start)
1.31 + : start(start), size(size), flags(flags), map_start(map_start)
1.32 {
1.33 }
1.34 };