On 08.09.2013, at 4:59, David F. <df7...@gmail.com> wrote: > Hi, > > is there a generic equivalent to something like sync() in Linux or do you > loop through block handles and issue > disconnectcontroller()/connectcontroller() or do the exclusive open then > connectcontroller(). > > > Also in general, what is the difference between a "ControllerHandle" and a > "DriverHandle" in terms of getting handles. In other words, If I have a > block io protocol handle is that a controller handle or a driver handle or > some other handle? If you had a end-device like a hd, how would you get the > controller's handle (what protocol do you locate for the parent for a > controller) ??? > No differences. There are handles with protocols and with DevicePathes PcieRoot(0x0)/ PcieRoot(0x0)/Pci(0x1F,0x2)/ -- this is a bus PcieRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0x0,0x0)/ -- this is a controller (or this is SATA HDD?) PcieRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0x0,0x0)/HD(1,GPT,E223FF7F-F2DA-4DBB-B765-756F2D95B0FE,0x28,0x64000) and the last is a Partition. There is no Device HDD. There is another concept
> > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk_______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel