public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [patch 0/2] MdeModulePkg/HiiDatabaseDxe: Make sure database update behaviors are atomic
@ 2018-10-12 11:25 Dandan Bi
  2018-10-12 11:25 ` [patch 1/2] MdeModulePkg/HiiDB: Reorganize codes of exporting HII settings Dandan Bi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dandan Bi @ 2018-10-12 11:25 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao, Eric Dong

The main purpose of this task is to make sure the operations
that update the HiiDatabase atomic the avoid the potential
risk that the one update operation with higher TPL may interrupt
another.

Patch 1 is to reorgnize the existing code logic and make it's
easy to add EfiAcquireLock/EfiReleaseLock function in patch 2.

Patch 2 is to add EfiAcquireLock/EfiReleaseLock function to
make sure the HiiDatabse update operations atomic.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Dandan Bi (2):
  MdeModulePkg/HiiDB: Reorganize codes of exporting HII settings
  MdeModulePkg/HiiDB: Make sure database update behaviors are atomic

 .../Universal/HiiDatabaseDxe/Database.c       | 128 ++++++++++++------
 .../Universal/HiiDatabaseDxe/HiiDatabase.h    |   8 +-
 .../HiiDatabaseDxe/HiiDatabaseEntry.c         |   3 +-
 MdeModulePkg/Universal/HiiDatabaseDxe/Image.c |  12 ++
 .../Universal/HiiDatabaseDxe/String.c         |   9 ++
 5 files changed, 112 insertions(+), 48 deletions(-)

-- 
2.18.0.windows.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-26  2:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-12 11:25 [patch 0/2] MdeModulePkg/HiiDatabaseDxe: Make sure database update behaviors are atomic Dandan Bi
2018-10-12 11:25 ` [patch 1/2] MdeModulePkg/HiiDB: Reorganize codes of exporting HII settings Dandan Bi
2018-10-12 11:25 ` [patch 2/2] MdeModulePkg/HiiDB: Make sure database update behaviors are atomic Dandan Bi
2018-10-26  2:04 ` [patch 0/2] MdeModulePkg/HiiDatabaseDxe: " Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox