CVS commit: src/external/bsd/acpica/bin/iasl

2019-01-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan 10 10:04:43 UTC 2019

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Use the make pid when naming the temporary file to create aslcompilerparse.y,
so tow parallel make instances won't step on each others toe.
Pointed out by Christos.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.23 src/external/bsd/acpica/bin/iasl/Makefile:1.24
--- src/external/bsd/acpica/bin/iasl/Makefile:1.23	Wed Jan  9 09:27:29 2019
+++ src/external/bsd/acpica/bin/iasl/Makefile	Thu Jan 10 10:04:43 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2019/01/09 09:27:29 martin Exp $
+# $NetBSD: Makefile,v 1.24 2019/01/10 10:04:43 martin Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
 PROG=	iasl
@@ -277,8 +277,8 @@ aslparser.y: asltokens.y asltypes.y aslr
 
 YPREFIX.aslcompilerparse.y=AslCompiler
 aslcompilerparse.y: aslparser.y
-	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp \
-	&& mv ${.TARGET}.tmp ${.TARGET}
+	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp.${.MAKE.PID} \
+	&& mv ${.TARGET}.tmp.${.MAKE.PID} ${.TARGET}
 
 aslcompiler.y.h: aslcompilerparse.h
 	ln -sf ${.ALLSRC} ${.TARGET}



CVS commit: src/external/bsd/acpica/bin/iasl

2019-01-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan  9 09:27:29 UTC 2019

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Make aslcompilerparse.y generation atomic to avoid parallel build races.
Solution suggested by mrg.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.22 src/external/bsd/acpica/bin/iasl/Makefile:1.23
--- src/external/bsd/acpica/bin/iasl/Makefile:1.22	Sun Oct 14 13:36:33 2018
+++ src/external/bsd/acpica/bin/iasl/Makefile	Wed Jan  9 09:27:29 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2018/10/14 13:36:33 jmcneill Exp $
+# $NetBSD: Makefile,v 1.23 2019/01/09 09:27:29 martin Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
 PROG=	iasl
@@ -277,7 +277,8 @@ aslparser.y: asltokens.y asltypes.y aslr
 
 YPREFIX.aslcompilerparse.y=AslCompiler
 aslcompilerparse.y: aslparser.y
-	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}
+	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}.tmp \
+	&& mv ${.TARGET}.tmp ${.TARGET}
 
 aslcompiler.y.h: aslcompilerparse.h
 	ln -sf ${.ALLSRC} ${.TARGET}



CVS commit: src/external/bsd/acpica/bin/iasl

2018-06-28 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 28 07:56:22 UTC 2018

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Correctly specify that iasl needs to be case insensitive.

Fixes PR bin/53405. thanks to martin.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.20 src/external/bsd/acpica/bin/iasl/Makefile:1.21
--- src/external/bsd/acpica/bin/iasl/Makefile:1.20	Wed Jun 27 16:13:43 2018
+++ src/external/bsd/acpica/bin/iasl/Makefile	Thu Jun 28 07:56:22 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/06/27 16:13:43 maya Exp $
+# $NetBSD: Makefile,v 1.21 2018/06/28 07:56:22 maya Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -264,7 +264,7 @@ SRCS+=	osunixxf.c
 
 YHEADER=	# Generate headers
 YFLAGS+=-v	# Require debugging
-FLAGS+=-i	# Case insensitivive parser
+LFLAGS+=-i	# Case insensitivive parser
 
 
 # Prevent rules from firing.



CVS commit: src/external/bsd/acpica/bin/iasl

2018-06-27 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Jun 27 16:13:43 UTC 2018

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Remove unused code. No functional change intended.

- We don't need to define __NetBSD__, C compilers do this for us.
- Defines which don't appear anywhere in src
- Don't need libpthread/librt


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.19 src/external/bsd/acpica/bin/iasl/Makefile:1.20
--- src/external/bsd/acpica/bin/iasl/Makefile:1.19	Thu May 31 09:08:25 2018
+++ src/external/bsd/acpica/bin/iasl/Makefile	Wed Jun 27 16:13:43 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2018/05/31 09:08:25 mrg Exp $
+# $NetBSD: Makefile,v 1.20 2018/06/27 16:13:43 maya Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -11,13 +11,12 @@ TOPDIR=	${NETBSDSRCDIR}/sys/external/bsd
 .include 
 
 CPPFLAGS+=	-I${TOPDIR}/../include -I${TOPDIR} -I.
-CPPFLAGS+=	-D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
-CPPFLAGS+=	-D_USE_BERKELEY_YACC
+CPPFLAGS+=	-DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
 .if ${MKREPRO:Uno} == "yes"
 CPPFLAGS+=	-DACPI_REPRO
 .endif
-LDADD+=		-ll -ly -lrt -lpthread
-DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
+LDADD+=		-ll -ly
+DPADD+=		${LIBL} ${LIBY}
 
 DPSRCS= aslcompilerparse.y aslcompilerlex.c aslcompilerparse.c \
 	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c



CVS commit: src/external/bsd/acpica/bin/iasl

2017-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Nov 12 03:02:15 UTC 2017

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
new files for acpica-20171110


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.16 src/external/bsd/acpica/bin/iasl/Makefile:1.17
--- src/external/bsd/acpica/bin/iasl/Makefile:1.16	Tue Oct 10 15:17:57 2017
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sat Nov 11 22:02:15 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2017/10/10 19:17:57 christos Exp $
+# $NetBSD: Makefile,v 1.17 2017/11/12 03:02:15 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -25,9 +25,11 @@ DPSRCS= aslcompilerparse.y aslcompilerle
 .PATH:	${TOPDIR}
 SRCS+= \
 	adfile.c \
+	aslallocate.c \
 	aslanalyze.c \
 	aslascii.c \
 	aslbtypes.c \
