summaryrefslogtreecommitdiffstats
path: root/kexec/mem_regions.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/mem_regions.h')
-rw-r--r--kexec/mem_regions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kexec/mem_regions.h b/kexec/mem_regions.h
index ae9e972b..e306d67e 100644
--- a/kexec/mem_regions.h
+++ b/kexec/mem_regions.h
@@ -12,4 +12,11 @@ int mem_regions_exclude(struct memory_ranges *ranges,
int mem_regions_add(struct memory_ranges *ranges, unsigned long long base,
unsigned long long length, int type);
+int mem_regions_alloc_and_exclude(struct memory_ranges *ranges,
+ const struct memory_range *range);
+
+int mem_regions_alloc_and_add(struct memory_ranges *ranges,
+ unsigned long long base,
+ unsigned long long length, int type);
+
#endif