summaryrefslogtreecommitdiffstats
path: root/kexec/mem_regions.h
blob: ae9e972b02062bf0588740d0dd74ec4fa8ccc25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MEM_REGIONS_H
#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);

#endif