NetBSD Problem Report #4951

Received: (qmail 25410 invoked from network); 7 Feb 1998 14:35:32 -0000
Message-Id: <>
Date: Sat, 7 Feb 1998 15:34:10 +0100 (CET)
From: hauke@Espresso.Rhein-Neckar.DE
Cc: hauke@Espresso.Rhein-Neckar.DE
Subject: Missing cachectl in m68k
X-Send-Pr-Version: 3.95

>Number:         4951
>Category:       port-m68k
>Synopsis:       libc lacks cachectl for m68k
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-m68k-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 07 06:50:02 +0000 1998
>Closed-Date:    Tue Feb 09 22:33:08 +0000 1999
>Last-Modified:  Wed Sep 05 01:05:19 +0000 2001
>Originator:     Hauke Fath
>Release:        1.3B 980125
"send-pr" puts my .sig here --ick.

System: NetBSD 1.3B NetBSD 1.3B (FG54) #4: Sun Jan 25 22:02:13 CET 1998 hauke@q700:/usr/src/sys/arch/mac68k/compile/FG54 mac68k

	The m68k arch currently lacks a convenient way for userland 
apps to flush the data and instruction cache (as a whole or partially).
ld(1) uses trap #12 to roll its own, but that's pretty low level.

gcc has a __clear_cache((beg), (end)) function which should be 
supported/implemented for NetBSD.

The issue came up when I ported the "Kaffe" JIT v0.8.4 to mac68k 
- see also discussion on port-m68k in Feb 1998.
State-Changed-From-To: open->analyzed 
State-Changed-By: is 
State-Changed-When: Tue Feb 24 02:07:52 PST 1998 
Mostly. To minimize confusion, , it should be named "cacheflush" as the  
correspnding MIPS function (which has a C language binding). Or, rather, 
Responsible-Changed-From-To: gnats-admin->port-m68k-maintainer 
Responsible-Changed-By: fair 
Responsible-Changed-When: Mon Dec 28 11:58:32 PST 1998 
This PR is the responsibility of the portmaster, 
not the GNATS database administrator. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: is 
State-Changed-When: Tue Feb 9 14:33:08 PST 1999 
A new function "m68k_sync_icache" has been provided in libm68k, which  
provides the requested functionality. 

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.