summaryrefslogtreecommitdiffstats
path: root/src/vendorcode/amd/agesa/f15tn/AGESA.h
diff options
context:
space:
mode:
authorBruce Griffith <Bruce.Griffith@se-eng.com>2013-06-04 14:16:24 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-06-06 20:59:43 +0200
commit283ba7841581c5ffe64d1f0985cfa94be661b927 (patch)
tree4f4d60445daca61bc42febf488fa979f88a5f1a5 /src/vendorcode/amd/agesa/f15tn/AGESA.h
parentaa588e027301063731b80e3e22a4ea3b1c0c08f1 (diff)
downloadcoreboot-283ba7841581c5ffe64d1f0985cfa94be661b927.tar.gz
coreboot-283ba7841581c5ffe64d1f0985cfa94be661b927.tar.bz2
coreboot-283ba7841581c5ffe64d1f0985cfa94be661b927.zip
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>
Diffstat (limited to 'src/vendorcode/amd/agesa/f15tn/AGESA.h')
-rw-r--r--src/vendorcode/amd/agesa/f15tn/AGESA.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/AGESA.h b/src/vendorcode/amd/agesa/f15tn/AGESA.h
index 9bd2e88369c9..d78e1ae9d5c8 100644
--- a/src/vendorcode/amd/agesa/f15tn/AGESA.h
+++ b/src/vendorcode/amd/agesa/f15tn/AGESA.h
@@ -976,8 +976,8 @@ typedef struct {
* @li @b Bit31 - last descriptor in topology
*/
IN UINT32 SocketId; ///< Socket Id
- IN PCIe_PORT_DESCRIPTOR *PciePortList; ///< Pointer to array of PCIe port descriptors or NULL (Last element of array must be terminated with DESCRIPTOR_TERMINATE_LIST).
- IN PCIe_DDI_DESCRIPTOR *DdiLinkList; ///< Pointer to array DDI link descriptors (Last element of array must be terminated with DESCRIPTOR_TERMINATE_LIST).
+ IN CONST PCIe_PORT_DESCRIPTOR *PciePortList; ///< Pointer to array of PCIe port descriptors or NULL (Last element of array must be terminated with DESCRIPTOR_TERMINATE_LIST).
+ IN CONST PCIe_DDI_DESCRIPTOR *DdiLinkList; ///< Pointer to array DDI link descriptors (Last element of array must be terminated with DESCRIPTOR_TERMINATE_LIST).
IN VOID *Reserved; ///< Reserved for future use
} PCIe_COMPLEX_DESCRIPTOR;