Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[umalloc] Formalise the user memory allocation API
- Loading branch information
Michael Brown
committed
Oct 13, 2008
1 parent
6554b79
commit 831e4cf
Showing
7 changed files
with
95 additions
and
30 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,12 @@ | ||
#ifndef _BITS_UMALLOC_H | ||
#define _BITS_UMALLOC_H | ||
|
||
/** @file | ||
* | ||
* i386-specific user memory allocation API implementations | ||
* | ||
*/ | ||
|
||
#include <gpxe/memtop_umalloc.h> | ||
|
||
#endif /* _BITS_UMALLOC_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef _GPXE_MEMTOP_UMALLOC_H | ||
#define _GPXE_MEMTOP_UMALLOC_H | ||
|
||
/** @file | ||
* | ||
* External memory allocation | ||
* | ||
*/ | ||
|
||
#ifdef UMALLOC_MEMTOP | ||
#define UMALLOC_PREFIX_memtop | ||
#else | ||
#define UMALLOC_PREFIX_memtop __memtop_ | ||
#endif | ||
|
||
#endif /* _GPXE_MEMTOP_UMALLOC_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
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,12 @@ | ||
#ifndef CONFIG_UMALLOC_H | ||
#define CONFIG_UMALLOC_H | ||
|
||
/** @file | ||
* | ||
* User memory allocation API configuration | ||
* | ||
*/ | ||
|
||
#include <config/defaults.h> | ||
|
||
#endif /* CONFIG_UMALLOC_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