-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: Separate early_res related code from e820.c
... to make e820.c smaller. -v2: fix 32bit compiling with MAX_DMA32_PFN Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <1265793639-15071-21-git-send-email-yinghai@kernel.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
- Loading branch information
Yinghai Lu
authored and
H. Peter Anvin
committed
Feb 12, 2010
1 parent
db8f77c
commit a678c2b
Showing
5 changed files
with
561 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef _ASM_X86_EARLY_RES_H | ||
#define _ASM_X86_EARLY_RES_H | ||
#ifdef __KERNEL__ | ||
|
||
extern u64 find_e820_area(u64 start, u64 end, u64 size, u64 align); | ||
extern u64 find_e820_area_size(u64 start, u64 *sizep, u64 align); | ||
extern void reserve_early(u64 start, u64 end, char *name); | ||
extern void reserve_early_overlap_ok(u64 start, u64 end, char *name); | ||
extern void free_early(u64 start, u64 end); | ||
extern void early_res_to_bootmem(u64 start, u64 end); | ||
|
||
void reserve_early_without_check(u64 start, u64 end, char *name); | ||
u64 find_early_area(u64 ei_start, u64 ei_last, u64 start, u64 end, | ||
u64 size, u64 align); | ||
#include <linux/range.h> | ||
int get_free_all_memory_range(struct range **rangep, int nodeid); | ||
|
||
#endif /* __KERNEL__ */ | ||
|
||
#endif /* _ASM_X86_EARLY_RES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.