commit | 8a07d9f1ce8b58f00bdae0b9c4cfa7ac428b034d | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Fri Jun 14 16:04:39 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 14 16:04:39 2024 +0000 |
tree | 776a936582c8ce365c198f949d0494858ccf1362 | |
parent | 17c1ee08b0871552ee50dd66ce2abd2c755e108a [diff] |
pw_allocator: Clean up Block interface With the removal of the free list related code, several Block methods no longer need to be exposed. This CL restricts the Block interface to only the methods that are needed by the BlockAllocators. As a consequence of this change, the block tests are updated as well. Most of the "preallocation" logic that was part of the block allocator testing support has been moved to a new block testing support target and reused. This has led to many of the unit tests being reworked, and the initial state of their blocks has been made clearer. Bug: 326509341 Change-Id: I65ca6163be26b086cf1ff51e9e77b65bbd328623 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/211916 Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.