R38.2.1 How to add a watchdog function

hi:

The system must have a configured and documented watchdog monitoring system’s health (CPU, RAM and IOCTL requests) to prevent HAL process from dead locking the system. Watchdog must provide logging suitable for back tracking the root cause of the deadlock

Suppose the watchdog is default enable and default 120s to reboot the system while system hang up.

Thanks