From c855dce8250b6c1820f682fb4a009d37e6d59826 Mon Sep 17 00:00:00 2001 From: Aladyshev Konstantin Date: Wed, 19 Dec 2012 05:53:53 +0400 Subject: Supermicro H8QGI: Pass callout pointer to AmdReadEventLog function I have issues when AmdReadEventLog function tries to use BiosCallouts interface. So it is necessary to provide callout pointer to this function. Change-Id: I4080e5f07d5d28c41688b2a7deff944b7a0f7bf7 Signed-off-by: Aladyshev Konstantin Reviewed-on: http://review.coreboot.org/2064 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones Reviewed-by: Zheng Bao --- src/mainboard/supermicro/h8qgi/agesawrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/supermicro') diff --git a/src/mainboard/supermicro/h8qgi/agesawrapper.c b/src/mainboard/supermicro/h8qgi/agesawrapper.c index aeeab110a3..d354c370d4 100644 --- a/src/mainboard/supermicro/h8qgi/agesawrapper.c +++ b/src/mainboard/supermicro/h8qgi/agesawrapper.c @@ -1174,7 +1174,7 @@ UINT32 agesawrapper_amdreadeventlog(UINT8 HeapStatus) &(AmdEventParams.StdHeader)); AmdEventParams.StdHeader.AltImageBasePtr = 0; - AmdEventParams.StdHeader.CalloutPtr = NULL; + AmdEventParams.StdHeader.CalloutPtr = (CALLOUT_ENTRY) &GetBiosCallout; AmdEventParams.StdHeader.Func = 0; AmdEventParams.StdHeader.ImageBasePtr = 0; /* I have to know the current HeapStatus to Locate the EventLogHeapPointer */ -- cgit v1.2.3