Fsp1.1 update.
Update ApiEntry.asm to use MACRO instead of direct XMM access. Add sanity parameter check for FSP API. Add sanity return code check for internal API. Call LoadUcode before CarInit to meet silicon requirement. Remove unnecessary VpdBase for PatchTable. Add ASSERT for NULL check FSP1.1 entrypoint. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com> Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com> Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com> Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16834 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -254,10 +254,10 @@ EndList
|
||||
ElifStack[-1] = ElifStack[-1] + 1
|
||||
else:
|
||||
if len(DscLine) > 0 and DscLine[0] == '!':
|
||||
#
|
||||
# Current it can only handle build switch.
|
||||
# It does not support INF file in included dsc.
|
||||
#
|
||||
#
|
||||
# Current it can only handle build switch.
|
||||
# It does not support INF file in included dsc.
|
||||
#
|
||||
else:
|
||||
if reduce(lambda x,y: x and y, IfStack):
|
||||
Handle = True
|
||||
@@ -619,8 +619,8 @@ EndList
|
||||
ImageRev = struct.unpack('<I', BinFd.read(0x04))
|
||||
BinFd.close()
|
||||
|
||||
HeaderFd.write("#define VPD_IMAGE_ID 0x%016X /* '%s' */\n" % (ImageId[0], IdStr))
|
||||
HeaderFd.write("#define VPD_IMAGE_REV 0x%08X \n\n" % ImageRev[0])
|
||||
HeaderFd.write("#define FSP_IMAGE_ID 0x%016X /* '%s' */\n" % (ImageId[0], IdStr))
|
||||
HeaderFd.write("#define FSP_IMAGE_REV 0x%08X \n\n" % ImageRev[0])
|
||||
|
||||
HeaderFd.write("typedef struct _" + Region[0] + "PD_DATA_REGION {\n")
|
||||
NextOffset = 0
|
||||
|
Reference in New Issue
Block a user