diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-08 19:07:14 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-08 19:07:14 +0000 |
commit | 2ec364f9bf0a66e56e752088aa3e7b124262d2a5 (patch) | |
tree | c3cb1bb973dc08b2682f19f57e80d5e699549b8c /UnixPkg/Sec/X64/GasketTemplate.c | |
parent | d0d41b52e06296fc148470f18eb6aaddfef36bdc (diff) | |
download | edk2-platforms-2ec364f9bf0a66e56e752088aa3e7b124262d2a5.tar.xz |
Fix reverse gasket issue that was breaking watch dog timer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10779 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Sec/X64/GasketTemplate.c')
-rw-r--r-- | UnixPkg/Sec/X64/GasketTemplate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/UnixPkg/Sec/X64/GasketTemplate.c b/UnixPkg/Sec/X64/GasketTemplate.c index f9f2785524..7345e23126 100644 --- a/UnixPkg/Sec/X64/GasketTemplate.c +++ b/UnixPkg/Sec/X64/GasketTemplate.c @@ -35,6 +35,7 @@ typedef UINT64 UINTN; typedef UINTN (*GASKET_VOID) (); typedef UINTN (*GASKET_UINTN) (UINTN); +typedef UINTN (*GASKET_UINT64) (UINT64); typedef UINTN (*GASKET_UINTN_UINTN) (UINTN, UINTN); typedef UINTN (*GASKET_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN); typedef UINTN (*GASKET_UINTN_UINTN_UINTN_UINTN) (UINTN, UINTN, UINTN, UINTN); @@ -141,9 +142,9 @@ GasketUintnUint16 (void *api, UINTN a, UINT16 b) void ReverseGasketUint64 (void *api, UINT64 a) { - GASKET_UINTN func; + GASKET_UINT64 func; - func = (GASKET_UINTN)api; + func = (GASKET_UINT64)api; func (a); return; } |