TianoCore EDK2 master
|
#include "XenPvBlkDxe.h"
#include <IndustryStandard/Xen/event_channel.h>
#include <IndustryStandard/Xen/io/blkif.h>
Go to the source code of this file.
Data Structures | |
struct | _XEN_BLOCK_FRONT_IO |
struct | XEN_BLOCK_FRONT_MEDIA_INFO |
struct | _XEN_BLOCK_FRONT_DEVICE |
Macros | |
#define | XEN_BLOCK_FRONT_SIGNATURE SIGNATURE_32 ('X', 'p', 'v', 'B') |
#define | XEN_BLOCK_FRONT_FROM_BLOCK_IO(b) CR (b, XEN_BLOCK_FRONT_DEVICE, BlockIo, XEN_BLOCK_FRONT_SIGNATURE) |
Typedefs | |
typedef struct _XEN_BLOCK_FRONT_DEVICE | XEN_BLOCK_FRONT_DEVICE |
typedef struct _XEN_BLOCK_FRONT_IO | XEN_BLOCK_FRONT_IO |
Functions | |
EFI_STATUS | XenPvBlockFrontInitialization (IN XENBUS_PROTOCOL *XenBusIo, IN CONST CHAR8 *NodeName, OUT XEN_BLOCK_FRONT_DEVICE **DevPtr) |
VOID | XenPvBlockFrontShutdown (IN XEN_BLOCK_FRONT_DEVICE *Dev) |
VOID | XenPvBlockAsyncIo (IN OUT XEN_BLOCK_FRONT_IO *IoData, IN BOOLEAN IsWrite) |
EFI_STATUS | XenPvBlockIo (IN OUT XEN_BLOCK_FRONT_IO *IoData, IN BOOLEAN IsWrite) |
VOID | XenPvBlockAsyncIoPoll (IN XEN_BLOCK_FRONT_DEVICE *Dev) |
VOID | XenPvBlockSync (IN XEN_BLOCK_FRONT_DEVICE *Dev) |
BlockFront functions and types declarations.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BlockFront.h.
#define XEN_BLOCK_FRONT_FROM_BLOCK_IO | ( | b | ) | CR (b, XEN_BLOCK_FRONT_DEVICE, BlockIo, XEN_BLOCK_FRONT_SIGNATURE) |
Definition at line 58 of file BlockFront.h.
#define XEN_BLOCK_FRONT_SIGNATURE SIGNATURE_32 ('X', 'p', 'v', 'B') |
Definition at line 39 of file BlockFront.h.
typedef struct _XEN_BLOCK_FRONT_DEVICE XEN_BLOCK_FRONT_DEVICE |
Definition at line 14 of file BlockFront.h.
typedef struct _XEN_BLOCK_FRONT_IO XEN_BLOCK_FRONT_IO |
Definition at line 15 of file BlockFront.h.
VOID XenPvBlockAsyncIo | ( | IN OUT XEN_BLOCK_FRONT_IO * | IoData, |
IN BOOLEAN | IsWrite | ||
) |
Definition at line 494 of file BlockFront.c.
VOID XenPvBlockAsyncIoPoll | ( | IN XEN_BLOCK_FRONT_DEVICE * | Dev | ) |
Definition at line 650 of file BlockFront.c.
EFI_STATUS XenPvBlockFrontInitialization | ( | IN XENBUS_PROTOCOL * | XenBusIo, |
IN CONST CHAR8 * | NodeName, | ||
OUT XEN_BLOCK_FRONT_DEVICE ** | DevPtr | ||
) |
Definition at line 151 of file BlockFront.c.
VOID XenPvBlockFrontShutdown | ( | IN XEN_BLOCK_FRONT_DEVICE * | Dev | ) |
Definition at line 381 of file BlockFront.c.
EFI_STATUS XenPvBlockIo | ( | IN OUT XEN_BLOCK_FRONT_IO * | IoData, |
IN BOOLEAN | IsWrite | ||
) |
Definition at line 569 of file BlockFront.c.
VOID XenPvBlockSync | ( | IN XEN_BLOCK_FRONT_DEVICE * | Dev | ) |
Definition at line 626 of file BlockFront.c.