typedef struct {\r
UINT8 Type;\r
UINT8 SubType;\r
- VOID (*SerialFun) (EFI_DEVICE_PATH_PROTOCOL *, DEVICE_CONSIST_MAPPING_INFO *);\r
- INTN (*CompareFun) (EFI_DEVICE_PATH_PROTOCOL *, EFI_DEVICE_PATH_PROTOCOL *);\r
+ VOID (EFIAPI *SerialFun) (EFI_DEVICE_PATH_PROTOCOL *, DEVICE_CONSIST_MAPPING_INFO *);\r
+ INTN (EFIAPI *CompareFun) (EFI_DEVICE_PATH_PROTOCOL *, EFI_DEVICE_PATH_PROTOCOL *);\r
} DEV_PATH_CONSIST_MAPPING_TABLE;\r
\r
\r
}\r
\r
INTN\r
+EFIAPI\r
_DevPathCompareAcpi (\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1,\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2\r
}\r
\r
INTN\r
+EFIAPI\r
_DevPathComparePci (\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1,\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath\r
)\r
{\r
- VOID (*SerialFun) (EFI_DEVICE_PATH_PROTOCOL *, DEVICE_CONSIST_MAPPING_INFO *);\r
+ VOID (EFIAPI *SerialFun) (EFI_DEVICE_PATH_PROTOCOL *, DEVICE_CONSIST_MAPPING_INFO *);\r
\r
UINTN Index;\r
\r
}\r
\r
/**\r
- Create a consistent mapped name for the device specified by DevicePath \r
+ Create a consistent mapped name for the device specified by DevicePath\r
based on the Table.\r
\r
- This must be called after ShellCommandConsistMappingInitialize() and \r
+ This must be called after ShellCommandConsistMappingInitialize() and\r
before ShellCommandConsistMappingUnInitialize() is called.\r
\r
@param[in] DeviecPath The pointer to the dev path for the device.\r