Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Use efi_probe().
details: https://anonhg.NetBSD.org/src/rev/2d647cdb6c98
branches: trunk
changeset: 999460:2d647cdb6c98
user: nonaka <nonaka%NetBSD.org@localhost>
date: Mon Jun 03 09:51:04 2019 +0000
description:
Use efi_probe().
diffstat:
sys/arch/x86/x86/hyperv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1b0fa367b2b7 -r 2d647cdb6c98 sys/arch/x86/x86/hyperv.c
--- a/sys/arch/x86/x86/hyperv.c Mon Jun 03 06:05:39 2019 +0000
+++ b/sys/arch/x86/x86/hyperv.c Mon Jun 03 09:51:04 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hyperv.c,v 1.3 2019/05/30 11:15:29 nonaka Exp $ */
+/* $NetBSD: hyperv.c,v 1.4 2019/06/03 09:51:04 nonaka Exp $ */
/*-
* Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
#ifdef __KERNEL_RCSID
-__KERNEL_RCSID(0, "$NetBSD: hyperv.c,v 1.3 2019/05/30 11:15:29 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hyperv.c,v 1.4 2019/06/03 09:51:04 nonaka Exp $");
#endif
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/sys/dev/hyperv/vmbus/hyperv.c 331757 2018-03-30 02:25:12Z emaste $");
@@ -753,7 +753,7 @@
hyperv_is_gen1(void)
{
- return !bootmethod_efi;
+ return !efi_probe();
}
void
Home |
Main Index |
Thread Index |
Old Index