【正文】
st, the controller must copy the INT 13h vector over the INT 40h vector so that floppy services are handled properly. ? The first controller to install will get drive number 80h. The controller then knows that it controls the hard drive boot device. BBS – BCV Priority BIOS Boot Specification – PnP header PnP header example – SCU OpROM signature Entry Point PNP Header Offset PNP Header Signature SCU – Identify which PHY the disk associates to 硬盤分區(qū)格式 ? 存儲(chǔ)設(shè)備包括軟盤,光驅(qū),硬盤等第一個(gè)扇區(qū),大小為512字節(jié) MBR – Master Boot Record ? Partition ID 0x1 FAT12。 0x4 FAT16。 0x7 NTFS。 0x8E Linux LVM。 0xEE EFI Protective MBR ? 由于位數(shù)限制, MBR只能支持 = ,尋致以 MBR為基礎(chǔ)的底盤分區(qū)方式無法支持 硬盤; ? GPT分區(qū)格式可以支持 ,是 EFI規(guī)范的一部分,目前 UEFI為基礎(chǔ)的 BIOS均支持 GPT分區(qū)格式; GPT – GUID Partition Table 512*)12(32 ? *)12( 64 ??? Hybrid GPT/MBR Protective MBR可以支持 3個(gè)主分區(qū) Windows 2023R2使用了Hybrid GPT/MBR BIOS的硬盤接口 ? INT19 Legacy INT 19 Intel Ether Card ? INT 13H Legacy – INT 13 EFI BIOS Hard Drive Architecture Boot Manager DXE Core Load File Protocol Simple File Protocol EFI FILE Protocol MBR GPT EL Torito EFI Block I/O Protocol Disk I/O Tape I/O ATA Pass Through Legacy INT13h EFI Device Driver CSM Thunk16 Boot Manager控制著Boot Option與 Device Path之間的關(guān)系 當(dāng)系統(tǒng) BIOS沒有包含EFI Driver時(shí),使用 Disk I/O封裝 INT13h BCV? EFI Firmware一旦發(fā)現(xiàn)存儲(chǔ)設(shè)備中含有 FAT16,F(xiàn)AT32, FAT12就會(huì)產(chǎn)生EFI FILE PROTOCOL 直接對(duì) ATA設(shè)備發(fā)送命令 ? typedef struct EFI_LOAD_OPTION { UINT32 Attributes。 UINT16 FilePathListLength。 CHAR16 Description[]。 EFI_DEVICE_PATH_PROTOCOL FilePathList[]。 UINT8 OptionalData[]。 } EFI_LOAD_OPTION。 ? Nested EFI_LOAD_OPTION use OptionData to store EFI_LOAD_OPTION ? OptionalData will keep a pointer to BBS Table Entry ? FilePathList will tell boot Manager whether it’s EFI or Legacy Boot Boot Options Device Path Format Attributes DevPath Length Description Media Device Path Length Of Dev Path Start LBA Type: MBR ? Linux Kernel only support super block ? The user space program ‘Mdadm’will try to wake Raid Module in kernel space, if it found IMSM super block in Hard Disk ? Software RAID are used for SATA era, we are just not ready to accept this manner when it es to SAS ? These patible problems made SCU really hard to use IMSM – Intel Matrix Storage Manager 總結(jié) 回答問題 謝謝! 謝謝! 演講完畢,謝謝觀看!