diff options
author | Bruce Griffith <Bruce.Griffith@se-eng.com> | 2013-06-04 14:16:24 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-06-06 20:59:43 +0200 |
commit | 283ba7841581c5ffe64d1f0985cfa94be661b927 (patch) | |
tree | 4f4d60445daca61bc42febf488fa979f88a5f1a5 /src/vendorcode/amd/agesa/f15tn/Legacy | |
parent | aa588e027301063731b80e3e22a4ea3b1c0c08f1 (diff) | |
download | coreboot-283ba7841581c5ffe64d1f0985cfa94be661b927.tar.xz |
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/Legacy')
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c b/src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c index 49f305bd24..0ee6d05183 100644 --- a/src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c +++ b/src/vendorcode/amd/agesa/f15tn/Legacy/Proc/Dispatcher.c @@ -111,7 +111,7 @@ AmdAgesaDispatcher ( DISPATCH_TABLE *Entry; UINT32 ImageStart; UINT32 ImageEnd; - AMD_IMAGE_HEADER* AltImagePtr; + CONST AMD_IMAGE_HEADER* AltImagePtr; Status = AGESA_UNSUPPORTED; ImageEntry = NULL; |