+	aslcache.c \
 	aslcodegen.c \
 	aslcompile.c \
 	aslcompilerlex.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2017-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 10 19:17:57 UTC 2017

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Redo so that parallel makes work reliably by using the builtin rules and
issuing atomic file creation.
XXX: This still creates all the c and h files for platforms that don't support
iasl in make depend. At least it now works with make -j 100 dependall


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.15 src/external/bsd/acpica/bin/iasl/Makefile:1.16
--- src/external/bsd/acpica/bin/iasl/Makefile:1.15	Fri Sep 15 13:17:25 2017
+++ src/external/bsd/acpica/bin/iasl/Makefile	Tue Oct 10 15:17:57 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2017/09/15 17:17:25 christos Exp $
+# $NetBSD: Makefile,v 1.16 2017/10/10 19:17:57 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -19,7 +19,7 @@ CPPFLAGS+=	-DACPI_REPRO
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
-DPSRCS= aslcompiler.y aslcompilerlex.c aslcompilerparse.c \
+DPSRCS= aslcompilerparse.y aslcompilerlex.c aslcompilerparse.c \
 	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c
 
 .PATH:	${TOPDIR}
@@ -255,45 +255,69 @@ SRCS+= \
 .PATH: ${TOPDIR}/../os_specific/service_layers
 SRCS+=	osunixxf.c
 
+YHEADER=	# Generate headers
+YFLAGS+=-v	# Require debugging
+FLAGS+=-i	# Case insensitivive parser
+
+
+# Prevent rules from firing.
+asltypes.h: asltypes.y
+	@true
+asltypes.c: asltypes.y
+	@true
 
 aslparser.y: asltokens.y asltypes.y aslrules.y aslsupport.y
 
-aslcompiler.y: aslparser.y
+YPREFIX.aslcompilerparse.y=AslCompiler
+aslcompilerparse.y: aslparser.y
 	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}
 
-aslcompiler.y.h aslcompilerparse.c: aslcompiler.y
-	${YACC} -v -d -o${.TARGET} -pAslCompiler ${.ALLSRC}
-	mv -f ${.PREFIX}.h aslcompiler.y.h
+aslcompiler.y.h: aslcompilerparse.h
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-aslcompilerlex.c: ${TOPDIR}/aslcompiler.l
-	${LEX} -i -PAslCompiler -o${.TARGET} ${.ALLSRC}
+LPREFIX.aslcompilerlex.l=AslCompiler
+aslcompilerlex.l: ${TOPDIR}/aslcompiler.l
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-aslcompilerlex.o: aslcompiler.y.h
 
-dtparser.y.h dtparserparse.c: ${TOPDIR}/dtparser.y
-	${YACC} -v -d -o${.TARGET} -pDtParser ${.ALLSRC}
-	mv -f ${.PREFIX}.h dtparser.y.h
+YPREFIX.dtparserparse.y=DtParser
+dtparserparse.y: ${TOPDIR}/dtparser.y
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-dtparserlex.c: ${TOPDIR}/dtparser.l
-	${LEX} -i -PDtParser -o${.TARGET} ${.ALLSRC}
+dtparser.y.h: dtparserparse.h
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-dtparserlex.o: dtparser.y.h
+LPREFIX.dtparserlex.l=DtParser
+dtparserlex.l: ${TOPDIR}/dtparser.l
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-prparser.y.h prparserparse.c: ${TOPDIR}/prparser.y
-	${YACC} -v -d -o${.TARGET} -pPrParser ${.ALLSRC}
-	mv -f ${.PREFIX}.h prparser.y.h
 
-prparserlex.c: ${TOPDIR}/prparser.l
-	${LEX} -i -PPrParser -o${.TARGET} ${.ALLSRC}
+YPREFIX.prparserparse.y=PrParser
+prparserparse.y: ${TOPDIR}/prparser.y
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-prparserlex.o: prparser.y.h
+prparser.y.h: prparserparse.h
+	ln -sf ${.ALLSRC} ${.TARGET}
 
-CLEANFILES+=	aslcompiler.y \
-		aslcompilerlex.c aslcompilerparse.c	\
+LPREFIX.prparserlex.l=PrParser
+prparserlex.l: ${TOPDIR}/prparser.l
+	ln -sf ${.ALLSRC} ${.TARGET}
+
+CLEANFILES+=	aslcompilerparse.y  aslcompilerparse.c	\
+		aslcompilerparse.h			\
 		aslcompiler.y.h aslcompilerparse.output \
-		dtparserlex.c dtparserparse.c		\
+		aslcompilerlex.l aslcompilerlex.c	\
+			\
+		dtparserparse.y dtparserparse.c		\
+		dtparserparse.h\
+		dtparserlex.l dtparserlex.c		\
 		dtparser.y.h dtparserparse.output	\
-		prparserlex.c prparserparse.c		\
+			\
+		prparserparse.y prparserparse.c		\
+		prparserparse.h\
+		prparserlex.l prparserlex.c		\
 		prparser.y.h prparserparse.output	\
 
 .include 
+
+${__DPSRCS.d} ${OBJS}: prparser.y.h dtparser.y.h aslcompiler.y.h



CVS commit: src/external/bsd/acpica/bin/iasl

2017-09-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 15 17:17:25 UTC 2017

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Adjust for acpica 20170831


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.14 src/external/bsd/acpica/bin/iasl/Makefile:1.15
--- src/external/bsd/acpica/bin/iasl/Makefile:1.14	Sun Apr 30 19:18:07 2017
+++ src/external/bsd/acpica/bin/iasl/Makefile	Fri Sep 15 13:17:25 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2017/04/30 23:18:07 christos Exp $
+# $NetBSD: Makefile,v 1.15 2017/09/15 17:17:25 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -58,6 +58,7 @@ SRCS+= \
 	asloperands.c \
 	aslopt.c \
 	asloptions.c \
+	aslparseop.c \
 	aslpld.c \
 	aslpredef.c \
 	aslprepkg.c \
@@ -115,6 +116,7 @@ SRCS+= \
 	cmfsize.c \
 	dmextern.c \
 	dmrestag.c \
+	dmswitch.c \
 	dmtable.c \
 	dmtables.c \
 	dmtbdump.c \
@@ -145,6 +147,7 @@ SRCS+= \
 	dsfield.c \
 	dsobject.c \
 	dsopcode.c \
+	dspkginit.c \
 	dsutils.c \
 	dswexec.c \
 	dswload.c \
@@ -237,9 +240,11 @@ SRCS+= \
 	utosi.c \
 	utownerid.c \
 	utpredef.c \
+	utresdecode.c \
 	utresrc.c \
 	utstate.c \
 	utstring.c \
+	utstrsuppt.c \
 	utstrtoul64.c \
 	utuuid.c \
 	utxface.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2017-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 30 23:18:07 UTC 2017

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Adjust for 20170303


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.13 src/external/bsd/acpica/bin/iasl/Makefile:1.14
--- src/external/bsd/acpica/bin/iasl/Makefile:1.13	Fri Nov 11 16:09:21 2016
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sun Apr 30 19:18:07 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/11/11 21:09:21 christos Exp $
+# $NetBSD: Makefile,v 1.14 2017/04/30 23:18:07 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -81,6 +81,9 @@ SRCS+= \
 	aslwalks.c \
 	aslxref.c \
 	aslxrefout.c \
+	cvcompiler.c \
+	cvdisasm.c \
+	cvparser.c \
 	dtcompile.c \
 	dtexpress.c \
 	dtfield.c \
@@ -234,7 +237,6 @@ SRCS+= \
 	utosi.c \
 	utownerid.c \
 	utpredef.c \
-	utprint.c \
 	utresrc.c \
 	utstate.c \
 	utstring.c \
@@ -243,6 +245,8 @@ SRCS+= \
 	utxface.c \
 	utxferror.c
 
+#	utprint.c 
+
 .PATH: ${TOPDIR}/../os_specific/service_layers
 SRCS+=	osunixxf.c
 



CVS commit: src/external/bsd/acpica/bin/iasl

2016-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 11 21:09:22 UTC 2016

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Adjust to new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.12 src/external/bsd/acpica/bin/iasl/Makefile:1.13
--- src/external/bsd/acpica/bin/iasl/Makefile:1.12	Wed May  4 15:28:15 2016
+++ src/external/bsd/acpica/bin/iasl/Makefile	Fri Nov 11 16:09:21 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2016/05/04 19:28:15 christos Exp $
+# $NetBSD: Makefile,v 1.13 2016/11/11 21:09:21 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -38,6 +38,7 @@ SRCS+= \
 	aslfileio.c \
 	aslfiles.c \
 	aslfold.c \
+	aslhelp.c \
 	aslhex.c \
 	asllength.c \
 	asllisting.c \
@@ -237,12 +238,13 @@ SRCS+= \
 	utresrc.c \
 	utstate.c \
 	utstring.c \
+	utstrtoul64.c \
 	utuuid.c \
 	utxface.c \
 	utxferror.c
 
 .PATH: ${TOPDIR}/../os_specific/service_layers
-SRCS+=	osunixxf.c oslibcfs.c
+SRCS+=	osunixxf.c
 
 
 aslparser.y: asltokens.y asltypes.y aslrules.y aslsupport.y



CVS commit: src/external/bsd/acpica/bin/iasl

2016-05-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May  4 19:28:15 UTC 2016

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
adjust to new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.11 src/external/bsd/acpica/bin/iasl/Makefile:1.12
--- src/external/bsd/acpica/bin/iasl/Makefile:1.11	Sat Jan  9 16:13:51 2016
+++ src/external/bsd/acpica/bin/iasl/Makefile	Wed May  4 15:28:15 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/01/09 21:13:51 christos Exp $
+# $NetBSD: Makefile,v 1.12 2016/05/04 19:28:15 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -32,7 +32,9 @@ SRCS+= \
 	aslcompile.c \
 	aslcompilerlex.c \
 	aslcompilerparse.c \
+	asldebug.c \
 	aslerror.c \
+	aslexternal.c \
 	aslfileio.c \
 	aslfiles.c \
 	aslfold.c \
@@ -55,6 +57,7 @@ SRCS+= \
 	asloperands.c \
 	aslopt.c \
 	asloptions.c \
+	aslpld.c \
 	aslpredef.c \
 	aslprepkg.c \
 	aslprintf.c \
@@ -76,6 +79,7 @@ SRCS+= \
 	asluuid.c \
 	aslwalks.c \
 	aslxref.c \
+	aslxrefout.c \
 	dtcompile.c \
 	dtexpress.c \
 	dtfield.c \
@@ -148,6 +152,7 @@ SRCS+= \
 SRCS+= \
 	exconvrt.c \
 	excreate.c \
+	exconcat.c \
 	exdump.c \
 	exmisc.c \
 	exmutex.c \
@@ -207,6 +212,7 @@ SRCS+= \
 SRCS+= \
 	utaddress.c \
 	utalloc.c \
+	utascii.c \
 	utbuffer.c \
 	utcache.c \
 	utcopy.c \
@@ -215,7 +221,6 @@ SRCS+= \
 	utdelete.c \
 	uterror.c \
 	utexcep.c \
-	utfileio.c \
 	utglobal.c \
 	uthex.c \
 	utinit.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2016-01-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan  9 21:13:51 UTC 2016

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
new files


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.10 src/external/bsd/acpica/bin/iasl/Makefile:1.11
--- src/external/bsd/acpica/bin/iasl/Makefile:1.10	Tue Aug 18 06:38:31 2015
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sat Jan  9 16:13:51 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/08/18 10:38:31 christos Exp $
+# $NetBSD: Makefile,v 1.11 2016/01/09 21:13:51 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -84,6 +84,8 @@ SRCS+= \
 	dtparserparse.c \
 	dtsubtable.c \
 	dttable.c \
+	dttable1.c \
+	dttable2.c \
 	dttemplate.c \
 	dtutils.c \
 	prexpress.c \
@@ -95,6 +97,7 @@ SRCS+= \
 
 .PATH: ${TOPDIR}/../common
 SRCS+= \
+	acfileio.c \
 	adisasm.c \
 	adwalk.c \
 	ahids.c \
@@ -105,6 +108,7 @@ SRCS+= \
 	dmextern.c \
 	dmrestag.c \
 	dmtable.c \
+	dmtables.c \
 	dmtbdump.c \
 	dmtbinfo.c \
 	getopt.c
@@ -183,7 +187,8 @@ SRCS+=	\
 	tbinstal.c \
 	tbprint.c \
 	tbutils.c \
-	tbxface.c
+	tbxface.c \
+	tbxfload.c
 
 .PATH: ${TOPDIR}/../namespace
 SRCS+= \



CVS commit: src/external/bsd/acpica/bin/iasl

2015-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Aug 18 10:38:31 UTC 2015

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
handle acpica 20150717


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.9 src/external/bsd/acpica/bin/iasl/Makefile:1.10
--- src/external/bsd/acpica/bin/iasl/Makefile:1.9	Mon Apr 13 13:24:24 2015
+++ src/external/bsd/acpica/bin/iasl/Makefile	Tue Aug 18 06:38:31 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2015/04/13 17:24:24 christos Exp $
+# $NetBSD: Makefile,v 1.10 2015/08/18 10:38:31 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -99,6 +99,7 @@ SRCS+= \
 	adwalk.c \
 	ahids.c \
 	ahpredef.c \
+	ahtable.c \
 	ahuuids.c \
 	cmfsize.c \
 	dmextern.c \
@@ -117,7 +118,6 @@ SRCS+= \
 	dmcstyle.c \
 	dmdeferred.c \
 	dmnames.c \
-	dmobject.c \
 	dmopcode.c \
 	dmresrc.c \
 	dmresrcl.c \
@@ -218,6 +218,7 @@ SRCS+= \
 	utmath.c \
 	utmisc.c \
 	utmutex.c \
+	utnonansi.c \
 	utobject.c \
 	utosi.c \
 	utownerid.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2015-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Apr 13 17:24:24 UTC 2015

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
update for newest acpi
XXX: needs recompiled yacc


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.8 src/external/bsd/acpica/bin/iasl/Makefile:1.9
--- src/external/bsd/acpica/bin/iasl/Makefile:1.8	Sat Oct 25 17:01:12 2014
+++ src/external/bsd/acpica/bin/iasl/Makefile	Mon Apr 13 13:24:24 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/10/25 21:01:12 christos Exp $
+# $NetBSD: Makefile,v 1.9 2015/04/13 17:24:24 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -57,6 +57,8 @@ SRCS+= \
 	asloptions.c \
 	aslpredef.c \
 	aslprepkg.c \
+	aslprintf.c \
+	aslprune.c \
 	aslresource.c \
 	aslrestype1.c \
 	aslrestype1i.c \
@@ -112,6 +114,7 @@ SRCS+=  dbfileio.c
 .PATH: ${TOPDIR}/../disassembler
 SRCS+= \
 	dmbuffer.c \
+	dmcstyle.c \
 	dmdeferred.c \
 	dmnames.c \
 	dmobject.c \



CVS commit: src/external/bsd/acpica/bin/iasl

2014-10-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 25 21:01:12 UTC 2014

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
adjust to new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.7 src/external/bsd/acpica/bin/iasl/Makefile:1.8
--- src/external/bsd/acpica/bin/iasl/Makefile:1.7	Sat Dec 28 11:03:51 2013
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sat Oct 25 17:01:12 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2013/12/28 16:03:51 christos Exp $
+# $NetBSD: Makefile,v 1.8 2014/10/25 21:01:12 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -19,13 +19,14 @@ CPPFLAGS+=	-DACPI_REPRO
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
-DPSRCS= aslcompilerparse.c aslcompilerlex.c \
+DPSRCS= aslcompiler.y aslcompilerlex.c aslcompilerparse.c \
 	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c
 
 .PATH:	${TOPDIR}
 SRCS+= \
 	adfile.c \
 	aslanalyze.c \
+	aslascii.c \
 	aslbtypes.c \
 	aslcodegen.c \
 	aslcompile.c \
@@ -43,6 +44,10 @@ SRCS+= \
 	asllookup.c \
 	aslmain.c \
 	aslmap.c \
+	aslmapenter.c \
+	aslmapoutput.c \
+	aslmaputils.c \
+	aslmessages.c \
 	aslmethod.c \
 	aslnamesp.c \
 	asloffset.c \
@@ -90,7 +95,10 @@ SRCS+= \
 SRCS+= \
 	adisasm.c \
 	adwalk.c \
+	ahids.c \
 	ahpredef.c \
+	ahuuids.c \
+	cmfsize.c \
 	dmextern.c \
 	dmrestag.c \
 	dmtable.c \
@@ -168,6 +176,7 @@ SRCS+= \
 .PATH: ${TOPDIR}/../tables
 SRCS+=	\
 	tbfadt.c \
+	tbdata.c \
 	tbinstal.c \
 	tbprint.c \
 	tbutils.c \
@@ -198,7 +207,9 @@ SRCS+= \
 	utdelete.c \
 	uterror.c \
 	utexcep.c \
+	utfileio.c \
 	utglobal.c \
+	uthex.c \
 	utinit.c \
 	utlock.c \
 	utmath.c \
@@ -208,16 +219,24 @@ SRCS+= \
 	utosi.c \
 	utownerid.c \
 	utpredef.c \
+	utprint.c \
 	utresrc.c \
 	utstate.c \
 	utstring.c \
+	utuuid.c \
 	utxface.c \
 	utxferror.c
 
 .PATH: ${TOPDIR}/../os_specific/service_layers
-SRCS+=	osunixxf.c
+SRCS+=	osunixxf.c oslibcfs.c
 
-aslcompiler.y.h aslcompilerparse.c: ${TOPDIR}/aslcompiler.y
+
+aslparser.y: asltokens.y asltypes.y aslrules.y aslsupport.y
+
+aslcompiler.y: aslparser.y
+	${TOOL_M4} -P -I${TOPDIR} ${.ALLSRC} > ${.TARGET}
+
+aslcompiler.y.h aslcompilerparse.c: aslcompiler.y
 	${YACC} -v -d -o${.TARGET} -pAslCompiler ${.ALLSRC}
 	mv -f ${.PREFIX}.h aslcompiler.y.h
 
@@ -244,7 +263,8 @@ prparserlex.c: ${TOPDIR}/prparser.l
 
 prparserlex.o: prparser.y.h
 
-CLEANFILES+=	aslcompilerlex.c aslcompilerparse.c	\
+CLEANFILES+=	aslcompiler.y \
+		aslcompilerlex.c aslcompilerparse.c	\
 		aslcompiler.y.h aslcompilerparse.output \
 		dtparserlex.c dtparserparse.c		\
 		dtparser.y.h dtparserparse.output	\



CVS commit: src/external/bsd/acpica/bin/iasl

2013-12-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 28 16:03:51 UTC 2013

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Add more dependencies, fix CLEANDIR target


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.6 src/external/bsd/acpica/bin/iasl/Makefile:1.7
--- src/external/bsd/acpica/bin/iasl/Makefile:1.6	Fri Dec 27 16:33:46 2013
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sat Dec 28 11:03:51 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2013/12/27 21:33:46 christos Exp $
+# $NetBSD: Makefile,v 1.7 2013/12/28 16:03:51 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -217,32 +217,38 @@ SRCS+= \
 .PATH: ${TOPDIR}/../os_specific/service_layers
 SRCS+=	osunixxf.c
 
-aslcompilerparse.c: ${TOPDIR}/aslcompiler.y
+aslcompiler.y.h aslcompilerparse.c: ${TOPDIR}/aslcompiler.y
 	${YACC} -v -d -o${.TARGET} -pAslCompiler ${.ALLSRC}
 	mv -f ${.PREFIX}.h aslcompiler.y.h
 
 aslcompilerlex.c: ${TOPDIR}/aslcompiler.l
 	${LEX} -i -PAslCompiler -o${.TARGET} ${.ALLSRC}
 
-dtparserparse.c: ${TOPDIR}/dtparser.y
+aslcompilerlex.o: aslcompiler.y.h
+
+dtparser.y.h dtparserparse.c: ${TOPDIR}/dtparser.y
 	${YACC} -v -d -o${.TARGET} -pDtParser ${.ALLSRC}
 	mv -f ${.PREFIX}.h dtparser.y.h
 
 dtparserlex.c: ${TOPDIR}/dtparser.l
 	${LEX} -i -PDtParser -o${.TARGET} ${.ALLSRC}
 
-prparserparse.c: ${TOPDIR}/prparser.y
+dtparserlex.o: dtparser.y.h
+
+prparser.y.h prparserparse.c: ${TOPDIR}/prparser.y
 	${YACC} -v -d -o${.TARGET} -pPrParser ${.ALLSRC}
 	mv -f ${.PREFIX}.h prparser.y.h
 
 prparserlex.c: ${TOPDIR}/prparser.l
 	${LEX} -i -PPrParser -o${.TARGET} ${.ALLSRC}
 
+prparserlex.o: prparser.y.h
+
 CLEANFILES+=	aslcompilerlex.c aslcompilerparse.c	\
 		aslcompiler.y.h aslcompilerparse.output \
 		dtparserlex.c dtparserparse.c		\
 		dtparser.y.h dtparserparse.output	\
-		prparserlex.c dtparserparse.c		\
-		prparser.y.h dtparserparse.output	\
+		prparserlex.c prparserparse.c		\
+		prparser.y.h prparserparse.output	\
 
 .include 



CVS commit: src/external/bsd/acpica/bin/iasl

2013-12-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec 27 21:33:46 UTC 2013

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
adjust for new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.5 src/external/bsd/acpica/bin/iasl/Makefile:1.6
--- src/external/bsd/acpica/bin/iasl/Makefile:1.5	Sun Feb 19 00:06:41 2012
+++ src/external/bsd/acpica/bin/iasl/Makefile	Fri Dec 27 16:33:46 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/02/19 05:06:41 christos Exp $
+# $NetBSD: Makefile,v 1.6 2013/12/27 21:33:46 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -20,60 +20,199 @@ LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
 DPSRCS= aslcompilerparse.c aslcompilerlex.c \
-	dtparserparse.c dtparserlex.c
+	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c
 
 .PATH:	${TOPDIR}
-SRCS+=  aslcompilerparse.c aslcompilerlex.c adfile.c \
-	aslanalyze.c aslbtypes.c aslcodegen.c aslcompile.c  \
-	aslerror.c aslfiles.c aslfold.c asllength.c \
-	asllisting.c aslload.c asllookup.c aslmain.c aslmap.c   \
-	aslopcodes.c asloperands.c aslopt.c aslpredef.c \
-	aslresource.c aslrestype1.c aslrestype1i.c  \
-	aslrestype2.c aslrestype2d.c aslrestype2e.c \
-	aslrestype2q.c aslrestype2w.c aslstartup.c aslstubs.c   \
-	asltransform.c asltree.c aslutils.c asluuid.c   \
-	aslwalks.c dtcompile.c dtexpress.c dtfield.c dtio.c \
-	dtparserparse.c dtparserlex.c\
-	dtsubtable.c dttable.c dttemplate.c dtutils.c
+SRCS+= \
+	adfile.c \
+	aslanalyze.c \
+	aslbtypes.c \
+	aslcodegen.c \
+	aslcompile.c \
+	aslcompilerlex.c \
+	aslcompilerparse.c \
+	aslerror.c \
+	aslfileio.c \
+	aslfiles.c \
+	aslfold.c \
+	aslhex.c \
+	asllength.c \
+	asllisting.c \
+	asllistsup.c \
+	aslload.c \
+	asllookup.c \
+	aslmain.c \
+	aslmap.c \
+	aslmethod.c \
+	aslnamesp.c \
+	asloffset.c \
+	aslopcodes.c \
+	asloperands.c \
+	aslopt.c \
+	asloptions.c \
+	aslpredef.c \
+	aslprepkg.c \
+	aslresource.c \
+	aslrestype1.c \
+	aslrestype1i.c \
+	aslrestype2.c \
+	aslrestype2d.c \
+	aslrestype2e.c \
+	aslrestype2q.c \
+	aslrestype2s.c \
+	aslrestype2w.c \
+	aslstartup.c \
+	aslstubs.c \
+	asltransform.c \
+	asltree.c \
+	aslutils.c \
+	asluuid.c \
+	aslwalks.c \
+	aslxref.c \
+	dtcompile.c \
+	dtexpress.c \
+	dtfield.c \
+	dtio.c \
+	dtparserlex.c \
+	dtparserparse.c \
+	dtsubtable.c \
+	dttable.c \
+	dttemplate.c \
+	dtutils.c \
+	prexpress.c \
+	prmacros.c \
+	prparserlex.c \
+	prparserparse.c \
+	prscan.c \
+	prutils.c
 
 .PATH: ${TOPDIR}/../common
