From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= Subject: Re: [PATCH 1/2] NetBSDRump: provide evtchn.h and privcmd.h Date: Wed, 24 Jun 2015 12:22:46 +0200 Message-ID: <558A84F6.70904@citrix.com> References: <1435140610-31823-1-git-send-email-wei.liu2@citrix.com> <1435140610-31823-2-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z7hpY-00036I-GK for xen-devel@lists.xenproject.org; Wed, 24 Jun 2015 10:22:56 +0000 In-Reply-To: <1435140610-31823-2-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu , Xen-devel Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org El 24/06/15 a les 12.10, Wei Liu ha escrit: > +#define IOCTL_PRIVCMD_MMAP \ > + _IOW('P', 2, privcmd_mmap_t) > +#define IOCTL_PRIVCMD_MMAPBATCH \ > + _IOW('P', 3, privcmd_mmapbatch_t) FWIW you could have gotten away with just implementing IOCTL_PRIVCMD_MMAPBATCH, this is what I did on FreeBSD. Roger.