summaryrefslogtreecommitdiffstats
path: root/OptionRomPkg/UndiRuntimeDxe/Undi32.h
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-04-21 09:31:14 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-04-24 10:10:45 +0800
commit176eb3a17e79644a4abf1d2612e03166c4692e17 (patch)
tree6258b78834010d7afeeeab8ae152bba9b09c45c5 /OptionRomPkg/UndiRuntimeDxe/Undi32.h
parentf6b139bde7e0a39f83ffad30af58136d5b0738a7 (diff)
downloadedk2-176eb3a17e79644a4abf1d2612e03166c4692e17.tar.gz
edk2-176eb3a17e79644a4abf1d2612e03166c4692e17.tar.bz2
edk2-176eb3a17e79644a4abf1d2612e03166c4692e17.zip
OptionRomPkg: Fix calling convention issue for UndiRuntiumeDxe driver.
Add "EFIAPI" to UNDI command entry point function according to UEFI calling convention. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Diffstat (limited to 'OptionRomPkg/UndiRuntimeDxe/Undi32.h')
-rw-r--r--OptionRomPkg/UndiRuntimeDxe/Undi32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OptionRomPkg/UndiRuntimeDxe/Undi32.h b/OptionRomPkg/UndiRuntimeDxe/Undi32.h
index 18341dd512..00b48f6ae0 100644
--- a/OptionRomPkg/UndiRuntimeDxe/Undi32.h
+++ b/OptionRomPkg/UndiRuntimeDxe/Undi32.h
@@ -1,7 +1,7 @@
/** @file
EFI internal structures for the EFI UNDI driver.
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
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
@@ -338,7 +338,7 @@ UNDI_Receive (
IN NIC_DATA_INSTANCE *AdapterInfo
);
-VOID UNDI_APIEntry_new(UINT64);
+VOID EFIAPI UNDI_APIEntry_new(UINT64);
VOID UNDI_APIEntry_Common(UINT64);
PXE_IPV4 convert_mcip(PXE_MAC_ADDR *);