Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 sun4v: request hypervisor api major...



details: https://anonhg.NetBSD.org/src/rev/1a1dc7bf4202
branches: trunk
changeset: 380051:1a1dc7bf4202
user: palle <palle%NetBSD.org@localhost>
date: Sat Jul 03 19:39:07 2021 +0000
description:
sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7 systems
diffstat:
 sys/arch/sparc64/sparc64/autoconf.c | 11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r c086d2906834 -r 1a1dc7bf4202 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c Sat Jul 03 19:34:47 2021 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c Sat Jul 03 19:39:07 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.232 2021年07月03日 19:18:55 palle Exp $ */
+/* $NetBSD: autoconf.c,v 1.233 2021年07月03日 19:39:07 palle Exp $ */
 
 /*
 * Copyright (c) 1996
@@ -48,7 +48,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.232 2021年07月03日 19:18:55 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.233 2021年07月03日 19:39:07 palle Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -189,9 +189,9 @@ void sun4v_set_soft_state(int, const cha
 char sun4v_soft_state_booting[] __align32 = "NetBSD booting";
 char sun4v_soft_state_running[] __align32 = "NetBSD running";
 
+void sun4v_interrupt_init(void);
 #if 0
 XXX notyet 
-void sun4v_interrupt_init(void);
 void sun4v_sdio_init(void);
 #endif
 #endif
@@ -378,9 +378,9 @@ die_old_boot_loader:
 if (CPU_ISSUN4V) {
 sun4v_soft_state_init();
 sun4v_set_soft_state(SIS_TRANSITION, sun4v_soft_state_booting);
+ sun4v_interrupt_init();
 #if 0
 XXX notyet 
- sun4v_interrupt_init();
 sun4v_sdio_init();
 #endif 
 }
@@ -570,8 +570,6 @@ sun4v_set_soft_state(int state, const ch
 printf("soft_state_set: %d\n", err);
 }
 
-#if 0
-XXX notyet 
 void
 sun4v_interrupt_init(void)
 {
@@ -582,7 +580,6 @@ sun4v_interrupt_init(void)
 
 sun4v_group_interrupt_major = 3;
 }
-#endif
 
 #if 0
 XXX notyet 


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /