From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::234; helo=mail-oi1-x234.google.com; envelope-from=jabirm@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0A7E32119BBD9 for ; Fri, 11 Jan 2019 00:17:29 -0800 (PST) Received: by mail-oi1-x234.google.com with SMTP id y23so11563438oia.4 for ; Fri, 11 Jan 2019 00:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dUyrmxll9VCMmhdK/AuPY1gspfIzekQWyAQZApxIVxQ=; b=eb+0JGTVt7/Gb7GJroJ/ZreA2wBIu5t0jegIQmR2xaAuzRVSJXEixGfTqz6M02VaI+ 5vejbKU9a4jDwMqAeAnP4ISK4Nz2woifUw/L3/ytfS27U5N0d7Hy6n5hdKrE3PKLymq7 nUkvB1tIfheC923/H9Hs+qFFtCSz09cdgR4U0zPYtcZQp3g9HGc7+mULu5WYY0aJGtSJ xSP7fWrQfVTEZ1ey+6J3MKWPbbEoeSyFby0bv4e5cw5PnKGOFvDr5EmtiXl4tMXNXT8g fBVoSFxN4Njr4YJuFe0xr9158Oa8sF1PVqLsjH9ntZjIWSWypMv/lyi5XTEkw/wYjmL3 mQNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dUyrmxll9VCMmhdK/AuPY1gspfIzekQWyAQZApxIVxQ=; b=BaQfQXZPILy6Fxy560CHX3ez0Zo5p2QXbwComPwhgsBYrMQmzWeKNowUe0SdawsAHy GgaVUXFyqdGj3o6slOZKqweARBNppgjqYwDJLxnXxftxpzTD+gB1cDYOAJa1yRdXN0+I hkbEqb8y6kDALGx75d3vSu/wqUZgQQueI/sJwfkGKN7RG22qDW0kiAyQRS71poY8FZlv Q97UYtLacs5iH0yavO1hiaN9pRLotnbfvipSNWX4DwBKJOpCMmayQ7kmSynnY4exTN05 ua7vqMMWlYbaUebs2PFK1dYTWphN5B3+JehhihIBpNkwN4t4eg3vFOpbw0ei0rITfDoK gjyQ== X-Gm-Message-State: AJcUukef1jLWaaLNbRfrr7uaGCGcT4zkLJzSoR9pa2k2oco3v22Y0CXQ c7ISaK2pNnxpxMOUwpsGeEVujoYHh8KgM/jpoownhtjgxSo= X-Google-Smtp-Source: ALg8bN4qpO4CPkLoep5ZkTX24fJfUSGjAy7WOUDpqPdyxZtU3MrteJOD6+vGxzO/1sj0OPI4eFJT1Fb2FtKR3P+fQc4= X-Received: by 2002:aca:e884:: with SMTP id f126mr8846781oih.181.1547194647795; Fri, 11 Jan 2019 00:17:27 -0800 (PST) MIME-Version: 1.0 From: jabir Date: Fri, 11 Jan 2019 13:47:16 +0530 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: More info on revision2 and revision3 of EFI_BLOCK_IO_PROTOCOL X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2019 08:17:30 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All, EFI_BLOCK_IO_MEDIA has two new fields, LowestAlignedLba and LogicalBlocksPerPhysicalBlock, added in the revision2 and a field OptimalTransferLengthGranularity added in revision3 of EFI_BLOCK_IO_PROTOCOL. Couldn=E2=80=99t find more info from https://github.com/tianocore/edk2. Please help to understand how these fields are consumed by the system firmware? typedef struct { UINT32 MediaId; BOOLEAN RemovableMedia; BOOLEAN MediaPresent; BOOLEAN LogicalPartition; BOOLEAN ReadOnly; BOOLEAN WriteCaching; UINT32 BlockSize; UINT32 IoAlign; EFI_LBA LastBlock; EFI_LBA LowestAlignedLba; //added in Revision 2 UINT32 LogicalBlocksPerPhysicalBlock; //added in Revision 2 UINT32 OptimalTransferLengthGranularity; // added in Revision 3 } EFI_BLOCK_IO_MEDIA; Thanks, Jabir