#ifndef __ANDROID_FASTBOOT_PLATFORM_H__\r
#define __ANDROID_FASTBOOT_PLATFORM_H__\r
\r
-extern EFI_GUID gAndroidFastbootPlatformProtocolGuid;\r
+extern EFI_GUID gAndroidFastbootPlatformProtocolGuid;\r
\r
/*\r
Protocol for platform-specific operations initiated by Android Fastboot.\r
\r
/*\r
To be called when Fastboot is finished and we aren't rebooting or booting an\r
- image. Undo initialisation, free resrouces.\r
+ image. Undo initialisation, free resources.\r
*/\r
typedef\r
VOID\r
PartitionName, with the image pointed to by Buffer, whose size is BufferSize.\r
\r
@param[in] PartitionName Null-terminated name of partition to write.\r
- @param[in] BufferSize Size of Buffer in byets.\r
+ @param[in] BufferSize Size of Buffer in bytes.\r
@param[in] Buffer Data to write to partition.\r
\r
@retval EFI_NOT_FOUND No such partition.\r
typedef\r
EFI_STATUS\r
(*FASTBOOT_PLATFORM_FLASH) (\r
- IN CHAR8 *PartitionName,\r
- IN UINTN BufferSize,\r
- IN VOID *Buffer\r
+ IN CHAR8 *PartitionName,\r
+ IN UINTN BufferSize,\r
+ IN VOID *Buffer\r
);\r
\r
/*\r
typedef\r
EFI_STATUS\r
(*FASTBOOT_PLATFORM_ERASE) (\r
- IN CHAR8 *PartitionName\r
+ IN CHAR8 *PartitionName\r
);\r
\r
/*\r
typedef\r
EFI_STATUS\r
(*FASTBOOT_PLATFORM_GETVAR) (\r
- IN CHAR8 *Name,\r
- OUT CHAR8 *Value\r
+ IN CHAR8 *Name,\r
+ OUT CHAR8 *Value\r
);\r
\r
/*\r
typedef\r
EFI_STATUS\r
(*FASTBOOT_PLATFORM_OEM_COMMAND) (\r
- IN CHAR8 *Command\r
+ IN CHAR8 *Command\r
);\r
\r
typedef struct _FASTBOOT_PLATFORM_PROTOCOL {\r
- FASTBOOT_PLATFORM_INIT Init;\r
- FASTBOOT_PLATFORM_UN_INIT UnInit;\r
- FASTBOOT_PLATFORM_FLASH FlashPartition;\r
- FASTBOOT_PLATFORM_ERASE ErasePartition;\r
- FASTBOOT_PLATFORM_GETVAR GetVar;\r
- FASTBOOT_PLATFORM_OEM_COMMAND DoOemCommand;\r
+ FASTBOOT_PLATFORM_INIT Init;\r
+ FASTBOOT_PLATFORM_UN_INIT UnInit;\r
+ FASTBOOT_PLATFORM_FLASH FlashPartition;\r
+ FASTBOOT_PLATFORM_ERASE ErasePartition;\r
+ FASTBOOT_PLATFORM_GETVAR GetVar;\r
+ FASTBOOT_PLATFORM_OEM_COMMAND DoOemCommand;\r
} FASTBOOT_PLATFORM_PROTOCOL;\r
\r
#endif\r