EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

BaseTools/Source/C/Common/ParseGuidedSectionTools.h File Reference

#include <Common/UefiBaseTypes.h>

Go to the source code of this file.

Functions

EFI_HANDLE ParseGuidedSectionToolsFile (IN CHAR8 *InputFile)
EFI_HANDLE ParseGuidedSectionToolsMemoryFile (IN EFI_HANDLE InputFile)
CHAR8LookupGuidedSectionToolPath (IN EFI_HANDLE ParsedGuidedSectionToolsHandle, IN EFI_GUID *SectionGuid)
EFI_STATUS FreeParsedGuidedSectionToolsHandle (IN EFI_HANDLE ParsedGuidedSectionToolsHandle)

Detailed Description

Copyright (c) 2007 - 2008, Intel Corporation. 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 http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Module Name:

ParseGuidedSectionTools.h

Abstract:

Header file for helper functions for parsing GuidedSectionTools.txt

Definition in file ParseGuidedSectionTools.h.


Function Documentation

EFI_STATUS FreeParsedGuidedSectionToolsHandle ( IN EFI_HANDLE  ParsedGuidedSectionToolsHandle)

Routine Description:

This function looks up the appropriate tool to use for extracting a GUID defined FV section.

Arguments:

ParsedGuidedSectionToolsHandle A parsed GUID section tools handle. SectionGuid The GUID for the section.

Returns:

NULL - if no tool is found or there is another error Non-NULL - The tool to use to access the section contents. (The caller must free the memory associated with this string.)

CHAR8* LookupGuidedSectionToolPath ( IN EFI_HANDLE  ParsedGuidedSectionToolsHandle,
IN EFI_GUID SectionGuid 
)

Routine Description:

This function parses the tools_def.txt file. It returns a EFI_HANDLE object which can be used for the other library functions and should be passed to FreeParsedToolsDefHandle to free resources when the tools_def.txt information is no longer needed.

Arguments:

InputFile Memory file image.

Returns:

NULL if error parsing A non-NULL EFI_HANDLE otherwise

Definition at line 171 of file ParseGuidedSectionTools.c.

EFI_HANDLE ParseGuidedSectionToolsFile ( IN CHAR8 InputFile)

Definition at line 50 of file ParseGuidedSectionTools.c.

EFI_HANDLE ParseGuidedSectionToolsMemoryFile ( IN EFI_HANDLE  InputFile)

Routine Description:

This function parses the tools_def.txt file. It returns a EFI_HANDLE object which can be used for the other library functions and should be passed to FreeParsedToolsDefHandle to free resources when the tools_def.txt information is no longer needed.

Arguments:

InputFile Path name of file to read

Returns:

NULL if error parsing A non-NULL EFI_HANDLE otherwise

Definition at line 92 of file ParseGuidedSectionTools.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines