On Feb 9, 2013, at 11:51 AM, David F. <df7...@gmail.com> wrote:

> Hi,
> 
> I see lots of good information in device paths, I expected to see a "device 
> type" but don't??  So maybe in a block protocol of some type, but couldn't 
> find it.  How are you supposed to determine the device type in a generic way 
> - similar to scsi device types 0 = DASD (or hard drive), 5 = 
> cdrom/dvd/etc..., etc... ?  Is there some EFI_DEV_TYPE_PROTOCOL that can be 
> queried to get that (floppy, cd, hard drive, other block devices)?
> 

The device path was intended as something that could be stored in NVRAM and be 
valid from boot to boot. So for example the PCI bus is not stored in the device 
path as it can change from boot to boot (just Dev/Func from the root). The 
device path is also used to communicate with the OS about what devices should 
be consoles or boot options. But the focus of the device path is a programatic 
path to talk to the device. 

We decided to not be like legacy BIOS and try and make assumptions about the 
hardware in the system. So from a UI perspective there is the Component Name 
protocol that returns a Unicode string that describes the devices. This way 
technology can advance and the specification does not need to keep changing. 

There is a chapter in UEFI specification about device paths and there is also 
info on component name. http://www.uefi.org/specs/

Thanks,

Andrew Fish

> TIA!!
> 
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to