-SRCS+=  adisasm.c adwalk.c dmextern.c dmrestag.c dmtable.c \
-	dmtbdump.c dmtbinfo.c getopt.c
+SRCS+= \
+	adisasm.c \
+	adwalk.c \
+	ahpredef.c \
+	dmextern.c \
+	dmrestag.c \
+	dmtable.c \
+	dmtbdump.c \
+	dmtbinfo.c \
+	getopt.c
 
 .PATH: ${TOPDIR}/../debugger
 SRCS+=  dbfileio.c
 
 .PATH: ${TOPDIR}/../disassembler
-SRCS+=  dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c\
-	dmresrcl.c dmresrcs.c dmutils.c dmwalk.c
+SRCS+= \
+	dmbuffer.c \
+	dmdeferred.c \
+	dmnames.c \
+	dmobject.c \
+	dmopcode.c \
+	dmresrc.c \
+	dmresrcl.c \
+	dmresrcl2.c \
+	dmresrcs.c \
+	dmutils.c \
+	dmwalk.c
 
 .PATH: ${TOPDIR}/../dispatcher
-SRCS+=  dsargs.c dscontrol.c dsfield.c dsobject.c dsopcode.c\
-	dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
+SRCS+= \
+	dsargs.c \
+	dscontrol.c \
+	dsfield.c \
+	dsobject.c \
+	dsopcode.c \
+	dsutils.c \
+	dswexec.c \
+	dswload.c \
+	dswload2.c \
+	dswscope.c \
 	dswstate.c
 
 .PATH: ${TOPDIR}/../executer
-SRCS+=  exconvrt.c excreate.c exdump.c exmisc.c exmutex.c   \
-	exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c   \
-	exprep.c exregion.c exresnte.c exresolv.c exresop.c \
-	exstore.c exstoren.c exstorob.c exsystem.c exutils.c
+SRCS+= \
+	exconvrt.c \
+	excreate.c \
+	exdump.c \
+	exmisc.c \
+	exmutex.c \
+	exnames.c \
+	exoparg1.c \
+	exoparg2.c \
+	exoparg3.c \
+	exoparg6.c \
+	exprep.c \
+	exregion.c \
+	exresnte.c \
+	exresolv.c \
+	exresop.c \
+	exstore.c \
+	exstoren.c \
+	exstorob.c \
+	exsystem.c \
+	exutils.c
 
 .PATH: ${TOPDIR}/../parser
-SRCS+=  psargs.c psloop.c psopcode.c psparse.c psscope.c\
-	pstree.c psutils.c pswalk.c
+SRCS+= \
+	psargs.c \
+	psloop.c \
+	psobject.c \
+	psopcode.c \
+	psopinfo.c \
+	psparse.c \
+	psscope.c \
+	pstree.c \
+	psutils.c \
+	pswalk.c
 
 .PATH: ${TOPDIR}/../tables
-SRCS+=	tbfadt.c tbinstal.c tbutils.c tbxface.c
+SRCS+=	\
+	tbfadt.c \
+	tbinstal.c \
+	tbprint.c \
+	tbutils.c \
+	tbxface.c
 
 .PATH: ${TOPDIR}/../namespace
-SRCS+=  nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c  \
-	nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.

CVS commit: src/external/bsd/acpica/bin/iasl

2012-02-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 19 05:06:41 UTC 2012

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Fix MKREPRO = yes
XXX: pullup to 6


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.4 src/external/bsd/acpica/bin/iasl/Makefile:1.5
--- src/external/bsd/acpica/bin/iasl/Makefile:1.4	Tue Jun 28 05:11:33 2011
+++ src/external/bsd/acpica/bin/iasl/Makefile	Sun Feb 19 00:06:41 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/06/28 09:11:33 jruoho Exp $
+# $NetBSD: Makefile,v 1.5 2012/02/19 05:06:41 christos Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -13,6 +13,9 @@ TOPDIR=	${NETBSDSRCDIR}/sys/external/bsd
 CPPFLAGS+=	-I${TOPDIR}/../include -I${TOPDIR} -I.
 CPPFLAGS+=	-D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
 CPPFLAGS+=	-D_USE_BERKELEY_YACC
+.if ${MKREPRO:Uno} == "yes"
+CPPFLAGS+=	-DACPI_REPRO
+.endif
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 



CVS commit: src/external/bsd/acpica/bin/iasl

2011-06-28 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue Jun 28 09:11:33 UTC 2011

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Adjust for ACPICA 20110623.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.3 src/external/bsd/acpica/bin/iasl/Makefile:1.4
--- src/external/bsd/acpica/bin/iasl/Makefile:1.3	Fri Feb 18 17:34:22 2011
+++ src/external/bsd/acpica/bin/iasl/Makefile	Tue Jun 28 09:11:33 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/02/18 17:34:22 jruoho Exp $
+# $NetBSD: Makefile,v 1.4 2011/06/28 09:11:33 jruoho Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -16,8 +16,8 @@
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
-DPSRCS= aslcompilerparse.c
-DPSRCS+=aslcompilerlex.c
+DPSRCS= aslcompilerparse.c aslcompilerlex.c \
+	dtparserparse.c dtparserlex.c
 
 .PATH:	${TOPDIR}
 SRCS+=  aslcompilerparse.c aslcompilerlex.c adfile.c \
