head	1.2;
access;
symbols
	RELENG_8_3_0_RELEASE:1.1.2.2
	RELENG_8_3:1.1.2.2.0.4
	RELENG_8_3_BP:1.1.2.2
	RELENG_8_2_0_RELEASE:1.1.2.2
	RELENG_8_2:1.1.2.2.0.2
	RELENG_8_2_BP:1.1.2.2
	RELENG_8_1_0_RELEASE:1.1.2.1.4.1
	RELENG_8_1:1.1.2.1.0.4
	RELENG_8_1_BP:1.1.2.1
	RELENG_8_0_0_RELEASE:1.1.2.1.2.1
	RELENG_8_0:1.1.2.1.0.2
	RELENG_8_0_BP:1.1.2.1
	RELENG_8:1.1.0.2
	RELENG_8_BP:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.07.12.21.08.35;	author jkim;	state dead;
branches;
next	1.1;

1.1
date	2009.03.17.00.48.11;	author jkim;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.1.2.1.2.1
	1.1.2.1.4.1;
next	1.1.2.2;

1.1.2.2
date	2010.07.20.20.15.32;	author jkim;	state dead;
branches;
next	;

1.1.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 209957 on 2010-07-12 21:08:35Z by jkim

Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into
better places and remove intermediate makefile and shell scripts.  This
makes parallel kernel build little bit safer for amd64.
@
text
@# $FreeBSD: src/sys/amd64/acpica/Makefile,v 1.1 2009/03/17 00:48:11 jkim Exp $

# Correct path for kernel builds
# Don't rely on the kernel's .depend file
.ifdef MAKESRCPATH
.PATH: ${MAKESRCPATH}
DEPENDFILE=
.else
MAKESRCPATH= ${.CURDIR}
CLEANFILES= acpi_wakecode.h acpi_wakedata.h acpi_wakecode.bin acpi_wakecode.o
.endif
.if ${CC} == "icc"
CFLAGS+=	-restrict
NOSTDINC=	-X
.else
NOSTDINC=	-nostdinc
.endif
CFLAGS+=	${NOSTDINC} -include opt_global.h -I. -I${MAKESRCPATH}/../..

all: acpi_wakecode.h acpi_wakedata.h

acpi_wakecode.o: acpi_wakecode.S assym.s

acpi_wakecode.bin: acpi_wakecode.o
	objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin

acpi_wakecode.h: acpi_wakecode.bin
	sh ${MAKESRCPATH}/genwakecode.sh > acpi_wakecode.h

acpi_wakedata.h: acpi_wakecode.bin
	sh ${MAKESRCPATH}/genwakedata.sh > acpi_wakedata.h

.include <bsd.prog.mk>
@


1.1
log
@SVN rev 189903 on 2009-03-17 00:48:11Z by jkim

Initial suspend/resume support for amd64.

This code is heavily inspired by Takanori Watanabe's experimental SMP patch
for i386 and large portion was shamelessly cut and pasted from Peter Wemm's
AP boot code.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.1.2.2
log
@SVN rev 210315 on 2010-07-20 20:15:32Z by jkim

MFC:	r209957, r210003, r210005

- Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into
better places and remove intermediate makefile and shell scripts.  This
makes parallel kernel build little bit safer for amd64.
- Make SMP code path in acpi.c conditional at run-time.
- Define SMP unconditionally for amd64 and remove opt_global.h from SRCS in
sys/modules/acpi/acpi/Makefile.  Note it is done just for correctness sake
because we do not build, ship, or support acpi.ko on amd64.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/amd64/acpica/Makefile,v 1.1.2.1 2009/08/03 08:13:06 kensmith Exp $
@


1.1.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.1.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


