diff options
author | Matt Fleming <matt.fleming@linux.intel.com> | 2011-06-13 22:56:58 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@linux.intel.com> | 2011-07-21 11:38:59 +0100 |
commit | 216f49f27bdb0353aae50730fc0af71054cf931d (patch) | |
tree | d8c600679a5e3c58b7d2c69dec42549cf9b9b9e3 | |
parent | f25073852c017a80615fecbb92fe47e98c16d378 (diff) | |
download | efilinux-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |