RTEMS | aarch64/raspberrypi: Add Watchdog Timer driver (!120)
Kinsey Moore (@opticron)
gitlab at rtems.org
Fri Jul 26 13:53:40 UTC 2024
Kinsey Moore commented on a discussion on bsps/aarch64/raspberrypi/start/watchdog.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_109963
> + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#include <bsp/raspberrypi.h>
> +#include <bsp/watchdog.h>
> +
> +#define PM_WDOG BCM2835_REG(BCM2711_PM_WDOG)
> +#define PM_RSTC BCM2835_REG(BCM2711_PM_RSTC)
> +
> +int raspberrypi_watchdog_count = 0;
You should adjust the implementation to the Raspberry Pi hardware.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/120#note_109963
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240726/08d0c8db/attachment.htm>
More information about the bugs
mailing list