From e00d67c042c75a62853d3e8280ced20140a5e592 Mon Sep 17 00:00:00 2001 From: dyoung Date: Wed, 19 Oct 2011 05:01:43 +0000 Subject: [PATCH] Create a stub implementation of pci_ranges_infer(). --- sys/arch/x86/x86/x86_stub.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/arch/x86/x86/x86_stub.c b/sys/arch/x86/x86/x86_stub.c index 01ded0a5bd7d..eb49eff4a344 100644 --- a/sys/arch/x86/x86/x86_stub.c +++ b/sys/arch/x86/x86/x86_stub.c @@ -1,13 +1,14 @@ -/* $NetBSD: x86_stub.c,v 1.3 2011/10/18 23:41:45 dyoung Exp $ */ +/* $NetBSD: x86_stub.c,v 1.4 2011/10/19 05:01:43 dyoung Exp $ */ #include -__KERNEL_RCSID(0, "$NetBSD: x86_stub.c,v 1.3 2011/10/18 23:41:45 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: x86_stub.c,v 1.4 2011/10/19 05:01:43 dyoung Exp $"); #include #include #include #include +#include int x86_zeroop(void); void *x86_nullop(void); @@ -30,11 +31,12 @@ x86_zeroop(void) return 0; } +__weak_alias(device_isa_register, x86_nullop); __weak_alias(device_pci_props_register, x86_voidop); __weak_alias(device_pci_register, x86_nullop); -__weak_alias(device_isa_register, x86_nullop); __weak_alias(kdb_trap, x86_zeroop); __weak_alias(kgdb_disconnected, x86_zeroop); __weak_alias(kgdb_trap, x86_zeroop); __weak_alias(mca_nmi, x86_voidop); +__weak_alias(pci_ranges_infer, x86_voidop); __weak_alias(x86_nmi, x86_voidop);