On Dec 20, 2013, at 6:35 AM, avinash m n <[email protected]> wrote:
>
> Hi All,
>
> In the UEFI boot manager, I can see the following devices as bootable
> devices:
>
> Select UEFI Boot Option
>
> * Unknown in Slot 4: ubuntu*
> * Integrated RAID Controller 1: HDD-ubuntu1204*
> * Embedded SATA Port Optical Drive E: TSSTcorp DVD+/-RW SN-208BB*
> * Integrated NIC 1 Port 1 Partition 1: Broadcom NetXtreme Gigabit Ethernet*
> * Integrated RAID Controller 1: centos-hdd*
>
> In these names, how are these strings "Integrated RAID Controller 1" ,
> "Embedded SATA Port Optical Drive E" etc populated?
>
> Do they come from DEVICE_PATH_PROTOCOL instances which is installed?
No they come from the EFI_COMPONENT_NAME2_PROTOCOL (or
EFI_COMPONENT_NAME_PROTOCOL for older drivers). This lets the driver pick a
human readable name for the device, and it can be localized to any supported
language.
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Protocol/ComponentName2.h
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Protocol/ComponentName.h
Thanks,
Andrew Fish
> The first entry which corresponds to my driver shows "Unknown in Slot 4" Am I
> missing something?
>
> Please see the below code how I add the Device path:
> VENDOR_DEVICE_PATH my_path={
> {
> HARDWARE_DEVICE_PATH,
> HW_VENDOR_DP,
> {
> (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
> (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)
> }
> },
> EFI_CALLER_ID_GUID
> };
>
> and then,
> AppendDevicePathNode(ParentDevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &my_path
> );
>
> Thanks and Regards
> Avinash
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel