1.1 --- a/libmem/lib/src/region.cc Tue Feb 27 17:20:22 2024 +0100
1.2 +++ b/libmem/lib/src/region.cc Wed Feb 28 17:46:20 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Memory region abstractions.
1.6 *
1.7 - * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 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 @@ -50,8 +50,9 @@
1.13 /* Initialise a region having the given 'start' and 'end' addresses, with the
1.14 'end' being one location beyond the last address in the region. */
1.15
1.16 -Region::Region(offset_t start, offset_t end)
1.17 -: start(start), end(end), state(end - start)
1.18 +Region::Region(offset_t start, offset_t end,
1.19 + l4re_dma_space_dma_addr_t physical_start)
1.20 +: start(start), end(end), physical_start(physical_start), state(end - start)
1.21 {
1.22 /* Content state. */
1.23