X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UnixPkg%2FSec%2FIa32%2FGasketTemplate.c;h=d85a26a53ec88231657b25859a5bb2e39bb4351d;hb=2ff79f2eda16f8219140d3dae188d2b341f610e1;hp=8ff801d72e1c72115547044d03f5531f082eb4c2;hpb=b9c8e50e2054fc21c2029db309f813d03ccd6082;p=mirror_edk2.git diff --git a/UnixPkg/Sec/Ia32/GasketTemplate.c b/UnixPkg/Sec/Ia32/GasketTemplate.c index 8ff801d72e..d85a26a53e 100644 --- a/UnixPkg/Sec/Ia32/GasketTemplate.c +++ b/UnixPkg/Sec/Ia32/GasketTemplate.c @@ -7,7 +7,7 @@ the assembly functions. Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
-Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -35,6 +35,8 @@ typedef UINT32 UINTN; typedef int (*GASKET_VOID) (); typedef int (*GASKET_UINTN) (UINTN); +typedef int (*GASKET_UINT64) (UINT64); +typedef int (*GASKET_UINT64UINT64) (UINT64, UINT64); typedef int (*GASKET_UINTN_UINTN) (UINTN, UINTN); typedef int (*GASKET_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN); typedef int (*GASKET_UINTN_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN, UINTN); @@ -143,9 +145,19 @@ ReverseGasketUint64 (void *api, UINT64 a) { GASKET_UINTN func; - func = (GASKET_UINTN)api; + func = (GASKET_UINT64)api; func (a); return; } +void +ReverseGasketUint64UINT64 (void *api, UINT64 a, UINT64 b) +{ + GASKET_UINT64UINT64 func; + + func = (GASKET_UINT64UINT64)api; + func (a, b); + return; +} +