diff options
author | Girisankar Paulraj <gpaulraj@in.ibm.com> | 2016-05-19 07:27:12 -0500 |
---|---|---|
committer | Martin Peschke <mpeschke@de.ibm.com> | 2016-08-02 09:51:15 -0400 |
commit | 4de3ba5db9e886a4b08ac2717483d741412b3922 (patch) | |
tree | 3765ce117c411b44732fd4d04cc7c956d9ccd5ec /import | |
parent | f23631b42faba06328e2eaa32ed7b6fe5bbc0e34 (diff) | |
download | talos-sbe-4de3ba5db9e886a4b08ac2717483d741412b3922.tar.gz talos-sbe-4de3ba5db9e886a4b08ac2717483d741412b3922.zip |
Adding RS4v2 and ring_apply support for handling overrides rings
>Copied bin.srd data into initRings and alterRings
for standard ring section generation.
>converted fixed numbers into definition
>New Compression technique added
>added override support for file handling.
>Modified rs4_compress parameter definition
>Removed INSTANCE_REF_ID
>> implemented --type base or overrides for better user friendly
>> modified makefile for above parameter
Completed RS4 v2 encoding algorithm in __rs4_compress().
Fixed various bugs in ring_apply that caused data in last nibble
of alterRing (*.bitsModified) buffer to get messed up.
Also, added check for illegal 1s in data where care has 0 in
__rs4_comress().
Updated help menu.
rebase on top of 25379 and merged delta changes
Change-Id: I4f2b6a8b87a0106878028a5ca650bebb187d707b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24788
Tested-by: Hostboot CI
Tested-by: Jenkins Server
Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27754
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Diffstat (limited to 'import')
-rw-r--r-- | import/chips/p9/utils/imageProcs/p9_scan_compression.H | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/import/chips/p9/utils/imageProcs/p9_scan_compression.H b/import/chips/p9/utils/imageProcs/p9_scan_compression.H index adfc8c91..9aec8844 100644 --- a/import/chips/p9/utils/imageProcs/p9_scan_compression.H +++ b/import/chips/p9/utils/imageProcs/p9_scan_compression.H @@ -147,9 +147,12 @@ compressed_scan_data_translate(CompressedScanData* o_data, /// data structure (header + compressed data) created in \a io_data, in bytes. /// This value will always be a multiple of 8. /// -/// \param[in] i_string The string to compress. Scan data to compress is +/// \param[in] i_data_str The string to compress. Scan data to compress is /// left-justified in this input string. /// +/// \param[in] i_care_str The care mask that identifies which bits in the +/// i_data_str that need to be scanned (written). String is left-justified. +/// /// \param[in] i_length The length of the input string in \e bits. It is /// assumed the \a i_string contains at least (\a i_length + 7) / 8 bytes. /// @@ -185,7 +188,8 @@ int _rs4_compress(CompressedScanData* io_data, uint32_t i_dataSize, uint32_t* o_imageSize, - const uint8_t* i_string, + const uint8_t* i_data_str, + const uint8_t* i_care_str, const uint32_t i_length, const uint64_t i_scanSelect, const uint8_t i_ringId, @@ -207,9 +211,12 @@ _rs4_compress(CompressedScanData* io_data, /// structure (header + compressed data) pointed to by \a o_data, in bytes. /// This value will always be a multiple of 8. /// -/// \param[in] i_string The string to compress. Scan data to compress is +/// \param[in] i_data_str The string to compress. Scan data to compress is /// left-justified in this input string. /// +/// \param[in] i_care_str The care mask that identifies which bits in the +/// i_data_str that need to be scanned (written). String is left-justified. +/// /// \param[in] i_length The length of the input string in \e bits. It is /// assumed the \a i_string contains at least (\a i_length + 7) / 8 bytes. /// @@ -233,7 +240,8 @@ _rs4_compress(CompressedScanData* io_data, int rs4_compress(CompressedScanData** o_data, uint32_t* o_size, - const uint8_t* i_string, + const uint8_t* i_data_str, + const uint8_t* i_care_str, const uint32_t i_length, const uint64_t i_scanSelect, const uint8_t i_ringId, |