On 02/21/2017 06:17 PM, Nadav Har'El wrote:
On Mon, Feb 20, 2017 at 3:32 PM, 'Sergiy Kibrik' via OSv Development <osv-dev@googlegroups.com <mailto:osv-dev@googlegroups.com>> wrote: evtchn and gnttab drivers use these operations extensively. Signed-off-by: Sergiy Kibrik <sergiy.kib...@globallogic.com <mailto:sergiy.kib...@globallogic.com>> --- bsd/aarch64/machine/xen/synch_bitops.h | 59 +++++++++++++++ bsd/aarch64/machine/xen/xen-os.h | 132 +++++++++++++++++++++++++++++++++ 2 files changed, 191 insertions(+) create mode 100644 bsd/aarch64/machine/xen/synch_bitops.h create mode 100644 bsd/aarch64/machine/xen/xen-os.h diff --git a/bsd/aarch64/machine/xen/synch_bitops.h b/bsd/aarch64/machine/xen/synch_bitops.h new file mode 100644 index 0000000..a9d0d2c --- /dev/null +++ b/bsd/aarch64/machine/xen/synch_bitops.h @@ -0,0 +1,59 @@ +#ifndef __XEN_SYNCH_BITOPS_H__ +#define __XEN_SYNCH_BITOPS_H__ + +/* + * Based on include/arm/os.h from Xen Mini-OS priject typo: project.
oops, will fix that..
This stuff is not available in BSD? If we're using code from another project, can you please say something about the license of this project? We also probably need a file about it in licenses.
The file itself [1] doesn't contain license header, but COPYING is FreeBSD License [2], so I presume os.h is also BSD. So I should probably put COPYING contents in file's header. [1] https://xenbits.xenproject.org/gitweb/?p=mini-os.git;a=blob;f=include/arm/os.h;hb=HEAD [2] https://xenbits.xenproject.org/gitweb/?p=mini-os.git;a=blob;f=COPYING;hb=HEAD -- regards, Sergiy -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.