NetBSD Problem Report #22342

Received: (qmail 9413 invoked by uid 605); 2 Aug 2003 20:50:59 -0000
Message-Id: <>
Date: Sat, 2 Aug 2003 22:50:47 +0200 (CEST)
From: Jaromir Dolecek <>
Subject: SH5 locore.S does fuswintr == suswintr
X-Send-Pr-Version: 3.95

>Number:         22342
>Category:       port-sh5
>Synopsis:       SH5 locore.S does fuswintr == suswintr
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sh5-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 02 20:51:00 +0000 2003
>Closed-Date:    Sat Aug 02 21:19:10 +0000 2003
>Last-Modified:  Sat Aug 02 21:19:10 +0000 2003
>Originator:     Jaromir Dolecek
>Release:        NetBSD 1.6U


System: NetBSD 1.6U NetBSD 1.6U (SARUMAN.MP) #77: Fri Jul 25 13:49:29 CEST 2003 i386
Architecture: i386
Machine: i386
	sys/arch/sh5/sh5/locore_subr.S defines suswintr() as alias for
	fuswintr(). Since one is 'store' and the other 'fetch', this
	appears to not be correct. If it is correct, there should
	be comment to this effect in the code.

	Note that fuswintr()/suswintr() is used by MI kernel
	e.g. in kern/subr_prof.c for updating user profiling buffers
	Code inspection.
	Sorry, not provided.
State-Changed-From-To: open->closed 
State-Changed-By: scw 
State-Changed-When: Sat Aug 2 22:17:30 BST 2003 
sh5 [sf]uswintr both return EFAULT by design, hence the aliasing. 
There is no support for profiling on sh5 (at least not yet). 

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.