Hello,
Since UEFI systems use block I/O protocol to read data instead of INT 13h 
under legacy BIOS, we need to migrate our hibernation resuming filter driver 
under legacy BIOS to UEFI enviroment. With almost zero previous knowledge on 
EFI and by reading UEFI specificantion 2.3.1, I feel that block I/O 
protoclol filter driver could be a solution to filtering hibernation file 
during hibernation resuming. However, UEFI Driver Writer's Guide doesn't 
appear to contain a section on block I/O protocol filter driver.


So, my questions are:
1. Is it possible to replace legacy BIOS INT 13h hook with block I/O 
protocol filter driver under UEFI system to filter hibernation resuming 
file?
2. If the answer for question 1 is yes, then what are basic steps to 
register a block I/O protocol filter so that other drivers can attach to new 
protocol driver?
3. If I get the block io protocol by using HandleProtocol(), and allocate a 
structure containing my EFI_BLOCK_IO interface and a pointer to original 
block read function, will ReinstallProtocolInterface() detach existing 
consumers and then signaling drivers to attach to the new protocol 
interface?

Any advise or suggestion would be appreciated.

Thanks 


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to