On Tue, Dec 18, 2018 at 12:57:22PM +0000, Udit Kumar wrote:
> > Are you referring to
> > MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf?
> 
> Yes !! 

:)

> > That is certainly what most of the platforms in edk2-platforms use.
> > 
> > The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL is used by core code.
> > 
> > If you want to use your hardware watchdog as part of your platform specific
> > code, that is absolutely fine and probably a very good idea - but it has 
> > nothing to
> > do with this protocol.  There is nothing forcing you to use the platform-
> > independent EFI_WATCHDOG_TIMER_ARCH_PROTOCOL for this.
> 
> Yes, this was idea to use 
> MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
> and if needed, install a custom protocol for hardware wdt. And this to be 
> used by platform specific code.

Ah, yes - exactly!
This would be the ideal solution.

Regards,

Leif
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to