commit | 3a97fd5d46fe4d0f6f1be7a99123fd80645fe736 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sat Jun 15 15:44:39 2019 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | ebe7f7e1c92890374084f03ebaeee0efb99f5ea9 | |
parent | 354766b2fcc53d621a2c9f9c0b9f5f4c71ca0c8b [diff] |
layout: Add `capacity` field Use it to keep track of the size of the `entries` array. An interim solution until we have dynamic allocation. Change-Id: Ib5f431bc0a72a79a53fa1376c3417942b19dd3a0 Signed-off-by: Nico Huber <nico.h@gmx.de> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/33516 Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Original-Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Original-Reviewed-by: Peter Marheine <pmarheine@chromium.org> Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72212 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>