AGESA: Add "const" modifier to function parameters
authorBruce Griffith <Bruce.Griffith@se-eng.com>
Tue, 4 Jun 2013 20:16:24 +0000 (14:16 -0600)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 6 Jun 2013 18:59:43 +0000 (20:59 +0200)
commit283ba7841581c5ffe64d1f0985cfa94be661b927
tree4f4d60445daca61bc42febf488fa979f88a5f1a5
parentaa588e027301063731b80e3e22a4ea3b1c0c08f1
AGESA: Add "const" modifier to function parameters

Add CONST modifiers to read-only pass-by-reference function
parameters in AGESA.  This allows the use of "const" modifiers
on the declaration of lookup tables that are pass-by-reference.
These will be used to identify tables that are copied onto the
HEAP but don't need to be.

Change-Id: Ie1187a427804fddf47b935a110ad23931a3447a9
Signed-off-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Reviewed-on: http://review.coreboot.org/3393
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/vendorcode/amd/agesa/f15tn/AGESA.h
src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c
src/vendorcode/amd/agesa/f15tn/Lib/amdlib.c
src/vendorcode/amd/agesa/f15tn/Lib/amdlib.h
src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.c
src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbPcieConfig/PcieInputParser.h