diff options
author | Hao Wu <hao.a.wu@intel.com> | 2018-02-09 10:16:53 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2018-02-26 08:45:57 +0800 |
commit | 0feca62c7a041a2ad6bb3b3a251dcd0db987b89a (patch) | |
tree | 80afd345d2786f3aff74f38168afb0381e968a0c /BaseTools/Source/Python/AutoGen/GenC.py | |
parent | f440f7e3caba12c0649c9ce15c33c7ec7aa2a4e8 (diff) | |
download | edk2-0feca62c7a041a2ad6bb3b3a251dcd0db987b89a.tar.gz edk2-0feca62c7a041a2ad6bb3b3a251dcd0db987b89a.tar.bz2 edk2-0feca62c7a041a2ad6bb3b3a251dcd0db987b89a.zip |
MdeModulePkg/RamDiskDxe: Perform MediaId check first in BlkIo services
The commit places the check for MediaId at the beginning of Block IO
services:
RamDiskBlkIoReadBlocks and
RamDiskBlkIoWriteBlocks
This aligns with the Block IO protocol implementations for other
devices.
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenC.py')
0 files changed, 0 insertions, 0 deletions