Was wandering down in the Driver Health Protocol docs and hit a compile error 
on my implementation of Repair. I noticed the following:

UEFI 2.4 Spec (and older):

typedef
EFI_STATUS
(EFIAPI *EFI_DRIVER_HEALTH_REPAIR) (
            IN EFI_DRIVER_HEALTH_PROTOCOL       *This,
            IN EFI_HANDLE                       ControllerHandle,
            IN EFI_HANDLE                       ChildHandle       OPTIONAL,
            IN EFI_DRIVER_HEALTH_REPAIR_NOTIFY  RepairNotify      OPTIONAL
);

MdePkg/Include/Protocol/DriverHealth.h:

typedef
EFI_STATUS
(EFIAPI *EFI_DRIVER_HEALTH_REPAIR)(
                IN  EFI_DRIVER_HEALTH_PROTOCOL                *This,
                IN  EFI_HANDLE                                ControllerHandle,
                IN  EFI_HANDLE                                ChildHandle       
   OPTIONAL,
                IN  EFI_DRIVER_HEALTH_REPAIR_PROGRESS_NOTIFY  
ProgressNotification OPTIONAL
);

At some point the type for the notification function got changed but the docs 
seem to have not been updated to match.

Will

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to