2 ; Provide FSP helper function.
4 ; Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
5 ; This program and the accompanying materials
6 ; are licensed and made available under the terms and conditions of the BSD License
7 ; which accompanies this distribution. The full text of the license may be found at
8 ; http://opensource.org/licenses/bsd-license.php.
10 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 global ASM_PFX(FspInfoHeaderRelativeOff)
17 ASM_PFX(FspInfoHeaderRelativeOff):
19 ; This value will be pached by the build script
23 global ASM_PFX(AsmGetFspBaseAddress)
24 ASM_PFX(AsmGetFspBaseAddress):
25 mov eax, ASM_PFX(AsmGetFspInfoHeader)
26 sub eax, dword [ASM_PFX(FspInfoHeaderRelativeOff)]
31 global ASM_PFX(AsmGetFspInfoHeader)
32 ASM_PFX(AsmGetFspInfoHeader):
33 mov eax, ASM_PFX(AsmGetFspInfoHeader)
34 sub eax, dword [ASM_PFX(FspInfoHeaderRelativeOff)]