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 Create a stub implementation of pci_ranges_...
details: https://anonhg.NetBSD.org/src/rev/236a40561238
branches: trunk
changeset: 770503:236a40561238
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Oct 19 05:01:43 2011 +0000
description:
Create a stub implementation of pci_ranges_infer().
diffstat:
sys/arch/x86/x86/x86_stub.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r a7fe0f6d2b45 -r 236a40561238 sys/arch/x86/x86/x86_stub.c
--- a/sys/arch/x86/x86/x86_stub.c Wed Oct 19 01:52:22 2011 +0000
+++ b/sys/arch/x86/x86/x86_stub.c Wed Oct 19 05:01:43 2011 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
#include <sys/kgdb.h>
#include <machine/autoconf.h>
+#include <dev/pci/pcivar.h>
int x86_zeroop(void);
void *x86_nullop(void);
@@ -30,11 +31,12 @@
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);
Home |
Main Index |
Thread Index |
Old Index