diff options
| author | Nick Bofferding <bofferdn@us.ibm.com> | 2011-09-08 00:06:56 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-09-13 12:38:28 -0500 |
| commit | 676d7cd4e04309c1f3a5118805b50fade66716c4 (patch) | |
| tree | d708012bf2cd97cb516eabbc2c68d7f1ae16c9b3 /src/build/tocgen | |
| parent | d12504471789ae24fbd79f55b937e9f51fa768f6 (diff) | |
| download | blackbird-hostboot-676d7cd4e04309c1f3a5118805b50fade66716c4.tar.gz blackbird-hostboot-676d7cd4e04309c1f3a5118805b50fade66716c4.zip | |
Support generating the PNOR targeting image
Change-Id: I5233ea017d61d629da26aa63b628bb36187d63dd
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/335
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tocgen')
| -rwxr-xr-x | src/build/tocgen/mkpnortoc.pl | 28 | ||||
| -rw-r--r-- | src/build/tocgen/pnortoc.xml | 26 |
2 files changed, 49 insertions, 5 deletions
diff --git a/src/build/tocgen/mkpnortoc.pl b/src/build/tocgen/mkpnortoc.pl index f4e5464f5..7fc263a72 100755 --- a/src/build/tocgen/mkpnortoc.pl +++ b/src/build/tocgen/mkpnortoc.pl @@ -1,4 +1,26 @@ #!/usr/bin/perl +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/build/tocgen/mkpnortoc.pl $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2011 +# +# p1 +# +# Object Code Only (OCO) source materials +# Licensed Internal Code Source Materials +# IBM HostBoot Licensed Internal Code +# +# The source code for this program is not published or other- +# wise divested of its trade secrets, irrespective of what has +# been deposited with the U.S. Copyright Office. +# +# Origin: 30 +# +# IBM_PROLOG_END # File mkPnorTOC.pl created by ADAM R. MUHLE at 14:39:27 on Mon Aug 1 2011. #Limitations to address later @@ -65,8 +87,8 @@ $onlytocVerNode = $tocVerNodes->pop(); writeElementToBinFile(BIN_TOC_FILE, $onlytocVerNode); -#Add the individual TOC entries -$root = $doc->firstChild; +#Add the individual TOC entries; skip over the mandatory comment block +$root = $doc->firstChild->nextSibling; $curSibling = $root->firstChild; do { @@ -85,7 +107,7 @@ do { #skip these, already inserted above } -}while($curSibling = $curSibling->nextSibling); +}while($curSibling = $curSibling->nextSibling()); close(BIN_TOC_FILE); diff --git a/src/build/tocgen/pnortoc.xml b/src/build/tocgen/pnortoc.xml index 2f530bdb6..06abc67c1 100644 --- a/src/build/tocgen/pnortoc.xml +++ b/src/build/tocgen/pnortoc.xml @@ -1,3 +1,25 @@ +<!-- IBM_PROLOG_BEGIN_TAG + This is an automatically generated prolog. + + $Source: src/build/tocgen/pnortoc.xml $ + + IBM CONFIDENTIAL + + COPYRIGHT International Business Machines Corp. 2011 + + p1 + + Object Code Only (OCO) source materials + Licensed Internal Code Source Materials + IBM HostBoot Licensed Internal Code + + The source code for this program is not published or other- + wise divested of its trade secrets, irrespective of what has + been deposited with the U.S. Copyright Office. + + Origin: 30 + + IBM_PROLOG_END --> <pnorToc> <sbeLoc>0x180 <length>8</length> @@ -114,11 +136,11 @@ <length>8</length> <format>number</format> </field> - <field type="logical_size">8192 + <field type="logical_size">16384 <length>8</length> <format>number</format> </field> - <field type="physical_size">8192 + <field type="physical_size">16384 <length>8</length> <format>number</format> </field> |

