Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 13:39:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205597] [mips] __clear_cache causes calling process to abort
Message-ID:  <bug-205597-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205597

            Bug ID: 205597
           Summary: [mips] __clear_cache causes calling process to abort
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: theraven@FreeBSD.org

The __clear_cache function (from libgcc / libcompier-rt) ought to issue a
system call that flushes instruction caches.  Instead, it aborts.  This makes
it impossible to correctly implement self-modifying code on MIPS (where i-cache
is not guaranteed to be coherent with d-cache).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205597-8>