|
ReactOS 0.4.16-dev-2615-g89221f5
|

Go to the source code of this file.
Classes | |
| struct | tagDISKCONTEXT |
| struct | _INTERNAL_UEFI_DISK |
Macros | |
| #define | TAG_HW_RESOURCE_LIST 'lRwH' |
| #define | TAG_HW_DISK_CONTEXT 'cDwH' |
| #define | FIRST_BIOS_DISK 0x80 |
| #define | FIRST_PARTITION 1 |
| #define | MAX_SUPPORTED_BLOCK_SIZE 8192 |
Typedefs | |
| typedef struct tagDISKCONTEXT | DISKCONTEXT |
| typedef struct _INTERNAL_UEFI_DISK | INTERNAL_UEFI_DISK |
| typedef struct _INTERNAL_UEFI_DISK * | PINTERNAL_UEFI_DISK |
Variables | |
| EFI_SYSTEM_TABLE * | GlobalSystemTable |
| EFI_HANDLE | GlobalImageHandle |
| EFI_HANDLE | PublicBootHandle |
| PVOID | DiskReadBuffer |
| static PVOID | DiskReadBufferRaw |
| static ULONG | DiskReadBufferAlignment |
| static BOOLEAN | DiskReadBufferFromPool |
| static BOOLEAN | DiskReadBufferFallbackPool = FALSE |
| static UCHAR | PcBiosDiskCount |
| UCHAR | FrldrBootDrive |
| ULONG | FrldrBootPartition |
| SIZE_T | DiskReadBufferSize |
| PVOID | Buffer |
| static ULONG | UefiBootRootIndex = 0 |
| static ULONG | PublicBootArcDisk = 0 |
| static INTERNAL_UEFI_DISK * | InternalUefiDisk = NULL |
| static EFI_GUID | BlockIoGuid = BLOCK_IO_PROTOCOL |
| static EFI_HANDLE * | handles = NULL |
| static ULONG | HandleCount = 0 |
| static const DEVVTBL | UefiDiskVtbl |
| #define FIRST_BIOS_DISK 0x80 |
Definition at line 17 of file uefidisk.c.
| #define FIRST_PARTITION 1 |
Definition at line 18 of file uefidisk.c.
| #define MAX_SUPPORTED_BLOCK_SIZE 8192 |
Definition at line 21 of file uefidisk.c.
| #define TAG_HW_DISK_CONTEXT 'cDwH' |
Definition at line 16 of file uefidisk.c.
| #define TAG_HW_RESOURCE_LIST 'lRwH' |
Definition at line 15 of file uefidisk.c.
| typedef struct tagDISKCONTEXT DISKCONTEXT |
| typedef struct _INTERNAL_UEFI_DISK * PINTERNAL_UEFI_DISK |
| DBG_DEFAULT_CHANNEL | ( | DISK | ) |
Definition at line 74 of file uefidisk.c.
| BOOLEAN DiskReadGptHeader | ( | _In_ UCHAR | DriveNumber, |
| _Out_ PGPT_TABLE_HEADER | GptHeader | ||
| ) |
Definition at line 22 of file part_gpt.c.
Referenced by DiskDetectPartitionType(), and UefiGetBootPartitionEntry().
Definition at line 645 of file uefidisk.c.
Referenced by UefiSetupBlockDevices().
|
static |
Definition at line 389 of file uefidisk.c.
Definition at line 1302 of file uefidisk.c.
Referenced by MachInit().
Definition at line 1252 of file uefidisk.c.
Referenced by MachInit().
|
static |
Definition at line 398 of file uefidisk.c.
|
static |
Definition at line 420 of file uefidisk.c.
|
static |
Definition at line 509 of file uefidisk.c.
| BOOLEAN UefiDiskReadLogicalSectors | ( | IN UCHAR | DriveNumber, |
| IN ULONGLONG | SectorNumber, | ||
| IN ULONG | SectorCount, | ||
| OUT PVOID | Buffer | ||
| ) |
Definition at line 1117 of file uefidisk.c.
Referenced by MachInit().
|
static |
Definition at line 604 of file uefidisk.c.
Definition at line 97 of file uefidisk.c.
Referenced by UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiInitializeBootDevices(), and UefiSetupBlockDevices().
|
static |
Definition at line 171 of file uefidisk.c.
Referenced by UefiSetBootpath().
Definition at line 1110 of file uefidisk.c.
Referenced by MachInit().
Definition at line 1041 of file uefidisk.c.
Referenced by MachInit().
Definition at line 82 of file uefidisk.c.
Referenced by UefiDiskReadLogicalSectors(), and UefiEnsureDiskReadBufferAligned().
Definition at line 963 of file uefidisk.c.
Referenced by UefiInitializeBootDevices().
Definition at line 707 of file uefidisk.c.
Referenced by UefiInitializeBootDevices().
|
static |
Definition at line 66 of file uefidisk.c.
Referenced by UefiDiskGetCacheableBlockCount(), UefiDiskGetDriveGeometry(), UefiDiskOpen(), UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiGetBootPartitionEntry(), UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
Definition at line 60 of file uefidisk.c.
| PVOID DiskReadBuffer |
Definition at line 50 of file uefidisk.c.
Referenced by UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiEnsureDiskReadBufferAligned(), UefiGetBootPartitionEntry(), and UefiInitializeBootDevices().
|
static |
Definition at line 52 of file uefidisk.c.
Referenced by UefiEnsureDiskReadBufferAligned(), and UefiInitializeBootDevices().
Definition at line 54 of file uefidisk.c.
Referenced by UefiEnsureDiskReadBufferAligned().
|
static |
Definition at line 53 of file uefidisk.c.
Referenced by UefiEnsureDiskReadBufferAligned(), and UefiInitializeBootDevices().
|
static |
Definition at line 51 of file uefidisk.c.
Referenced by UefiEnsureDiskReadBufferAligned(), and UefiInitializeBootDevices().
| SIZE_T DiskReadBufferSize |
Definition at line 59 of file uefidisk.c.
Referenced by UefiDiskOpen(), UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiEnsureDiskReadBufferAligned(), and UefiInitializeBootDevices().
| UCHAR FrldrBootDrive |
Definition at line 57 of file uefidisk.c.
Referenced by ChainLoadBiosBootSectorCode(), DiskGetBootPath(), DiskGetConfigType(), EnumerateHarddisks(), FrldrGetBootDrive(), Pc98InitializeBootDevices(), PcInitializeBootDevices(), UefiInitializeBootDevices(), and UefiSetBootpath().
| ULONG FrldrBootPartition |
Definition at line 58 of file uefidisk.c.
Referenced by ChainLoadBiosBootSectorCode(), DiskGetBootPath(), DiskGetConfigType(), FrldrGetBootPartition(), Pc98InitializeBootDevices(), and UefiSetBootpath().
|
extern |
|
extern |
Definition at line 16 of file uefildr.c.
Referenced by UefiDiskGetCacheableBlockCount(), UefiDiskGetDriveGeometry(), UefiDiskOpen(), UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiEnsureDiskReadBufferAligned(), UefiGetBootPartitionEntry(), UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
|
static |
Definition at line 68 of file uefidisk.c.
Referenced by $include(), CopyBackStatus(), ExpDesktopOpen(), GetPerformanceInfo(), IopCloseFile(), LockHandles(), NtQueryInformationProcess(), NtQueryOpenSubKeys(), ObGetProcessHandleCount(), OpenProc(), PerfDataGetHandleCount(), PerfDataGetSystemHandleCount(), test_query_process(), UefiGetBootPartitionEntry(), UefiSetBootpath(), UefiSetupBlockDevices(), UnlockHandles(), UserCreateHandleTable(), VfatLockOrUnlockVolume(), WahInsertHandleContext(), WSPSelect(), and ZeroEvents().
|
static |
Definition at line 67 of file uefidisk.c.
Referenced by _enumerateConnectedW(), apartment_hostobject_in_hostapt(), CoWaitForMultipleHandles(), create_io_inherit_block(), d3dx9_fragment_linker_LinkPixelShader(), d3dx9_fragment_linker_LinkShader(), d3dx9_fragment_linker_LinkVertexShader(), decode_file_layout_handles(), EMF_PlayEnhMetaFileCallback(), get_constant_by_name(), MCI_SendCommandAsync(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), set_method_event_handle_for_providers(), start_debugger(), test_CoWaitForMultipleHandles(), test_CoWaitForMultipleHandles_thread(), test_ffcnMultipleThreads(), test_file_inherit(), test_ProcThreadAttributeList(), test_register_local_server(), UefiGetBootPartitionEntry(), UefiSetBootpath(), UefiSetupBlockDevices(), wait_async_request(), wait_for_completion(), Wait_thread_proc(), WaitForMultipleObjects(), WaitForMultipleObjectsEx(), waitqueue_thread_proc(), and WNetCloseEnum().
|
static |
Definition at line 65 of file uefidisk.c.
Referenced by GetHarddiskInformation(), UefiDiskGetCacheableBlockCount(), UefiDiskGetDriveGeometry(), UefiDiskOpen(), UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiGetBootPartitionEntry(), UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
|
static |
Definition at line 55 of file uefidisk.c.
Referenced by UefiDiskOpen(), UefiDiskRead(), UefiDiskReadLogicalSectors(), UefiGetBootPartitionEntry(), UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
|
static |
Definition at line 64 of file uefidisk.c.
Referenced by UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
|
extern |
Definition at line 37 of file uefimem.c.
Referenced by UefiMemGetMemoryMap(), and UefiSetupBlockDevices().
|
static |
Definition at line 63 of file uefidisk.c.
Referenced by UefiGetBootPartitionEntry(), UefiSetBootpath(), and UefiSetupBlockDevices().
Definition at line 635 of file uefidisk.c.
Referenced by GetHarddiskInformation(), and UefiInitializeBootDevices().