Clean up MdePkg source to correct some coding style issues, etc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2010-01-27 03:25:28 +00:00
parent bf586ab919
commit ea6898b902
16 changed files with 121 additions and 78 deletions

View File

@@ -2,7 +2,7 @@
MDE DXE Services Library provides functions that simplify the development of DXE Drivers.
These functions help access data from sections of FFS files or from file path.
Copyright (c) 2007 - 2009, Intel Corporation<BR>
Copyright (c) 2007 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -401,7 +401,7 @@ GetSectionFromFfs (
/**
Get the image file buffer data and buffer size by its device path.
Access the file either from a a firmware volume, from a file system interface,
Access the file either from a firmware volume, from a file system interface,
or from the load file interface.
Allocate memory to store the found image. The caller is responsible to free memory.
@@ -410,16 +410,15 @@ GetSectionFromFfs (
If FileSize is NULL, then NULL is returned.
If AuthenticationStatus is NULL, then NULL is returned.
@param[in] BootPolicy
Policy for Open Image File.If TRUE, indicates that the request
originates from the boot manager, and that the boot manager is
attempting to load FilePath as a boot selection. If FALSE,
then FilePath must match an exact file to be loaded.
@param[in] FilePath Pointer to the device path of the file that is absracted to the file buffer.
@param[out] FileSize Pointer to the size of the abstracted file buffer.
@param[out] AuthenticationStatus
Pointer to a caller-allocated UINT32 in which
the authentication status is returned.
@param[in] BootPolicy Policy for Open Image File.If TRUE, indicates that the request
originates from the boot manager, and that the boot manager is
attempting to load FilePath as a boot selection. If FALSE,
then FilePath must match an exact file to be loaded.
@param[in] FilePath Pointer to the device path of the file that is absracted to
the file buffer.
@param[out] FileSize Pointer to the size of the abstracted file buffer.
@param[out] AuthenticationStatus Pointer to a caller-allocated UINT32 in which the authentication
status is returned.
@retval NULL File is NULL, or FileSize is NULL. Or the file can't be found.
@retval other The abstracted file buffer. The caller is responsible to free memory.