Searched refs:DiskPartition (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenBootSector/
H A DGenBootSector.c301 BYTE DiskPartition[0x200]; local
311 if (!ReadFile (DiskHandle, DiskPartition, 0x200, &BytesReturn, NULL)) {
321 if ((DiskPartition[0x1FE] == 0x55) && (DiskPartition[0x1FF] == 0xAA)) {
323 if (((DiskPartition[0] != 0xEB) || (DiskPartition[2] != 0x90)) &&
324 (DiskPartition[0] != 0xE9)) {
329 if ((DiskPartition[PARTITION_TABLE_OFFSET + Index * SIZE_OF_PARTITION_ENTRY] & 0x7F) != 0) {
345 if (DiskPartition[PARTITION_TABLE_OFFSET + (Index * SIZE_OF_PARTITION_ENTRY)] == 0x80) {
346 DbrOffset = *(DWORD *)&DiskPartition[PARTITION_TABLE_OFFSE
442 BYTE DiskPartition[0x200] = {0}; local
[all...]

Completed in 134 milliseconds