commit | ce3374c2ab0e9c35a48170508c23c2c3403e2147 | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Fri Nov 12 01:54:12 2021 +0000 |
committer | Alphan Ulusoy <alphan@google.com> | Thu Nov 18 17:03:00 2021 -0500 |
tree | 189b49ae7fed03ae296b6a7c37d910c8aa746873 | |
parent | f310389b4dff26c8ce638ba16b6a7d1aab4e327d [diff] |
[sw/ottf] Add malloc failure and stack overflow hooks. The OTTF uses FreeRTOS to enable running concurrent tasks within a test. When a new task is created, memory for the TCB and stack are allocated using FreeRTOS's malloc implementation. Currently the size of the heap is fixed to 0x800u bytes. This commit adds FreeRTOS hooks that display a useful message to test developers and abort the test when FreeRTOS detects a malloc failure or stack overflow. Signed-off-by: Timothy Trippel <ttrippel@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).