]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenPvBlkDxe: Add BlockIo.
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 Oct 2014 06:52:13 +0000 (06:52 +0000)
committerjljusten <jljusten@Edk2>
Wed, 29 Oct 2014 06:52:13 +0000 (06:52 +0000)
commit5de8a35c62406054f85df87ab67e018a3f4f88c6
tree149ee3baa9a30f9ea7c3402eaaead6ade4eabe4a
parent5cce85240450b4f878cc45b2eb16b7b4be74e511
OvmfPkg/XenPvBlkDxe: Add BlockIo.

Implement the BlockIo protocol.

Change in V4:
- Replace the license by the commonly used file header text.

Change in V3:
- assert(Media->BlockSize % 512 == 0)
- Use Sector instead of Offset to issue IOs.

Change in V2:
- Remove blockIo2 headers.
- Fix few comment.
- file header, copyright
- Rewrite few comment and error messages
- No more callback
- Improving block read/write, increase to the max size in one request
  (instead of only 8pages)
- Fix lastblock when it's a cdrom
- Do uninitialisation when fail to install fail
- few comment
- Licenses

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16274 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/XenPvBlkDxe/BlockIo.c [new file with mode: 0644]
OvmfPkg/XenPvBlkDxe/BlockIo.h [new file with mode: 0644]
OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c
OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.h
OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf