Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha After attaching CPUs, call alpha_patch(...
details: https://anonhg.NetBSD.org/src/rev/bd40cf0dccf7
branches: trunk
changeset: 1022173:bd40cf0dccf7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jul 07 03:24:26 2021 +0000
description:
After attaching CPUs, call alpha_patch() in case there are any function
patches we wish to do based on discovered architecture features.
diffstat:
sys/arch/alpha/alpha/mainbus.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3e3fa2ddd6b9 -r bd40cf0dccf7 sys/arch/alpha/alpha/mainbus.c
--- a/sys/arch/alpha/alpha/mainbus.c Wed Jul 07 02:44:04 2021 +0000
+++ b/sys/arch/alpha/alpha/mainbus.c Wed Jul 07 03:24:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.35 2021/04/24 23:36:23 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.36 2021/07/07 03:24:26 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.35 2021/04/24 23:36:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.36 2021/07/07 03:24:26 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -92,6 +92,9 @@
printf("WARNING: %d cpus in machine, %d attached\n",
ncpus, cpuattachcnt);
+ /* Patch-up any routines based on architecture features. */
+ alpha_patch(false);
+
if (alpha_is_qemu) {
ma.ma_name = "qemu";
ma.ma_slot = 0; /* meaningless */
Home |
Main Index |
Thread Index |
Old Index