Hi - I just solved the issue. I gave the wrong argument for the openProtocol 
(by child ).
The agent supposed to be your driver biding handle.

Thanks anyway!

Yossef

From: Yossef Efraim [mailto:yoss...@mellanox.com]
Sent: Thursday, December 20, 2012 5:56 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Creating a child handle for a device driver

Hi,

When running DevTree In the shell I see the controllers hierarchy.
How do you create such an hierarchy ?
For example if im a PCI controller wishing to create a child controller which 
will appear under me in the DevTree output.

Currently I'm creating the child by installing device path on null handle ( a 
null arg returns newly created handle) and notifying the system about the child 
parent relationship by opening the PCI_IO by child handle.
But it doenst seem to create the child handle as I do not see it in DevTree.

I looked around the driver writer guide, there is no description for 
opening\binding to a child handle.

Our help will be appreciated,

Yossef

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to