1.1 --- a/libexec/lib/src/internal_pager.cc Tue Mar 05 00:18:00 2024 +0100
1.2 +++ b/libexec/lib/src/internal_pager.cc Thu Mar 07 22:41:40 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * A system pager implementation residing in the same task as a program.
1.6 *
1.7 - * Copyright (C) 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2022, 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -137,8 +137,8 @@
1.13 the initialisation of a program by the C library which requires a region
1.14 mapper. */
1.15
1.16 -long InternalPager::attach(address_t *start, address_t size, map_flags_t flags,
1.17 - l4_cap_idx_t ds, address_t offset,
1.18 +long InternalPager::attach(address_t *start, address_t size, rm_flags_t flags,
1.19 + l4_cap_idx_t ds, rm_offset_t offset,
1.20 unsigned char align)
1.21 {
1.22 /* NOTE: The offset apparently indicates the offset within the dataspace of
1.23 @@ -160,7 +160,7 @@
1.24 return err;
1.25 }
1.26
1.27 -long InternalPager::detach(address_t addr, address_t size, map_flags_t flags,
1.28 +long InternalPager::detach(address_t addr, address_t size, rm_flags_t flags,
1.29 address_t *start, address_t *rsize, l4_cap_idx_t *ds)
1.30 {
1.31 (void) size; (void) flags;
1.32 @@ -183,7 +183,7 @@
1.33 }
1.34
1.35 long InternalPager::reserve_area(address_t *start, address_t size,
1.36 - map_flags_t flags, unsigned char align)
1.37 + rm_flags_t flags, unsigned char align)
1.38 {
1.39 MemoryArea *area;
1.40 long err = ExecPager::find(start, &size, flags, align, &area);