summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/memrange.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/memrange.h b/src/include/memrange.h
index 46a992adb5..7f42aa2b0b 100644
--- a/src/include/memrange.h
+++ b/src/include/memrange.h
@@ -98,6 +98,9 @@ void memranges_init(struct memranges *ranges,
unsigned long mask, unsigned long match,
unsigned long tag);
+/* Clone a memrange. The new memrange has the same entries as the old one. */
+void memranges_clone(struct memranges *newranges, struct memranges *oldranges);
+
/* Remove and free all entries within the memranges structure. */
void memranges_teardown(struct memranges *ranges);