I have a boot services driver programmed on the flash of our add-on
controller, when the BSD gets executed from flash, I am trying to identify
form where it is loaded (from flash/shell) and for that I have used  the
below condition and if it is met, I assume it is loaded from Shell, if not
I assume it loaded from Flash.  Is there anything wrong in that, in
certain system BIOS implementation even for drivers loaded from flash, the
devicepath is set as FILEPATH.  Any help on this?

DevicePathType(LoadedImage->FilePath) == MEDIA_FILEPATH_DP


Thanks
Sathya

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to