summaryrefslogtreecommitdiff
path: root/kexec/mem_regions.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/mem_regions.h')
-rw-r--r--kexec/mem_regions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/mem_regions.h b/kexec/mem_regions.h
index da7b5e8..ae9e972 100644
--- a/kexec/mem_regions.h
+++ b/kexec/mem_regions.h
@@ -2,9 +2,13 @@
#define MEM_REGIONS_H
struct memory_ranges;
+struct memory_range;
void mem_regions_sort(struct memory_ranges *ranges);
+int mem_regions_exclude(struct memory_ranges *ranges,
+ const struct memory_range *range);
+
int mem_regions_add(struct memory_ranges *ranges, unsigned long long base,
unsigned long long length, int type);