Home
last modified time | relevance | path

Searched hist:"8562 c99cdd30217dea3609e268572f8764f401a5" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/firmware/efi/
H A Dreboot.c8562c99cdd30217dea3609e268572f8764f401a5 Fri Jun 13 13:22:22 CEST 2014 Matt Fleming <matt.fleming@intel.com> efi/reboot: Add generic wrapper around EfiResetSystem()

Implement efi_reboot(), which is really just a wrapper around the
EfiResetSystem() EFI runtime service, but it does at least allow us to
funnel all callers through a single location.

It also simplifies the callsites since users no longer need to check to
see whether EFI_RUNTIME_SERVICES are enabled.

Cc: Tony Luck <tony.luck@intel.com>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
H A DMakefilediff 8562c99cdd30217dea3609e268572f8764f401a5 Fri Jun 13 13:22:22 CEST 2014 Matt Fleming <matt.fleming@intel.com> efi/reboot: Add generic wrapper around EfiResetSystem()

Implement efi_reboot(), which is really just a wrapper around the
EfiResetSystem() EFI runtime service, but it does at least allow us to
funnel all callers through a single location.

It also simplifies the callsites since users no longer need to check to
see whether EFI_RUNTIME_SERVICES are enabled.

Cc: Tony Luck <tony.luck@intel.com>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>