diff options
author | spashabk-in <shakeebbk@in.ibm.com> | 2018-06-11 03:10:25 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-06-11 11:10:43 -0400 |
commit | 7d1ec1f14057db47555a711f5764d399b54f32c8 (patch) | |
tree | f0992d3d7733554abb6b7b68a9543bf79cf7fdf6 /src/build/security | |
parent | 0c4dc80bce2a718b02d25b9a1b7e10c7668300e1 (diff) | |
download | talos-sbe-7d1ec1f14057db47555a711f5764d399b54f32c8.tar.gz talos-sbe-7d1ec1f14057db47555a711f5764d399b54f32c8.zip |
Bump up security list table size datatype
Change-Id: I29a6efe5cfd65393deec0d828cecb5052cf68d42
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60300
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
(cherry picked from commit 9f63d2dfe644009fc2389f566830802db2011e96)
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60288
Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/build/security')
-rw-r--r-- | src/build/security/securityRegListGen.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/build/security/securityRegListGen.py b/src/build/security/securityRegListGen.py index a593a976..75316b21 100644 --- a/src/build/security/securityRegListGen.py +++ b/src/build/security/securityRegListGen.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2017 +# Contributors Listed Below - COPYRIGHT 2017,2018 # [+] International Business Machines Corp. # # @@ -100,7 +100,7 @@ def gen_file(whitelist_tables, blacklist_tables): table1_index_type = "uint8_t" # table 2 value and running count type table2_value_type = "uint8_t" - table2_index_type = "uint8_t" + table2_index_type = "uint16_t" # table 3 value type table3_value_type = "uint16_t" for namespace, tablename, table in tables: @@ -135,9 +135,9 @@ namespace """+namespace+""" then table 1 will have a = 1, b = 1, c = 4 1 byte for key - 1 byte for number of paths - We are good with uint8_t, - till the number of paths to table 3 from each key is less than 256 + 2 byte for number of paths + We are good with uint16_t, + till the number of paths to table 3 from each key is less than 65536 */ map_t< """+table2_value_type+""", """+table2_index_type+""" > _t2[] = { // length of the table = """+s_list_len(table[1])+""" |