If you read the shell code for the "disconnect" command you can see how to disconnect only a single command based on it's EFI_HANDLE.
ShellPkg\Library\UefiShellDriver1CommandsLib\Disconnect.c > -----Original Message----- > From: KSilva [mailto:[email protected]] > Sent: Wednesday, April 22, 2015 8:34 AM > To: [email protected] > Subject: [edk2] Disconnect a driver without to use Shell command > Importance: High > > I am developing a UEFI application and I need to disconnect the driver (Sata > Controller), without to use the Shell commands. > > I can to disconnect all drivers using the function DisconnectController(). > > Thank's > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop > your own process in accordance with the BPMN 2 standard Learn Process > modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_camp > aign=VA_SF > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
