Add sljitarch.h on sparc.
This commit is contained in:
parent
c2208cd4f9
commit
90781f7f62
@ -1,4 +1,4 @@
|
||||
# $NetBSD: md.sparc,v 1.76 2011/07/17 20:54:31 joerg Exp $
|
||||
# $NetBSD: md.sparc,v 1.77 2012/11/05 23:09:00 alnsn Exp $
|
||||
./usr/include/gcc-4.5/tgmath.h comp-c-include gcccmds,gcc=45
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/sparc comp-c-include
|
||||
@ -57,6 +57,7 @@
|
||||
./usr/include/sparc/rwlock.h comp-c-include
|
||||
./usr/include/sparc/setjmp.h comp-c-include
|
||||
./usr/include/sparc/signal.h comp-c-include
|
||||
./usr/include/sparc/sljitarch.h comp-c-include
|
||||
./usr/include/sparc/stdarg.h comp-obsolete obsolete
|
||||
./usr/include/sparc/tctrl.h comp-c-include
|
||||
./usr/include/sparc/trap.h comp-c-include
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.31 2011/07/17 20:54:47 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.32 2012/11/05 23:08:59 alnsn Exp $
|
||||
|
||||
INCSDIR= /usr/include/sparc
|
||||
|
||||
@ -16,7 +16,7 @@ INCS= ansi.h aout_machdep.h apmvar.h asm.h autoconf.h \
|
||||
oldmon.h openpromio.h \
|
||||
param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
|
||||
reg.h reloc.h rwlock.h \
|
||||
setjmp.h signal.h \
|
||||
setjmp.h signal.h sljitarch.h \
|
||||
tctrl.h trap.h types.h \
|
||||
vmparam.h vuid_event.h \
|
||||
wchar_limits.h
|
||||
|
37
sys/arch/sparc/include/sljitarch.h
Normal file
37
sys/arch/sparc/include/sljitarch.h
Normal file
@ -0,0 +1,37 @@
|
||||
/* $NetBSD: sljitarch.h,v 1.1 2012/11/05 23:08:59 alnsn Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef SPARC_SLJITARCH_H
|
||||
#define SPARC_SLJITARCH_H
|
||||
|
||||
#define SLJIT_CONFIG_SPARC_32 1
|
||||
|
||||
#define SLJIT_CACHE_FLUSH(from, to) \
|
||||
sparc_cache_flush((from), (to))
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user