Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to qemu-2.6.
[kvmfornfv.git]
/
qemu
/
roms
/
ipxe
/
src
/
arch
/
x86
/
prefix
/
efiprefix.c
diff --git
a/qemu/roms/ipxe/src/arch/x86/prefix/efiprefix.c
b/qemu/roms/ipxe/src/arch/x86/prefix/efiprefix.c
index
b0bf99c
..
18b931e
100644
(file)
--- a/
qemu/roms/ipxe/src/arch/x86/prefix/efiprefix.c
+++ b/
qemu/roms/ipxe/src/arch/x86/prefix/efiprefix.c
@@
-26,6
+26,7
@@
FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/efi/efi_driver.h>
#include <ipxe/efi/efi_snp.h>
#include <ipxe/efi/efi_autoboot.h>
#include <ipxe/efi/efi_driver.h>
#include <ipxe/efi/efi_snp.h>
#include <ipxe/efi/efi_autoboot.h>
+#include <ipxe/efi/efi_watchdog.h>
/**
* EFI entry point
/**
* EFI entry point
@@
-49,6
+50,9
@@
EFI_STATUS EFIAPI _efi_start ( EFI_HANDLE image_handle,
/* Claim SNP devices for use by iPXE */
efi_snp_claim();
/* Claim SNP devices for use by iPXE */
efi_snp_claim();
+ /* Start watchdog holdoff timer */
+ efi_watchdog_start();
+
/* Call to main() */
if ( ( rc = main() ) != 0 ) {
efirc = EFIRC ( rc );
/* Call to main() */
if ( ( rc = main() ) != 0 ) {
efirc = EFIRC ( rc );
@@
-56,6
+60,7
@@
EFI_STATUS EFIAPI _efi_start ( EFI_HANDLE image_handle,
}
err_main:
}
err_main:
+ efi_watchdog_stop();
efi_snp_release();
efi_loaded_image->Unload ( image_handle );
efi_driver_reconnect_all();
efi_snp_release();
efi_loaded_image->Unload ( image_handle );
efi_driver_reconnect_all();