public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix
@ 2020-04-17 15:37 Laszlo Ersek
  2020-04-17 15:37 ` [PATCH 1/6] OvmfPkg/ResetSystemLib: wrap long lines Laszlo Ersek
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Laszlo Ersek @ 2020-04-17 15:37 UTC (permalink / raw)
  To: edk2-devel-groups-io
  Cc: Anthony Perard, Ard Biesheuvel, Jordan Justen, Julien Grall,
	Philippe Mathieu-Daudé, Rebecca Cran

Ref:    https://bugzilla.tianocore.org/show_bug.cgi?id=2675
Repo:   https://pagure.io/lersek/edk2.git
Branch: rsl_cleanup

Rebecca's

  [PATCH 02/13] OvmfPkg: support powering off bhyve guests

at

  https://edk2.groups.io/g/devel/message/57450
  http://mid.mail-archive.com/e4e9b29189b83076e1d1a0b9c989938f5226cab6.1586991816.git.rebecca@bsdio.com

made me realize OvmfPkg/ResetSystemLib should be refreshed. This will
let us add a simple bhyve-specific instance (later), and also allows us
to fix a long time dormant bug (now).

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien@xen.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Rebecca Cran <rebecca@bsdio.com>

Thanks,
Laszlo

Laszlo Ersek (6):
  OvmfPkg/ResetSystemLib: wrap long lines
  OvmfPkg/ResetSystemLib: clean up library dependencies
  OvmfPkg/ResetSystemLib: improve coding style in ResetSystem()
  OvmfPkg/ResetSystemLib: factor out ResetShutdown()
  OvmfPkg/ResetSystemLib: rename to BaseResetSystemLib
  OvmfPkg/ResetSystemLib: introduce the DxeResetSystemLib instance

 OvmfPkg/OvmfPkgIa32.dsc                                                       |  8 +-
 OvmfPkg/OvmfPkgIa32X64.dsc                                                    |  8 +-
 OvmfPkg/OvmfPkgX64.dsc                                                        |  8 +-
 OvmfPkg/OvmfXen.dsc                                                           |  6 +-
 OvmfPkg/Library/ResetSystemLib/{ResetSystemLib.inf => BaseResetSystemLib.inf} | 12 ++-
 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf                          | 43 ++++++++++
 OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c                            | 51 ++++++++++++
 OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c                             | 62 +++++++++++++++
 OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c                               | 84 +++++---------------
 9 files changed, 209 insertions(+), 73 deletions(-)
 rename OvmfPkg/Library/ResetSystemLib/{ResetSystemLib.inf => BaseResetSystemLib.inf} (65%)
 create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
 create mode 100644 OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c
 create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c

-- 
2.19.1.3.g30247aa5d201


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

end of thread, other threads:[~2020-04-22 20:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17 15:37 [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix Laszlo Ersek
2020-04-17 15:37 ` [PATCH 1/6] OvmfPkg/ResetSystemLib: wrap long lines Laszlo Ersek
2020-04-17 16:01   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 2/6] OvmfPkg/ResetSystemLib: clean up library dependencies Laszlo Ersek
2020-04-17 16:02   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 3/6] OvmfPkg/ResetSystemLib: improve coding style in ResetSystem() Laszlo Ersek
2020-04-17 16:02   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 4/6] OvmfPkg/ResetSystemLib: factor out ResetShutdown() Laszlo Ersek
2020-04-17 16:05   ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 5/6] OvmfPkg/ResetSystemLib: rename to BaseResetSystemLib Laszlo Ersek
2020-04-21 17:27   ` [edk2-devel] " Laszlo Ersek
2020-04-21 18:08     ` Philippe Mathieu-Daudé
2020-04-17 15:37 ` [PATCH 6/6] OvmfPkg/ResetSystemLib: introduce the DxeResetSystemLib instance Laszlo Ersek
2020-04-17 16:23   ` Philippe Mathieu-Daudé
2020-04-17 15:59 ` [PATCH 0/6] OvmfPkg/ResetSystemLib: clean up, refactor, fix Ard Biesheuvel
2020-04-17 16:19   ` Philippe Mathieu-Daudé
2020-04-20  9:48     ` Laszlo Ersek
2020-04-20 10:17       ` Philippe Mathieu-Daudé
2020-04-20  9:46   ` Laszlo Ersek
2020-04-21 17:49 ` Rebecca Cran
2020-04-22 20:35 ` [edk2-devel] " Laszlo Ersek

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