2 Block IO (memory mapped)
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __BLOCK_MMIO_H__
16 #define __BLOCK_MMIO_H__
18 #include <Protocol/BlockIo.h>
20 #define BLOCK_MMIO_PROTOCOL_GUID \
22 0x6b558ce3, 0x69e5, 0x4c67, {0xa6, 0x34, 0xf7, 0xfe, 0x72, 0xad, 0xbe, 0x84 } \
25 typedef struct _BLOCK_MMIO_PROTOCOL BLOCK_MMIO_PROTOCOL
;
29 /// This protocol provides control over block devices.
31 struct _BLOCK_MMIO_PROTOCOL
{
33 /// The revision to which the block IO interface adheres. All future
34 /// revisions must be backwards compatible. If a future version is not
35 /// back wards compatible, it is not the same GUID.
39 /// Pointer to the EFI_BLOCK_IO_MEDIA data for this device.
41 EFI_BLOCK_IO_MEDIA
*Media
;
43 EFI_PHYSICAL_ADDRESS BaseAddress
;
47 extern EFI_GUID gBlockMmioProtocolGuid
;