Re: OpenProtocol() giving me EFI_INVALID_PARAMETER
Ethin, The UEFI Shell `dh` command UI uses handle numbers from 0 - N as hex digits. You have use these abstract values with the `dh` command. For example: use `dh -v A1` to see the actual handle value for A1 (7EBA9598). You can search handles that contain a specific protocol... Shell> dh -p PciIo Handle dump by protocol 'PCIIO' A1: PCIIO DevicePath(PciRoot(0x0)/Pci(0x0,0x0)) A2: PCIIO DevicePath(PciRoot(0x0)/Pci(0x1,0x0)) A3: PCIIO DevicePath(PciRoot(0x0)/Pci(0x2,0x0)) A4: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x0,0x0)) A5: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x1,0x0)) A6: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x2,0x0)) A7: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x3,0x0)) A8: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x4,0x0)) A9: PCIIO DevicePath(..0)/Pci(0x2,0x0)/Pci(0x5,0x0)) AA: PCIIO DevicePath(PciRoot(0x0)/Pci(0x1E,0x0)) AB: DiskIO BlockIO FA920010-6785-4941-B6EC-498C579F160A PCIIO DevicePath(..)/Pci(0x1E,0x0)/Pci(0x0,0x0)) AC: ISAACPI PCIIO DevicePath(PciRoot(0x0)/Pci(0x1F,0x0)) AD: PCIIO DevicePath(PciRoot(0x0)/Pci(0x1F,0x3)) Shell> dh -v A1 A1: 7EBA9598 PCIIO(7EBA8AA8) Segment #.....: 00 Bus #.........: 00 Device #......: 00 Function #....: 00 ROM Size......: 0 ROM Location..: 00000000 Vendor ID.....: 8086 Device ID.....: 29C0 Class Code....: 00 00 06 Configuration Header : 8680C029070000000000000600000000 00000000000000000000000000000000 000000000000000000000000F41A0011 000000000000000000000000FF000000 DevicePath(7EBA9E18) PciRoot(0x0)/Pci(0x0,0x0) Andrew Fish
|
|