@@ -30,6 +30,7 @@
 	aslrestype2q.c aslrestype2w.c aslstartup.c aslstubs.c   \
 	asltransform.c asltree.c aslutils.c asluuid.c   \
 	aslwalks.c dtcompile.c dtexpress.c dtfield.c dtio.c \
+	dtparserparse.c dtparserlex.c\
 	dtsubtable.c dttable.c dttemplate.c dtutils.c
 
 .PATH: ${TOPDIR}/../common
@@ -71,7 +72,7 @@
 	utmisc.c utmutex.c utobject.c utosi.c utresrc.c \
 	utstate.c utxface.c utxferror.c
 
-.PATH: ${TOPDIR}/..
+.PATH: ${TOPDIR}/../os_specific/service_layers
 SRCS+=	osunixxf.c
 
 aslcompilerparse.c: ${TOPDIR}/aslcompiler.y
@@ -81,7 +82,16 @@
 aslcompilerlex.c: ${TOPDIR}/aslcompiler.l
 	${LEX} -i -PAslCompiler -o${.TARGET} ${.ALLSRC}
 
-CLEANFILES+=	aslcompilerlex.c aslcompilerparse.c \
-		aslcompiler.y.h aslcompilerparse.output
+dtparserparse.c: ${TOPDIR}/dtparser.y
+	${YACC} -v -d -o${.TARGET} -pDtParser ${.ALLSRC}
+	mv -f ${.PREFIX}.h dtparser.y.h
+
+dtparserlex.c: ${TOPDIR}/dtparser.l
+	${LEX} -i -PDtParser -o${.TARGET} ${.ALLSRC}
+
+CLEANFILES+=	aslcompilerlex.c aslcompilerparse.c	\
+		aslcompiler.y.h aslcompilerparse.output \
+		dtparserlex.c dtparserparse.c		\
+		dtparser.y.h dtparserparse.output
 
 .include 



CVS commit: src/external/bsd/acpica/bin/iasl

2011-02-18 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Feb 18 17:34:22 UTC 2011

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.2 src/external/bsd/acpica/bin/iasl/Makefile:1.3
--- src/external/bsd/acpica/bin/iasl/Makefile:1.2	Thu Feb 17 18:26:20 2011
+++ src/external/bsd/acpica/bin/iasl/Makefile	Fri Feb 18 17:34:22 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/02/17 18:26:20 jruoho Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/18 17:34:22 jruoho Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -11,7 +11,7 @@
 .include 
 
 CPPFLAGS+=	-I${TOPDIR}/../include -I${TOPDIR} -I.
-CPPFLAGS+=	-D_LINUX -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
+CPPFLAGS+=	-D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
 CPPFLAGS+=	-D_USE_BERKELEY_YACC
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}



CVS commit: src/external/bsd/acpica/bin/iasl

2011-02-17 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Feb 17 18:26:20 UTC 2011

Modified Files:
src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Fix iasl(8).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.1 src/external/bsd/acpica/bin/iasl/Makefile:1.2
--- src/external/bsd/acpica/bin/iasl/Makefile:1.1	Thu Feb 17 07:48:16 2011
+++ src/external/bsd/acpica/bin/iasl/Makefile	Thu Feb 17 18:26:20 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/02/17 07:48:16 jruoho Exp $
+# $NetBSD: Makefile,v 1.2 2011/02/17 18:26:20 jruoho Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -16,141 +16,61 @@
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
-DPSRCS=	aslcompilerparse.c
+DPSRCS= aslcompilerparse.c
 DPSRCS+=aslcompilerlex.c
 
 .PATH:	${TOPDIR}
