aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unittest_env.h
diff options
context:
space:
mode:
authorAlexander Goncharov <chat@joursoir.net>2022-07-14 17:14:55 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-08-03 23:18:17 +0000
commite410532fdd45855a2aaac028d8129204346259d8 (patch)
tree8e30cbbc1dd180b7676b3852cd41e80a9f84c637 /tests/unittest_env.h
parent5b7ae255c3bdc96645750a599f9e4aab79f2413a (diff)
downloadflashrom-e410532fdd45855a2aaac028d8129204346259d8.tar.gz
flashrom-e410532fdd45855a2aaac028d8129204346259d8.tar.bz2
flashrom-e410532fdd45855a2aaac028d8129204346259d8.zip
nicintel: 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 specified below. TOPIC=register_master_api TEST=builds Change-Id: I839baad1e6085958a29652f23c9027b6a10edd15 Signed-off-by: Alexander Goncharov <chat@joursoir.net> Ticket: https://ticket.coreboot.org/issues/391 Reviewed-on: https://review.coreboot.org/c/flashrom/+/65974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'tests/unittest_env.h')
0 files changed, 0 insertions, 0 deletions
id='n117' href='#n117'>117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238