Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 18:08:45 GMT
From:      Mindaugas Rasiukevicius <rmind@netbsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/181657: BPF_COP/BPF_COPX instruction reservation (sync with NetBSD)
Message-ID:  <201308291808.r7TI8jXX062684@oldred.freebsd.org>
Resent-Message-ID: <201308291810.r7TIA01v082615@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181657
>Category:       kern
>Synopsis:       BPF_COP/BPF_COPX instruction reservation (sync with NetBSD)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 29 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mindaugas Rasiukevicius
>Release:        
>Organization:
The NetBSD Project
>Environment:
FreeBSD -current
>Description:
Support for BPF coprocessor has been added to NetBSD (all details were also
presented on freebsd-net@).  This functionality adds two new instructions:

 #define BPF_MISCOP(code) ((code) & 0xf8)
 #define		BPF_TAX		0x00
+#define		BPF_COP		0x20
+#define		BPF_COPX	0x40
 #define		BPF_TXA		0x80

It would be great if FreeBSD would reserve the opcodes.  If you would like
to backport the BPF coprocessor interface, the change is here:

http://mail-index.netbsd.org/source-changes/2013/08/29/msg047090.html

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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