BdsLoadOptionFileSystemCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionFileSystemUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionMemMapCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionMemMapUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionPxeCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionPxeUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionTftpCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
BdsLoadOptionTftpUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
);\r
\r
);\r
\r
BDS_LOAD_OPTION_SUPPORT BdsLoadOptionSupportList[] = {\r
- {\r
- BDS_DEVICE_FILESYSTEM,\r
- BdsLoadOptionFileSystemList,\r
- BdsLoadOptionFileSystemIsSupported,\r
- BdsLoadOptionFileSystemCreateDevicePath,\r
- BdsLoadOptionFileSystemUpdateDevicePath\r
- },\r
- {\r
- BDS_DEVICE_MEMMAP,\r
- BdsLoadOptionMemMapList,\r
- BdsLoadOptionMemMapIsSupported,\r
- BdsLoadOptionMemMapCreateDevicePath,\r
- BdsLoadOptionMemMapUpdateDevicePath\r
- },\r
- {\r
- BDS_DEVICE_PXE,\r
- BdsLoadOptionPxeList,\r
- BdsLoadOptionPxeIsSupported,\r
- BdsLoadOptionPxeCreateDevicePath,\r
- BdsLoadOptionPxeUpdateDevicePath\r
- },\r
- {\r
- BDS_DEVICE_TFTP,\r
- BdsLoadOptionTftpList,\r
- BdsLoadOptionTftpIsSupported,\r
- BdsLoadOptionTftpCreateDevicePath,\r
- BdsLoadOptionTftpUpdateDevicePath\r
- }\r
+ {\r
+ BDS_DEVICE_FILESYSTEM,\r
+ BdsLoadOptionFileSystemList,\r
+ BdsLoadOptionFileSystemIsSupported,\r
+ BdsLoadOptionFileSystemCreateDevicePath,\r
+ BdsLoadOptionFileSystemUpdateDevicePath\r
+ },\r
+ {\r
+ BDS_DEVICE_MEMMAP,\r
+ BdsLoadOptionMemMapList,\r
+ BdsLoadOptionMemMapIsSupported,\r
+ BdsLoadOptionMemMapCreateDevicePath,\r
+ BdsLoadOptionMemMapUpdateDevicePath\r
+ },\r
+ {\r
+ BDS_DEVICE_PXE,\r
+ BdsLoadOptionPxeList,\r
+ BdsLoadOptionPxeIsSupported,\r
+ BdsLoadOptionPxeCreateDevicePath,\r
+ BdsLoadOptionPxeUpdateDevicePath\r
+ },\r
+ {\r
+ BDS_DEVICE_TFTP,\r
+ BdsLoadOptionTftpList,\r
+ BdsLoadOptionTftpIsSupported,\r
+ BdsLoadOptionTftpCreateDevicePath,\r
+ BdsLoadOptionTftpUpdateDevicePath\r
+ }\r
};\r
\r
EFI_STATUS\r
InitializeListHead (SupportedDeviceList);\r
\r
for (Index = 0; Index < BDS_DEVICE_MAX; Index++) {\r
- BdsLoadOptionSupportList[Index].ListDevices(SupportedDeviceList);\r
+ BdsLoadOptionSupportList[Index].ListDevices (SupportedDeviceList);\r
}\r
\r
return EFI_SUCCESS;\r
SupportedDevice = SUPPORTED_BOOT_DEVICE_FROM_LINK(Entry);\r
Entry = RemoveEntryList (Entry);\r
if (SupportedDevice != Except) {\r
- FreePool(SupportedDevice);\r
+ FreePool (SupportedDevice);\r
}\r
}\r
\r
EFI_STATUS\r
BootDeviceGetType (\r
IN CHAR16* FileName,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiDevicePathProtocolGuid, (VOID **)&DevicePathProtocol);\r
if (!EFI_ERROR(Status)) {\r
// Allocate BDS Supported Device structure\r
- SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool(sizeof(BDS_SUPPORTED_DEVICE));\r
+ SupportedDevice = (BDS_SUPPORTED_DEVICE*)AllocatePool (sizeof(BDS_SUPPORTED_DEVICE));\r
\r
FileProtocol = NULL;\r
Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiSimpleFileSystemProtocolGuid, (VOID **)&FileProtocol);\r
BdsLoadOptionFileSystemCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionFileSystemUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionMemMapCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
}\r
\r
// Create the MemMap Device Path Node\r
- MemMapDevicePath = (MEMMAP_DEVICE_PATH*)AllocatePool(sizeof(MEMMAP_DEVICE_PATH));\r
+ MemMapDevicePath = (MEMMAP_DEVICE_PATH*)AllocatePool (sizeof(MEMMAP_DEVICE_PATH));\r
MemMapDevicePath->Header.Type = HARDWARE_DEVICE_PATH;\r
MemMapDevicePath->Header.SubType = HW_MEMMAP_DP;\r
MemMapDevicePath->MemoryType = EfiBootServicesData;\r
BdsLoadOptionMemMapUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionPxeCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionPxeUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionTftpCreateDevicePath (\r
IN BDS_SUPPORTED_DEVICE* BdsLoadOption,\r
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePathNode,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r
BdsLoadOptionTftpUpdateDevicePath (\r
IN EFI_DEVICE_PATH *OldDevicePath,\r
OUT EFI_DEVICE_PATH_PROTOCOL** NewDevicePath,\r
- OUT BDS_LOADER_TYPE *BootType,\r
+ OUT ARM_BDS_LOADER_TYPE *BootType,\r
OUT UINT32 *Attributes\r
)\r
{\r