Linux Audio

Check our new training course

Loading...
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef _ASM_POWERPC_KEXEC_RANGES_H
 3#define _ASM_POWERPC_KEXEC_RANGES_H
 4
 5#define MEM_RANGE_CHUNK_SZ		2048	/* Memory ranges size chunk */
 6
 7void sort_memory_ranges(struct crash_mem *mrngs, bool merge);
 8struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges);
 9int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size);
10int add_tce_mem_ranges(struct crash_mem **mem_ranges);
11int add_initrd_mem_range(struct crash_mem **mem_ranges);
12#ifdef CONFIG_PPC_64S_HASH_MMU
13int add_htab_mem_range(struct crash_mem **mem_ranges);
14#else
15static inline int add_htab_mem_range(struct crash_mem **mem_ranges)
16{
17	return 0;
18}
19#endif
20int add_kernel_mem_range(struct crash_mem **mem_ranges);
21int add_rtas_mem_range(struct crash_mem **mem_ranges);
22int add_opal_mem_range(struct crash_mem **mem_ranges);
23int add_reserved_mem_ranges(struct crash_mem **mem_ranges);
24
25#endif /* _ASM_POWERPC_KEXEC_RANGES_H */
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef _ASM_POWERPC_KEXEC_RANGES_H
 3#define _ASM_POWERPC_KEXEC_RANGES_H
 4
 5#define MEM_RANGE_CHUNK_SZ		2048	/* Memory ranges size chunk */
 6
 7void sort_memory_ranges(struct crash_mem *mrngs, bool merge);
 8struct crash_mem *realloc_mem_ranges(struct crash_mem **mem_ranges);
 9int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size);
10int remove_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size);
11int get_exclude_memory_ranges(struct crash_mem **mem_ranges);
12int get_reserved_memory_ranges(struct crash_mem **mem_ranges);
13int get_crash_memory_ranges(struct crash_mem **mem_ranges);
14int get_usable_memory_ranges(struct crash_mem **mem_ranges);
 
 
 
 
 
 
 
 
 
 
15#endif /* _ASM_POWERPC_KEXEC_RANGES_H */