1.1 --- a/libmem/include/mem/region.h Tue Feb 27 17:20:22 2024 +0100
1.2 +++ b/libmem/include/mem/region.h 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, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2022, 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 @@ -21,6 +21,7 @@
1.13
1.14 #pragma once
1.15
1.16 +#include <l4/re/c/dma_space.h>
1.17 #include <systypes/base.h>
1.18
1.19 #include "types.h"
1.20 @@ -50,6 +51,7 @@
1.21 {
1.22 public:
1.23 offset_t start, end;
1.24 + l4re_dma_space_dma_addr_t physical_start;
1.25
1.26 /* Debugging information. */
1.27
1.28 @@ -57,7 +59,8 @@
1.29
1.30 /* Methods. */
1.31
1.32 - explicit Region(offset_t start, offset_t end);
1.33 + explicit Region(offset_t start, offset_t end,
1.34 + l4re_dma_space_dma_addr_t physical_start = 0);
1.35
1.36 offset_t size();
1.37