EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Namespaces | Functions | Variables

BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py File Reference

Generate PCD table for 'Patchable In Module' type PCD with given .map file. More...

Go to the source code of this file.

Namespaces

namespace  GenPatchPcdTable::GenPatchPcdTable

Functions

def parsePcdInfoFromMapFile
def generatePcdTable

Variables

tuple __version_number__ = ("0.10" + " " + gBUILD_VERSION)
string __version__ = "%prog Version "
string __copyright__ = "Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved."
tuple secRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\da-fA-F]+)[Hh]? +([.\w\$]+) +(\w+)', re.UNICODE)
tuple symRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\.:\\\\\w\?@\$]+) +([\da-fA-F]+)', re.UNICODE)
string UsageString = "%prog -m <MapFile> -e <EfiFile> -o <OutFile>"
string AdditionalNotes = "\nPCD table is generated in file name with .BinaryPcdTable.txt postfix"
tuple parser = optparse.OptionParser(description=__copyright__, version=__version__, usage=UsageString)
string help = 'Absolute path of module map file.'
tuple list = parsePcdInfoFromMapFile(options.mapfile, options.efifile)

Detailed Description

Generate PCD table for 'Patchable In Module' type PCD with given .map file.

The Patch PCD table like:

PCD Name Offset in binary ======== ================

Copyright (c) 2008 - 2010, 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.

Definition in file GenPatchPcdTable.py.

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