I will try to do a better explanation:

#1 I know to use the connectController() and disconnectController(), so I
want to find Sata Controller and disconnect it.

#2 But i found any problems:
   How can i to find this specific handle?! without <Sata>protocol 'cause
SATA CONTROLLER doesn't have in UEFI.

For example:

[AA] SATA CONTROLLER
  [AB] WDC HDD

I need to do the disconnect of the "AA" to AtaPassThru to connect with the
HDD and manage it, but ..using just Application.efi
I don't have for example a way to use SataProtocol;

gBS->LocateHandleBuffer(ByProtocol,SataProtocolGuid,NULL,bufferSize,handleSata);


Then, i only know to find ALL Handle and disconnect it.

#3 - Using Shell i can to do it. But my application has to be independent of
the Shell


------------------------------------------------------------------------------
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

Reply via email to