-SRCS=	aslcompilerparse.c
-SRCS+=	aslcompilerlex.c
-SRCS+=	aslanalyze.c
-SRCS+=	aslcodegen.c
-SRCS+=	aslcompile.c
-SRCS+=	aslerror.c
-SRCS+=	aslfiles.c
-SRCS+=	asllength.c
-SRCS+=	asllisting.c
-SRCS+=	aslload.c
-SRCS+=	asllookup.c
-SRCS+=	aslmain.c
-SRCS+=	aslmap.c
-SRCS+=	aslopcodes.c
-SRCS+=	asloperands.c
-SRCS+=	aslpredef.c
-SRCS+=	aslresource.c
-SRCS+=	aslrestype1.c
-SRCS+=	aslrestype1i.c
-SRCS+=	aslrestype2.c
-SRCS+=	aslrestype2d.c
-SRCS+=	aslrestype2e.c
-SRCS+=	aslrestype2q.c
-SRCS+=	aslrestype2w.c
-SRCS+=	aslstartup.c
-SRCS+=	asltree.c
-SRCS+=	aslutils.c
-SRCS+=	asltransform.c
-SRCS+=	aslfold.c
-SRCS+=	aslstubs.c
-SRCS+=	aslopt.c
-SRCS+=	dtcompile.c
-SRCS+=	dtfield.c
-SRCS+=	dtio.c
-SRCS+=	dtsubtable.c
-SRCS+=	dttable.c
-SRCS+=	dtutils.c
-.PATH: ${TOPDIR}/../common
-SRCS+=	getopt.c
-.PATH: ${TOPDIR}/../utilities
-SRCS+=	utalloc.c
-SRCS+=	utcache.c
-SRCS+=	utcopy.c
-SRCS+=	utdebug.c
-SRCS+=	utdelete.c
-SRCS+=	utglobal.c
-SRCS+=	utinit.c
-SRCS+=	utlock.c
-SRCS+=	utobject.c
-SRCS+=	utmisc.c
-SRCS+=	utmath.c
-SRCS+=	utmutex.c
-SRCS+=	utresrc.c
-SRCS+=	utstate.c
-SRCS+=	utxface.c
-.PATH: ${TOPDIR}/../namespace
-SRCS+=	nsaccess.c
-SRCS+=	nsalloc.c
-SRCS+=	nsdump.c
-SRCS+=	nsnames.c
-SRCS+=	nsobject.c
-SRCS+=	nsparse.c
-SRCS+=	nssearch.c
-SRCS+=	nsutils.c
-SRCS+=	nswalk.c
-SRCS+=	nsxfobj.c
-.PATH: ${TOPDIR}/../parser
-SRCS+=	psargs.c
-SRCS+=	psloop.c
-SRCS+=	psopcode.c
-SRCS+=	psparse.c
-SRCS+=	psscope.c
-SRCS+=	pstree.c
-SRCS+=	psutils.c
-SRCS+=	pswalk.c
-.PATH: ${TOPDIR}/../dispatcher
-SRCS+=	dmextern.c
-SRCS+=	dswscope.c
-SRCS+=	dswstate.c
-SRCS+=	dsfield.c
-SRCS+=	dsobject.c
-SRCS+=	dsopcode.c
-SRCS+=	dsutils.c
-SRCS+=	dswexec.c
-SRCS+=	dswload.c
-.PATH: ${TOPDIR}/../executer
-SRCS+=	exconvrt.c
-SRCS+=	excreate.c
-SRCS+=	exdump.c
-SRCS+=	exmisc.c
-SRCS+=	exmutex.c
-SRCS+=	exnames.c
-SRCS+=	exoparg1.c
-SRCS+=	exoparg2.c
-SRCS+=	exoparg3.c
-SRCS+=	exoparg6.c
-SRCS+=	exprep.c
-SRCS+=	exregion.c
-SRCS+=	exresnte.c
-SRCS+=	exresolv.c
-SRCS+=	exresop.c
-SRCS+=	exstore.c
-SRCS+=	exstoren.c
-SRCS+=	exstorob.c
-SRCS+=	exsystem.c
-SRCS+=	exutils.c
+SRCS+=  aslcompilerparse.c aslcompilerlex.c adfile.c \
+	aslanalyze.c aslbtypes.c aslcodegen.c aslcompile.c  \
+	aslerror.c aslfiles.c aslfold.c asllength.c \
+	asllisting.c aslload.c asllookup.c aslmain.c aslmap.c   \
+	aslopcodes.c asloperands.c aslopt.c aslpredef.c \
+	aslresource.c aslrestype1.c aslrestype1i.c  \
+	aslrestype2.c aslrestype2d.c aslrestype2e.c \
+	aslrestype2q.c aslrestype2w.c aslstartup.c aslstubs.c   \
+	asltransform.c asltree.c aslutils.c asluuid.c   \
+	aslwalks.c dtcompile.c dtexpress.c dtfield.c dtio.c \
+	dtsubtable.c dttable.c dttemplate.c dtutils.c
+
 .PATH: ${TOPDIR}/../common
-SRCS+=	adfile.c
-SRCS+=	adisasm.c
-SRCS+=	adwalk.c
-SRCS+=	dmrestag.c
-SRCS+=	dmtable.c
-SRCS+=	dmtbinfo.c
-SRCS+=	dmtbdump.c
+SRCS+=  adisasm.c adwalk.c dmextern.c dmrestag.c dmtable.c \
+	dmtbdump.c dmtbinfo.c getopt.c
+
 .PATH: ${TOPDIR}/../debugger
-SRCS+=	dbfileio.c
+SRCS+=  dbfileio.c
+
 .PATH: ${TOPDIR}/../disassembler
-SRCS+=	dmbuffer.c
-SRCS+=	dmnames.c
-SRCS+=	dmopcode.c
-SRCS+=	dmobject.c
-SRCS+=	dmresrc.c
-SRCS+=	dmresrcl.c
-SRCS+=	dmresrcs.c
-SRCS+=	dmutils.c
-SRCS+=	dmwalk.c
+SRCS+=  dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c\
+	dmresrcl.c dmresrcs.c dmutils.c dmwalk.c
+
+.PATH: ${TOPDIR}/../dispatcher
+SRCS+=  dsargs.c dscontrol.c dsfield.c dsobject.c dsopcode.c\
+	dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
+	dswstate.c
+
+.PATH: ${TOPDIR}/../executer
+SRCS+=  exconvrt.c excreate.c exdump.c exmisc.c exmutex.c   \
+	exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c   \
+	exprep.c exregion.c exresnte.c exresolv.c exresop.c \
+	exstore.c exstoren.c exstorob.c exsystem.c exutils.c
+
+.PATH: ${TOPDIR}/../parser
+SRCS+=  psargs.c psloop.c psop

CVS commit: src/external/bsd/acpica/bin/iasl

2011-02-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Feb 17 17:07:55 UTC 2011

Modified Files:
src/external/bsd/acpica/bin/iasl: iasl.8

Log Message:
Add .An -nosplit to AUTHORS to avoid a new line for Jukka.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/acpica/bin/iasl/iasl.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/iasl.8
diff -u src/external/bsd/acpica/bin/iasl/iasl.8:1.1 src/external/bsd/acpica/bin/iasl/iasl.8:1.2
--- src/external/bsd/acpica/bin/iasl/iasl.8:1.1	Thu Feb 17 07:48:16 2011
+++ src/external/bsd/acpica/bin/iasl/iasl.8	Thu Feb 17 17:07:55 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: iasl.8,v 1.1 2011/02/17 07:48:16 jruoho Exp $
+.\" $NetBSD: iasl.8,v 1.2 2011/02/17 17:07:55 wiz Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -195,6 +195,7 @@
 It first appeared in
 .Nx 6.0 .
 .Sh AUTHORS
+.An -nosplit
 Among Intel engineers,
 .An Robert Moore Aq robert.mo...@intel.com
 was the chief architect behind