aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-06-13 22:56:58 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-07-21 11:38:59 +0100
commit216f49f27bdb0353aae50730fc0af71054cf931d (patch)
treed8c600679a5e3c58b7d2c69dec42549cf9b9b9e3
parentf25073852c017a80615fecbb92fe47e98c16d378 (diff)
downloadefilinux-216f49f27bdb0353aae50730fc0af71054cf931d.tar.gz
efilinux.h: Expand the allocate_pages() comment
Explain how @memory is used when when @atype is AllocateAddress. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
-rw-r--r--efilinux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/efilinux.h b/efilinux.h
index 91c9657..5ba1be7 100644
--- a/efilinux.h
+++ b/efilinux.h
@@ -57,6 +57,9 @@ extern EFI_RUNTIME_SERVICES *runtime;
* memory and return a pointer to the base of the allocation in
* @memory if the allocation succeeds. On success, the firmware memory
* map is updated accordingly.
+ *
+ * If @atype is AllocateAddress then, on input, @memory specifies the
+ * address at which to attempt to allocate the memory pages.
*/
static inline EFI_STATUS
allocate_pages(EFI_ALLOCATE_TYPE atype, EFI_MEMORY_TYPE mtype,