#include <Library/MemoryAllocationLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
\r
-//\r
-// Pre-allocate an aligned buffer of 64 blocks so very large Disk I/O requests\r
-// will be broken up into 64 * BlockSize chunks to provide better performance\r
-// than allocating an aligned 1 block buffer.\r
-//\r
-#define DATA_BUFFER_BLOCK_NUM 64\r
-\r
#define DISK_IO_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('d', 's', 'k', 'I')\r
typedef struct {\r
UINT32 Signature;\r
typedef struct {\r
UINT32 Signature;\r
LIST_ENTRY Link; /// < link to other task\r
+ EFI_LOCK SubtasksLock;\r
LIST_ENTRY Subtasks; /// < header of subtasks\r
EFI_DISK_IO2_TOKEN *Token;\r
DISK_IO_PRIVATE_DATA *Instance;\r