Reputation: 39
I want to develop a diskless product based on UEFI(the diskless product based on legacy BIOS has been popular for many years),but I has met one problem ---- To hook DiskIO Protocol and BlockIO Protocl is needed to filter some IO operations to replace the original protocols in UEFI,but I don't know the way to make this realized. So I wanna get answers here.
Upvotes: 1
Views: 751
Reputation: 904
Register protocol notification event to get called after that protocols are published, and call gBS->ReinstallProtocolInterface to replace them with your hooked ones.
Upvotes: 1