aboutsummaryrefslogtreecommitdiffstats
path: root/drkaiser.c
diff options
context:
space:
mode:
authorAlexander Goncharov <chat@joursoir.net>2022-07-07 21:16:36 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-07-19 06:55:17 +0000
commit96fb37cb0f3475ec3c996888b1e2eaae4bbb42cb (patch)
tree3c78a9e2a95f568bbd56f8bb05de04005d07e556 /drkaiser.c
parent7204b685356a89371905a7a6e8a836625101a876 (diff)
downloadflashrom-96fb37cb0f3475ec3c996888b1e2eaae4bbb42cb.tar.gz
flashrom-96fb37cb0f3475ec3c996888b1e2eaae4bbb42cb.tar.bz2
flashrom-96fb37cb0f3475ec3c996888b1e2eaae4bbb42cb.zip
atapromise: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within the par_master data field for the life-time of the driver. This is one of the steps on the way to move par_master data memory management behind the initialisation API, for more context see other patches under the same topic "register_master_api". BUG=b:185191942 TEST=builds Change-Id: I981e2f32926c1696bd0e3248ada92b9e37dafde0 Signed-off-by: Alexander Goncharov <chat@joursoir.net> Ticket: https://ticket.coreboot.org/issues/391 Reviewed-on: https://review.coreboot.org/c/flashrom/+/65706 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'drkaiser.c')
0 files changed, 0 insertions, 0 deletions