@@ -30,6 +30,65 @@ SRCS= autoload.c \
30
30
gfx_fb.c \
31
31
8x16.c
32
32
33
+ # ACPICA Loader Initialization
34
+ SRCS+ = acpi_detect.c
35
+
36
+ .if ${MACHINE_ARCH} == "amd64"
37
+ SRCS+ = OsdMemory.c osunixxf.c
38
+
39
+ .PATH : ${.CURDIR}/../acpica/amd64/Osd/
40
+ .PATH : ${.CURDIR}/../contrib/dev/acpica/os_specific/service_layers
41
+
42
+ CFLAGS+ = -DACPI_SINGLE_THREADED \
43
+ -DACPI_USE_NATIVE_RSDP_POINTER \
44
+ -DACPI_USE_NATIVE_MEMORY_MAPPING \
45
+ -DACPI_REDUCED_HARDWARE \
46
+ -DACPI_EXCLUDE \
47
+ -DACPI_DEBUG_OUTPUT
48
+
49
+ SRCS+ = libefi.c utinit.c utglobal.c utresrc.c utlock.c utownerid.c \
50
+ utcopy.c uthex.c utmath.c utstrsuppt.c utstrtoul64.c utpredef.c \
51
+ uterror.c uteval.c utids.c utbuffer.c utmisc.c utalloc.c utxferror.c \
52
+ utexcep.c utaddress.c utascii.c utcache.c utcksum.c utdebug.c \
53
+ utdecode.c utdelete.c utmutex.c utobject.c utosi.c utstring.c \
54
+ utxfinit.c utnonansi.c utstate.c tbxfload.c tbdata.c tbfadt.c \
55
+ tbinstal.c tbprint.c tbutils.c tbxface.c tbxfroot.c tbfind.c \
56
+ nsxfobj.c nsxfeval.c nsinit.c nsparse.c nsload.c nsrepair2.c \
57
+ nsconvert.c nsrepair.c nsprepkg.c nsarguments.c nseval.c nsxfname.c \
58
+ nsdump.c nswalk.c nssearch.c nsnames.c nsutils.c nsaccess.c nsalloc.c \
59
+ nsobject.c nspredef.c dsinit.c dsfield.c dspkginit.c dsopcode.c \
60
+ dsdebug.c dsmethod.c dscontrol.c dsobject.c dsutils.c dswexec.c \
61
+ dswload2.c dswload.c dsmthdat.c dswstate.c dsargs.c dswscope.c \
62
+ exregion.c exfldio.c exserial.c exstorob.c exstoren.c exdebug.c \
63
+ exmutex.c exconcat.c exmisc.c exconfig.c excreate.c exoparg6.c \
64
+ exoparg3.c exoparg2.c exoparg1.c exdump.c exprep.c exresop.c \
65
+ exsystem.c exnames.c exresolv.c exstore.c exfield.c exconvrt.c \
66
+ exresnte.c exutils.c extrace.c hwpci.c hwregs.c hwxface.c hwvalid.c \
67
+ hwacpi.c evmisc.c evregion.c evrgnini.c evxface.c evevent.c evxfevnt.c \
68
+ evhandler.c evxfregn.c psobject.c psloop.c pstree.c pswalk.c psopinfo.c \
69
+ psscope.c psutils.c psargs.c psparse.c psxface.c psopcode.c init_acpi.c
70
+
71
+ # lua
72
+ .PATH : ${.CURDIR}/../../liblua/acpi
73
+ SRCS+ = lacpi.c
74
+ CFLAGS+ = -I${.CURDIR}/../../liblua/acpi
75
+ .endif
76
+
77
+ .PATH : ${.CURDIR}/../libefi
78
+ .PATH : ${.CURDIR}/../acpica
79
+ .PATH : ${.CURDIR}/../contrib/dev/acpica/components/utilities
80
+ .PATH : ${.CURDIR}/../contrib/dev/acpica/components/hardware
81
+ .PATH : ${.CURDIR}/../contrib/dev/acpica/components/events
82
+ .PATH : ${SYSDIR}/contrib/dev/acpica/os_specific/service_layers
83
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/tables
84
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/namespace
85
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/utilities
86
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/dispatcher
87
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/executer
88
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/hardware
89
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/events
90
+ .PATH : ${SYSDIR}/contrib/dev/acpica/components/parser
91
+
33
92
CFLAGS+ = -I${.CURDIR}/../loader
34
93
.if ${MK_LOADER_ZFS} != "no"
35
94
CFLAGS+ = -I${ZFSSRC}
0 commit comments