ReactOS 0.4.16-dev-258-g81860b4
|
#include "bl.h"
Go to the source code of this file.
Classes | |
struct | _BL_DEVICE_IO_INFORMATION |
struct | _BL_REGISTERED_DEVICE |
Typedefs | |
typedef struct _BL_DEVICE_IO_INFORMATION | BL_DEVICE_IO_INFORMATION |
typedef struct _BL_DEVICE_IO_INFORMATION * | PBL_DEVICE_IO_INFORMATION |
typedef struct _BL_REGISTERED_DEVICE | BL_REGISTERED_DEVICE |
typedef struct _BL_REGISTERED_DEVICE * | PBL_REGISTERED_DEVICE |
typedef struct _BL_REGISTERED_DEVICE * PBL_REGISTERED_DEVICE |
Definition at line 2073 of file device.c.
Referenced by BiLoadHive(), BlBsdInitializeLog(), BlImgLoadBootApplication(), and BmFwInitializeBootDirectoryPath().
NTSTATUS BlDeviceGetInformation | ( | _In_ ULONG | DeviceId, |
_Out_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 682 of file device.c.
Referenced by BlDeviceReadAtOffset(), BlFileOpen(), BlFileReadEx(), EtfspCheckEtfs(), and FatMount().
BOOLEAN BlDeviceIsVirtualPartitionDevice | ( | _In_ PBL_DEVICE_DESCRIPTOR | InputDevice, |
_Outptr_ PBL_DEVICE_DESCRIPTOR * | VirtualDevice | ||
) |
Definition at line 612 of file device.c.
Referenced by OslPrepareTarget().
NTSTATUS BlDeviceRead | ( | _In_ ULONG | DeviceId, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | Size, | ||
_Out_opt_ PULONG | BytesRead | ||
) |
Definition at line 720 of file device.c.
Referenced by BlDeviceReadAtOffset().
NTSTATUS BlDeviceReadAtOffset | ( | _In_ ULONG | DeviceId, |
_In_ ULONG | Size, | ||
_In_ ULONGLONG | Offset, | ||
_In_ PVOID | Buffer, | ||
_Out_ PULONG | BytesRead | ||
) |
Definition at line 773 of file device.c.
Referenced by EtfspCheckEtfs(), EtfspGetDirent(), EtfsRead(), and FatMount().
NTSTATUS BlDeviceSetInformation | ( | _In_ ULONG | DeviceId, |
_Out_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 645 of file device.c.
Referenced by BlDeviceReadAtOffset().
BOOLEAN BlockIoDeviceTableCompare | ( | _In_ PVOID | Entry, |
_In_ PVOID | Argument1, | ||
_In_ PVOID | Argument2, | ||
_In_ PVOID | Argument3, | ||
_In_ PVOID | Argument4 | ||
) |
Definition at line 1923 of file device.c.
Referenced by BlockIoOpen().
Definition at line 1800 of file device.c.
Referenced by BlockIopInitialize().
Definition at line 1779 of file device.c.
Referenced by BlockIoDeviceTableDestroy().
NTSTATUS BlockIoEfiCompareDevice | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ EFI_HANDLE | Handle | ||
) |
Definition at line 1268 of file device.c.
Referenced by BlFwEnumerateDevice().
NTSTATUS BlockIoEfiCreateDeviceEntry | ( | _In_ PBL_DEVICE_ENTRY * | DeviceEntry, |
_Out_ PVOID | Handle | ||
) |
Definition at line 1185 of file device.c.
Referenced by BlockIoEfiCompareDevice(), and BlockIoFirmwareOpen().
NTSTATUS BlockIoEfiGetBlockIoInformation | ( | _In_ PBL_BLOCK_DEVICE | BlockDevice | ) |
Definition at line 857 of file device.c.
Referenced by BlockIoEfiCreateDeviceEntry().
NTSTATUS BlockIoEfiGetChildHandle | ( | _In_ PBL_PROTOCOL_HANDLE | ProtocolInterface, |
_In_ PBL_PROTOCOL_HANDLE | ChildProtocolInterface | ||
) |
Definition at line 924 of file device.c.
Referenced by BlockIoEfiGetDeviceInformation().
NTSTATUS BlockIoEfiGetDeviceInformation | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry | ) |
Definition at line 1004 of file device.c.
Referenced by BlockIoEfiCreateDeviceEntry().
ULONG BlockIoEfiHashFunction | ( | _In_ PBL_HASH_ENTRY | Entry, |
_In_ ULONG | TableSize | ||
) |
Definition at line 1832 of file device.c.
Referenced by BlockIopInitialize().
Definition at line 1167 of file device.c.
Referenced by BlockIoEfiCreateDeviceEntry().
NTSTATUS BlockIoFirmwareOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_BLOCK_DEVICE | BlockIoDevice | ||
) |
Definition at line 1420 of file device.c.
Referenced by DiskOpen().
NTSTATUS BlockIoFirmwareRead | ( | _In_ PBL_BLOCK_DEVICE | BlockDevice, |
_In_ PVOID | Buffer, | ||
_In_ ULONGLONG | Block, | ||
_In_ ULONGLONG | BlockCount | ||
) |
Definition at line 107 of file device.c.
Referenced by BlockIopFirmwareOperation().
NTSTATUS BlockIoFirmwareWrite | ( | _In_ PBL_BLOCK_DEVICE | BlockDevice, |
_In_ PVOID | Buffer, | ||
_In_ ULONGLONG | Block, | ||
_In_ ULONGLONG | BlockCount | ||
) |
Definition at line 96 of file device.c.
Referenced by BlockIopFirmwareOperation().
NTSTATUS BlockIoGetGPTDiskSignature | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_Out_ PGUID | DiskSignature | ||
) |
Definition at line 994 of file device.c.
Referenced by BlockIoEfiGetDeviceInformation().
NTSTATUS BlockIoGetInformation | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_Out_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 596 of file device.c.
NTSTATUS BlockIoOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
Definition at line 1939 of file device.c.
NTSTATUS BlockIopAllocateAlignedBuffer | ( | _Inout_ PVOID * | Buffer, |
_Inout_ PULONG | BufferSize, | ||
_In_ ULONG | Size, | ||
_In_ ULONG | Alignment | ||
) |
Definition at line 231 of file device.c.
Referenced by BlockIopOperation(), and BlockIopReadPhysicalDevice().
NTSTATUS BlockIopBlockInformationCheck | ( | _In_ PBL_BLOCK_DEVICE | BlockDevice, |
_In_opt_ PULONG | DesiredSize, | ||
_Out_opt_ PULONG | Size, | ||
_Out_opt_ PULONG | OutputAdjustedSize | ||
) |
Definition at line 446 of file device.c.
Referenced by BlockIoRead().
Definition at line 1817 of file device.c.
Referenced by BlockIopInitialize().
NTSTATUS BlockIopFirmwareOperation | ( | PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONGLONG | Block, | ||
_In_ ULONGLONG | BlockCount, | ||
_In_ ULONG | OperationType | ||
) |
Definition at line 168 of file device.c.
Referenced by BlockIopOperation().
Definition at line 208 of file device.c.
Referenced by BlockIopAllocateAlignedBuffer().
NTSTATUS BlockIopFreeAllocations | ( | _In_ PBL_BLOCK_DEVICE | BlockDevice | ) |
Definition at line 842 of file device.c.
Referenced by BlockIoEfiCompareDevice(), BlockIoEfiCreateDeviceEntry(), BlockIoFirmwareOpen(), BlockIoOpen(), and DiskClose().
Definition at line 1842 of file device.c.
Referenced by BlockIoOpen().
NTSTATUS BlockIopOperation | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | BlockCount, | ||
_In_ ULONG | OperationType | ||
) |
Definition at line 280 of file device.c.
Referenced by BlockIopReadPhysicalDevice().
NTSTATUS BlockIopReadPhysicalDevice | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | Size, | ||
_Out_ PULONG | BytesRead | ||
) |
Definition at line 364 of file device.c.
Referenced by BlockIoRead().
NTSTATUS BlockIopReadUsingPrefetch | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | BlockCount | ||
) |
Definition at line 269 of file device.c.
Referenced by BlockIopReadPhysicalDevice().
NTSTATUS BlockIopReadWriteVirtualDevice | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | Size, | ||
_In_ ULONG | Operation, | ||
_Out_ PULONG | BytesRead | ||
) |
Definition at line 352 of file device.c.
Referenced by BlockIoRead().
NTSTATUS BlockIoRead | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | Size, | ||
_Out_ PULONG | BytesRead | ||
) |
Definition at line 523 of file device.c.
NTSTATUS BlockIoSetInformation | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry, |
_Out_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 563 of file device.c.
BOOLEAN BlpDeviceCompare | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device1, |
_In_ PBL_DEVICE_DESCRIPTOR | Device2 | ||
) |
Definition at line 808 of file device.c.
Referenced by BlockIoDeviceTableCompare(), BlockIoFirmwareOpen(), and DeviceTableCompare().
Definition at line 2309 of file device.c.
Referenced by BlpIoInitialize().
NTSTATUS BlpDeviceOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ ULONG | Flags, | ||
_In_ ULONG | Unknown, | ||
_Out_ PULONG | DeviceId | ||
) |
Definition at line 2111 of file device.c.
Referenced by BiLoadHive(), BlBsdInitializeLog(), BlImgLoadBootApplication(), BmFwInitializeBootDirectoryPath(), and OslPrepareTarget().
NTSTATUS BlpDeviceResolveLocate | ( | _In_ PBL_DEVICE_DESCRIPTOR | InputDevice, |
_Out_ PBL_DEVICE_DESCRIPTOR * | LocateDevice | ||
) |
Definition at line 2063 of file device.c.
Referenced by BlpDeviceOpen().
BOOLEAN DeviceTableCompare | ( | _In_ PVOID | Entry, |
_In_ PVOID | Argument1, | ||
_In_ PVOID | Argument2, | ||
_Inout_ PVOID | Argument3, | ||
_Inout_ PVOID | Argument4 | ||
) |
Definition at line 1691 of file device.c.
Referenced by BlpDeviceOpen().
Definition at line 1734 of file device.c.
Referenced by DeviceTablePurge().
Definition at line 1755 of file device.c.
Referenced by BlpDeviceOpen().
NTSTATUS DiskClose | ( | _In_ PBL_DEVICE_ENTRY | DeviceEntry | ) |
Definition at line 1550 of file device.c.
Referenced by DiskOpen().
NTSTATUS DiskOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
Definition at line 1582 of file device.c.
NTSTATUS FileDeviceOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
NTSTATUS PartitionOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
NTSTATUS RdDeviceOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
NTSTATUS SpOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
NTSTATUS UdpOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
NTSTATUS VhdFileDeviceOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PBL_DEVICE_ENTRY | DeviceEntry | ||
) |
BL_DEVICE_CALLBACKS BlockIoDeviceFunctionTable |
Definition at line 84 of file device.c.
Referenced by BlockIoEfiCreateDeviceEntry(), BlockIoOpen(), and BlpDeviceOpen().
PVOID* BlockIoDeviceTable |
Definition at line 36 of file device.c.
Referenced by BlockIoDeviceTableDestroy(), BlockIoDeviceTableDestroyEntry(), BlockIoFirmwareOpen(), BlockIoOpen(), and BlockIopInitialize().
ULONG BlockIoDeviceTableEntries |
Definition at line 37 of file device.c.
Referenced by BlockIoDeviceTableDestroy(), BlockIoFirmwareOpen(), BlockIoOpen(), and BlockIopInitialize().
ULONG BlockIoFirmwareCdromCount |
Definition at line 41 of file device.c.
Referenced by BlockIopInitialize().
ULONG BlockIoFirmwareRawDiskCount |
Definition at line 40 of file device.c.
Referenced by BlockIoEfiGetDeviceInformation(), and BlockIopInitialize().
ULONG BlockIoFirmwareRemovableDiskCount |
Definition at line 39 of file device.c.
Referenced by BlockIoEfiGetDeviceInformation(), and BlockIopInitialize().
BOOLEAN BlockIoInitialized |
Definition at line 56 of file device.c.
Referenced by BlockIoOpen(), BlockIopDestroy(), and BlockIopInitialize().
PVOID BlockIopAlignedBuffer |
Definition at line 43 of file device.c.
Referenced by BlockIopInitialize(), and BlockIopOperation().
ULONG BlockIopAlignedBufferSize |
Definition at line 44 of file device.c.
Referenced by BlockIopInitialize(), and BlockIopOperation().
PVOID BlockIopPartialBlockBuffer |
Definition at line 46 of file device.c.
Referenced by BlockIopInitialize().
ULONG BlockIopPartialBlockBufferSize |
Definition at line 47 of file device.c.
Referenced by BlockIopInitialize().
PVOID BlockIopPrefetchBuffer |
Definition at line 49 of file device.c.
Referenced by BlockIopDestroy(), and BlockIopInitialize().
PVOID BlockIopReadBlockBuffer |
Definition at line 51 of file device.c.
Referenced by BlockIopInitialize(), and BlockIopReadPhysicalDevice().
ULONG BlockIopReadBlockBufferSize |
Definition at line 52 of file device.c.
Referenced by BlockIopInitialize(), and BlockIopReadPhysicalDevice().
BL_DEVICE_CALLBACKS DiskDeviceFunctionTable |
Definition at line 1662 of file device.c.
Referenced by BlockIoOpen().
BL_DEVICE_IO_INFORMATION DmDeviceIoInformation |
Definition at line 26 of file device.c.
Referenced by BlDeviceRead(), and BlpDeviceInitialize().
PVOID* DmDeviceTable |
Definition at line 24 of file device.c.
Referenced by BlDeviceClose(), BlDeviceGetInformation(), BlDeviceRead(), BlDeviceSetInformation(), BlpDeviceInitialize(), BlpDeviceOpen(), DeviceTableDestroyEntry(), FileIoOpen(), and FileTableDestroyEntry().
LIST_ENTRY DmRegisteredDevices |
Definition at line 21 of file device.c.
Referenced by BlpDeviceInitialize(), and BlpDeviceOpen().
ULONG DmTableEntries |
Definition at line 22 of file device.c.
Referenced by BlDeviceClose(), BlDeviceGetInformation(), BlDeviceRead(), BlDeviceSetInformation(), BlpDeviceInitialize(), BlpDeviceOpen(), FileIoOpen(), and FileTableDestroyEntry().
BL_DEVICE_CALLBACKS FileDeviceFunctionTable |
Definition at line 1641 of file device.c.
Referenced by BlockIoOpen().
ULONG HashTableId |
Definition at line 54 of file device.c.
Referenced by BlockIoFirmwareOpen(), and BlockIopInitialize().
BL_DEVICE_CALLBACKS PartitionDeviceFunctionTable |
Definition at line 1648 of file device.c.
Referenced by BlockIoOpen().
BL_DEVICE_CALLBACKS RamDiskDeviceFunctionTable |
Definition at line 1655 of file device.c.
Referenced by BlockIoOpen().
BL_DEVICE_CALLBACKS SerialPortFunctionTable |
Definition at line 1683 of file device.c.
Referenced by BlpDeviceOpen().
BL_DEVICE_CALLBACKS UdpFunctionTable |
Definition at line 1676 of file device.c.
Referenced by BlpDeviceOpen().
BL_DEVICE_CALLBACKS VirtualDiskDeviceFunctionTable |
Definition at line 1669 of file device.c.
Referenced by BlockIoOpen().