Date: Thu, 22 Mar 2007 23:58:44 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 116384 for review Message-ID: <200703222358.l2MNwiXb066698@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116384 Change 116384 by marcel@marcel_jnpr on 2007/03/22 23:57:56 IFC @116381 Affected files ... .. //depot/projects/uart/amd64/acpica/OsdEnvironment.c#6 integrate .. //depot/projects/uart/amd64/acpica/madt.c#8 integrate .. //depot/projects/uart/amd64/conf/NOTES#14 integrate .. //depot/projects/uart/amd64/include/acpica_machdep.h#4 integrate .. //depot/projects/uart/boot/i386/libi386/biosacpi.c#8 integrate .. //depot/projects/uart/boot/ia64/ski/acpi_stub.c#4 integrate .. //depot/projects/uart/conf/NOTES#47 integrate .. //depot/projects/uart/conf/files#79 integrate .. //depot/projects/uart/conf/options#44 integrate .. //depot/projects/uart/contrib/dev/acpica/CHANGES.txt#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acapps.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acconfig.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acdebug.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acdisasm.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/acdispat.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acefi.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acenv.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/acevents.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acexcep.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acfreebsd.h#8 integrate .. //depot/projects/uart/contrib/dev/acpica/acgcc.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acglobal.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/achware.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acinterp.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/aclocal.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acmacros.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acnames.h#2 integrate .. //depot/projects/uart/contrib/dev/acpica/acnamesp.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/acobject.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acopcode.h#2 integrate .. //depot/projects/uart/contrib/dev/acpica/acoutput.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/acparser.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acpi.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/acpica_prep.sh#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acpiosxf.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acpixf.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acresrc.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/acstruct.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/actables.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/actbl.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/actbl1.h#4 integrate .. //depot/projects/uart/contrib/dev/acpica/actbl2.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/actypes.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/acutils.h#6 integrate .. //depot/projects/uart/contrib/dev/acpica/aecommon.h#2 integrate .. //depot/projects/uart/contrib/dev/acpica/aeexec.c#2 delete .. //depot/projects/uart/contrib/dev/acpica/amlcode.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/amlresrc.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/common/adfile.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/adisasm.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/common/adwalk.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/dmrestag.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/dmtable.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/dmtbdump.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/dmtbinfo.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/common/getopt.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslanalyze.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslcodegen.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslcompile.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslcompiler.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslcompiler.l#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslcompiler.y#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asldefine.h#2 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslerror.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslfiles.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslfold.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslglobal.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asllength.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asllisting.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslload.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asllookup.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslmain.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslmap.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslopcodes.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asloperands.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslopt.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslresource.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslrestype1.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslrestype2.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslstubs.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asltransform.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asltree.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/asltypes.h#5 integrate .. //depot/projects/uart/contrib/dev/acpica/compiler/aslutils.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dbcmds.c#7 integrate .. //depot/projects/uart/contrib/dev/acpica/dbdisply.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dbexec.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dbfileio.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dbhistry.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dbinput.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dbstats.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dbutils.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dbxface.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmbuffer.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dmnames.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmobject.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmopcode.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dmresrc.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dmresrcl.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmresrcs.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmutils.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dmwalk.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dsfield.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dsinit.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dsmethod.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dsmthdat.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dsobject.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dsopcode.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dsutils.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dswexec.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/dswload.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/dswscope.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/dswstate.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/evevent.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/evgpe.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evgpeblk.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evmisc.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evregion.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evrgnini.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evsci.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/evxface.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/evxfevnt.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/evxfregn.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exconfig.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exconvrt.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/excreate.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exdump.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exfield.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exfldio.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exmisc.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exmutex.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exnames.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exoparg1.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exoparg2.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exoparg3.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exoparg6.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exprep.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exregion.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exresnte.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exresolv.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exresop.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/exstore.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exstoren.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exstorob.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/exsystem.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/exutils.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/hwacpi.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/hwgpe.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/hwregs.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/hwsleep.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/hwtimer.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsaccess.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsalloc.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsdump.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/nsdumpdv.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nseval.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/nsinit.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsload.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsnames.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsobject.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/nsparse.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/nssearch.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsutils.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nswalk.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/nsxfeval.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/nsxfname.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/nsxfobj.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/osunixxf.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/psargs.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/psloop.c#2 integrate .. //depot/projects/uart/contrib/dev/acpica/psopcode.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/psparse.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/psscope.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/pstree.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/psutils.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/pswalk.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/psxface.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/rsaddr.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/rscalc.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/rscreate.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/rsdump.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/rsinfo.c#2 integrate .. //depot/projects/uart/contrib/dev/acpica/rsio.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/rsirq.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/rslist.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/rsmemory.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/rsmisc.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/rsutils.c#4 integrate .. //depot/projects/uart/contrib/dev/acpica/rsxface.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/tbconvrt.c#6 delete .. //depot/projects/uart/contrib/dev/acpica/tbfadt.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/tbfind.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/tbget.c#6 delete .. //depot/projects/uart/contrib/dev/acpica/tbgetall.c#5 delete .. //depot/projects/uart/contrib/dev/acpica/tbinstal.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/tbrsdt.c#5 delete .. //depot/projects/uart/contrib/dev/acpica/tbutils.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/tbxface.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/tbxfroot.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utalloc.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utcache.c#2 integrate .. //depot/projects/uart/contrib/dev/acpica/utclib.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utcopy.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/utdebug.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utdelete.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/uteval.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/utglobal.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/utinit.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utmath.c#5 integrate .. //depot/projects/uart/contrib/dev/acpica/utmisc.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/utmutex.c#2 integrate .. //depot/projects/uart/contrib/dev/acpica/utobject.c#6 integrate .. //depot/projects/uart/contrib/dev/acpica/utresrc.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/utstate.c#2 integrate .. //depot/projects/uart/contrib/dev/acpica/uttrack.c#1 branch .. //depot/projects/uart/contrib/dev/acpica/utxface.c#5 integrate .. //depot/projects/uart/dev/acpi_support/acpi_asus.c#9 integrate .. //depot/projects/uart/dev/acpi_support/acpi_fujitsu.c#5 integrate .. //depot/projects/uart/dev/acpi_support/acpi_ibm.c#7 integrate .. //depot/projects/uart/dev/acpica/Osd/OsdDebug.c#6 integrate .. //depot/projects/uart/dev/acpica/Osd/OsdMemory.c#7 integrate .. //depot/projects/uart/dev/acpica/Osd/OsdSchedule.c#13 integrate .. //depot/projects/uart/dev/acpica/Osd/OsdSynch.c#8 integrate .. //depot/projects/uart/dev/acpica/Osd/OsdTable.c#5 integrate .. //depot/projects/uart/dev/acpica/acpi.c#27 integrate .. //depot/projects/uart/dev/acpica/acpi_acad.c#11 integrate .. //depot/projects/uart/dev/acpica/acpi_button.c#8 integrate .. //depot/projects/uart/dev/acpica/acpi_cmbat.c#12 integrate .. //depot/projects/uart/dev/acpica/acpi_cpu.c#10 integrate .. //depot/projects/uart/dev/acpica/acpi_dock.c#4 integrate .. //depot/projects/uart/dev/acpica/acpi_ec.c#17 integrate .. //depot/projects/uart/dev/acpica/acpi_lid.c#6 integrate .. //depot/projects/uart/dev/acpica/acpi_pci_link.c#13 integrate .. //depot/projects/uart/dev/acpica/acpi_perf.c#6 integrate .. //depot/projects/uart/dev/acpica/acpi_quirk.c#4 integrate .. //depot/projects/uart/dev/acpica/acpi_resource.c#12 integrate .. //depot/projects/uart/dev/acpica/acpi_throttle.c#6 integrate .. //depot/projects/uart/dev/acpica/acpi_timer.c#9 integrate .. //depot/projects/uart/dev/acpica/acpivar.h#15 integrate .. //depot/projects/uart/dev/isp/isp.c#19 integrate .. //depot/projects/uart/dev/isp/isp_library.c#9 integrate .. //depot/projects/uart/dev/isp/isp_library.h#6 integrate .. //depot/projects/uart/dev/isp/isp_pci.c#20 integrate .. //depot/projects/uart/dev/isp/ispvar.h#17 integrate .. //depot/projects/uart/dev/iwi/if_iwi.c#14 integrate .. //depot/projects/uart/dev/scc/scc_bfe.h#21 integrate .. //depot/projects/uart/dev/scc/scc_bfe_ebus.c#10 integrate .. //depot/projects/uart/dev/scc/scc_bfe_macio.c#3 integrate .. //depot/projects/uart/dev/scc/scc_bfe_sbus.c#10 integrate .. //depot/projects/uart/dev/scc/scc_core.c#27 integrate .. //depot/projects/uart/dev/sound/pci/atiixp.c#8 integrate .. //depot/projects/uart/dev/sound/pci/hda/hdac.c#4 integrate .. //depot/projects/uart/dev/sound/pci/ich.c#25 integrate .. //depot/projects/uart/dev/sound/pci/via8233.c#13 integrate .. //depot/projects/uart/dev/sound/pci/via82c686.c#11 integrate .. //depot/projects/uart/dev/sound/pcm/buffer.c#9 integrate .. //depot/projects/uart/geom/journal/g_journal.c#3 integrate .. //depot/projects/uart/i386/acpica/OsdEnvironment.c#5 integrate .. //depot/projects/uart/i386/acpica/acpi_machdep.c#10 integrate .. //depot/projects/uart/i386/acpica/madt.c#8 integrate .. //depot/projects/uart/i386/conf/NOTES#25 integrate .. //depot/projects/uart/i386/include/acpica_machdep.h#4 integrate .. //depot/projects/uart/ia64/acpica/OsdEnvironment.c#5 integrate .. //depot/projects/uart/ia64/acpica/madt.c#7 integrate .. //depot/projects/uart/ia64/include/acpica_machdep.h#4 integrate .. //depot/projects/uart/kern/kern_condvar.c#9 integrate .. //depot/projects/uart/kern/kern_exit.c#20 integrate .. //depot/projects/uart/kern/kern_kse.c#14 integrate .. //depot/projects/uart/kern/kern_lock.c#16 integrate .. //depot/projects/uart/kern/kern_mutex.c#19 integrate .. //depot/projects/uart/kern/kern_rwlock.c#9 integrate .. //depot/projects/uart/kern/kern_sig.c#34 integrate .. //depot/projects/uart/kern/kern_sx.c#11 integrate .. //depot/projects/uart/kern/kern_synch.c#21 integrate .. //depot/projects/uart/kern/subr_witness.c#20 integrate .. //depot/projects/uart/kern/uipc_socket.c#25 integrate .. //depot/projects/uart/kern/vfs_syscalls.c#31 integrate .. //depot/projects/uart/modules/Makefile#45 integrate .. //depot/projects/uart/modules/acpi/Makefile#15 integrate .. //depot/projects/uart/modules/acpi/acpi/Makefile#7 integrate .. //depot/projects/uart/modules/padlock/Makefile#3 integrate .. //depot/projects/uart/net/if_ethersubr.c#21 integrate .. //depot/projects/uart/net/rtsock.c#15 integrate .. //depot/projects/uart/netinet/if_ether.c#18 integrate .. //depot/projects/uart/netinet/tcp.h#9 integrate .. //depot/projects/uart/netinet/tcp_hostcache.c#5 integrate .. //depot/projects/uart/netinet/tcp_input.c#29 integrate .. //depot/projects/uart/netinet/tcp_output.c#13 integrate .. //depot/projects/uart/netinet/tcp_sack.c#10 integrate .. //depot/projects/uart/netinet/tcp_subr.c#26 integrate .. //depot/projects/uart/netinet/tcp_timer.c#17 integrate .. //depot/projects/uart/netinet/tcp_usrreq.c#19 integrate .. //depot/projects/uart/netinet/tcp_var.h#16 integrate .. //depot/projects/uart/netipsec/ipsec.c#15 integrate .. //depot/projects/uart/sys/_mutex.h#4 integrate .. //depot/projects/uart/sys/_rwlock.h#3 integrate .. //depot/projects/uart/sys/condvar.h#4 integrate .. //depot/projects/uart/sys/lock.h#11 integrate .. //depot/projects/uart/sys/mutex.h#16 integrate .. //depot/projects/uart/sys/proc.h#27 integrate .. //depot/projects/uart/sys/rwlock.h#7 integrate .. //depot/projects/uart/sys/sx.h#9 integrate .. //depot/projects/uart/sys/systm.h#20 integrate .. //depot/projects/uart/tools/acpi_quirks2h.awk#3 integrate .. //depot/projects/uart/vm/vm_object.c#26 integrate Differences ... ==== //depot/projects/uart/amd64/acpica/OsdEnvironment.c#6 (text+ko) ==== @@ -26,16 +26,18 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/amd64/acpica/OsdEnvironment.c,v 1.13 2005/09/11 18:39:00 obrien Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/acpica/OsdEnvironment.c,v 1.14 2007/03/22 18:16:38 jkim Exp $"); /* * 6.1 : Environmental support */ #include <sys/types.h> +#include <sys/bus.h> #include <sys/linker_set.h> #include <sys/sysctl.h> #include <contrib/dev/acpica/acpi.h> +#include <contrib/dev/acpica/actables.h> static u_long amd64_acpi_root; @@ -54,25 +56,16 @@ return(0); } -ACPI_STATUS -AcpiOsGetRootPointer(UINT32 Flags, ACPI_POINTER *RsdpPhysicalAddress) +ACPI_PHYSICAL_ADDRESS +AcpiOsGetRootPointer(void) { - ACPI_POINTER ptr; - ACPI_STATUS status; + u_long ptr; - if (amd64_acpi_root == 0) { - /* - * The loader passes the physical address at which it found the - * RSDP in a hint. We could recover this rather than searching - * manually here. - */ - status = AcpiFindRootPointer(Flags, &ptr); - if (status == AE_OK) - amd64_acpi_root = ptr.Pointer.Physical; - } else - status = AE_OK; + if (amd64_acpi_root == 0 && + (resource_long_value("acpi", 0, "rsdp", (long *)&ptr) == 0 || + AcpiFindRootPointer((ACPI_NATIVE_UINT *)&ptr) == AE_OK) && + ptr != 0) + amd64_acpi_root = ptr; - RsdpPhysicalAddress->PointerType = ACPI_PHYSICAL_POINTER; - RsdpPhysicalAddress->Pointer.Physical = amd64_acpi_root; - return (status); + return (amd64_acpi_root); } ==== //depot/projects/uart/amd64/acpica/madt.c#8 (text+ko) ==== @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/amd64/acpica/madt.c,v 1.22 2007/03/05 20:35:16 jhb Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/acpica/madt.c,v 1.23 2007/03/22 18:16:38 jkim Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -56,7 +56,7 @@ #define NIOAPICS 32 /* Max number of I/O APICs */ #define NLAPICS 32 /* Max number of local APICs */ -typedef void madt_entry_handler(APIC_HEADER *entry, void *arg); +typedef void madt_entry_handler(ACPI_SUBTABLE_HEADER *entry, void *arg); /* These two arrays are indexed by APIC IDs. */ struct ioapic_info { @@ -70,26 +70,29 @@ } lapics[NLAPICS]; static int madt_found_sci_override; -static MULTIPLE_APIC_TABLE *madt; +static ACPI_TABLE_MADT *madt; static vm_paddr_t madt_physaddr; static vm_offset_t madt_length; MALLOC_DEFINE(M_MADT, "madt_table", "ACPI MADT Table Items"); -static enum intr_polarity interrupt_polarity(UINT16 Polarity, UINT8 Source); -static enum intr_trigger interrupt_trigger(UINT16 TriggerMode, UINT8 Source); +static enum intr_polarity interrupt_polarity(UINT16 IntiFlags, UINT8 Source); +static enum intr_trigger interrupt_trigger(UINT16 IntiFlags, UINT8 Source); static int madt_find_cpu(u_int acpi_id, u_int *apic_id); static int madt_find_interrupt(int intr, void **apic, u_int *pin); static void *madt_map(vm_paddr_t pa, int offset, vm_offset_t length); static void *madt_map_table(vm_paddr_t pa, int offset, const char *sig); -static void madt_parse_apics(APIC_HEADER *entry, void *arg); -static void madt_parse_interrupt_override(MADT_INTERRUPT_OVERRIDE *intr); -static void madt_parse_ints(APIC_HEADER *entry, void *arg __unused); -static void madt_parse_local_nmi(MADT_LOCAL_APIC_NMI *nmi); -static void madt_parse_nmi(MADT_NMI_SOURCE *nmi); +static void madt_parse_apics(ACPI_SUBTABLE_HEADER *entry, void *arg); +static void madt_parse_interrupt_override( + ACPI_MADT_INTERRUPT_OVERRIDE *intr); +static void madt_parse_ints(ACPI_SUBTABLE_HEADER *entry, + void *arg __unused); +static void madt_parse_local_nmi(ACPI_MADT_LOCAL_APIC_NMI *nmi); +static void madt_parse_nmi(ACPI_MADT_NMI_SOURCE *nmi); static int madt_probe(void); static int madt_probe_cpus(void); -static void madt_probe_cpus_handler(APIC_HEADER *entry, void *arg __unused); +static void madt_probe_cpus_handler(ACPI_SUBTABLE_HEADER *entry, + void *arg __unused); static int madt_probe_table(vm_paddr_t address); static void madt_register(void *dummy); static int madt_setup_local(void); @@ -161,14 +164,14 @@ void *table; header = madt_map(pa, offset, sizeof(ACPI_TABLE_HEADER)); - if (strncmp(header->Signature, sig, 4) != 0) { + if (strncmp(header->Signature, sig, ACPI_NAME_SIZE) != 0) { madt_unmap(header, sizeof(ACPI_TABLE_HEADER)); return (NULL); } length = header->Length; madt_unmap(header, sizeof(ACPI_TABLE_HEADER)); table = madt_map(pa, offset, length); - if (ACPI_FAILURE(AcpiTbVerifyTableChecksum(table))) { + if (ACPI_FAILURE(AcpiTbChecksum(table, length))) { if (bootverbose) printf("MADT: Failed checksum for table %s\n", sig); madt_unmap(table, length); @@ -192,10 +195,10 @@ static int madt_probe(void) { - ACPI_POINTER rsdp_ptr; - RSDP_DESCRIPTOR *rsdp; - RSDT_DESCRIPTOR *rsdt; - XSDT_DESCRIPTOR *xsdt; + ACPI_PHYSICAL_ADDRESS rsdp_ptr; + ACPI_TABLE_RSDP *rsdp; + ACPI_TABLE_RSDT *rsdt; + ACPI_TABLE_XSDT *xsdt; int i, count; if (resource_disabled("acpi", 0)) @@ -206,12 +209,9 @@ * calls pmap_mapbios() to find the RSDP, we assume that we can use * pmap_mapbios() to map the RSDP. */ - if (AcpiOsGetRootPointer(ACPI_LOGICAL_ADDRESSING, &rsdp_ptr) != AE_OK) + if ((rsdp_ptr = AcpiOsGetRootPointer()) == 0) return (ENXIO); -#ifdef __i386__ - KASSERT(rsdp_ptr.Pointer.Physical < KERNLOAD, ("RSDP too high")); -#endif - rsdp = pmap_mapbios(rsdp_ptr.Pointer.Physical, sizeof(RSDP_DESCRIPTOR)); + rsdp = pmap_mapbios(rsdp_ptr, sizeof(ACPI_TABLE_RSDP)); if (rsdp == NULL) { if (bootverbose) printf("MADT: Failed to map RSDP\n"); @@ -230,38 +230,40 @@ * the version 1.0 portion of the RSDP. Version 2.0 has * an additional checksum that we verify first. */ - if (AcpiTbGenerateChecksum(rsdp, ACPI_RSDP_XCHECKSUM_LENGTH)) { + if (AcpiTbChecksum((UINT8 *)rsdp, ACPI_RSDP_XCHECKSUM_LENGTH)) { if (bootverbose) printf("MADT: RSDP failed extended checksum\n"); return (ENXIO); } - xsdt = madt_map_table(rsdp->XsdtPhysicalAddress, 1, XSDT_SIG); + xsdt = madt_map_table(rsdp->XsdtPhysicalAddress, 1, + ACPI_SIG_XSDT); if (xsdt == NULL) { if (bootverbose) printf("MADT: Failed to map XSDT\n"); return (ENXIO); } - count = (xsdt->Length - sizeof(ACPI_TABLE_HEADER)) / + count = (xsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) / sizeof(UINT64); for (i = 0; i < count; i++) if (madt_probe_table(xsdt->TableOffsetEntry[i])) break; madt_unmap_table(xsdt); } else { - rsdt = madt_map_table(rsdp->RsdtPhysicalAddress, 1, RSDT_SIG); + rsdt = madt_map_table(rsdp->RsdtPhysicalAddress, 1, + ACPI_SIG_RSDT); if (rsdt == NULL) { if (bootverbose) printf("MADT: Failed to map RSDT\n"); return (ENXIO); } - count = (rsdt->Length - sizeof(ACPI_TABLE_HEADER)) / + count = (rsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) / sizeof(UINT32); for (i = 0; i < count; i++) if (madt_probe_table(rsdt->TableOffsetEntry[i])) break; madt_unmap_table(rsdt); } - pmap_unmapbios((vm_offset_t)rsdp, sizeof(RSDP_DESCRIPTOR)); + pmap_unmapbios((vm_offset_t)rsdp, sizeof(ACPI_TABLE_RSDP)); if (madt_physaddr == 0) { if (bootverbose) printf("MADT: No MADT table found\n"); @@ -275,7 +277,7 @@ * Verify that we can map the full table and that its checksum is * correct, etc. */ - madt = madt_map_table(madt_physaddr, 0, APIC_SIG); + madt = madt_map_table(madt_physaddr, 0, ACPI_SIG_MADT); if (madt == NULL) return (ENXIO); madt_unmap_table(madt); @@ -303,7 +305,7 @@ printf("Table '%.4s' at 0x%jx\n", table->Signature, (uintmax_t)address); - if (strncmp(table->Signature, APIC_SIG, 4) != 0) { + if (strncmp(table->Signature, ACPI_SIG_MADT, ACPI_NAME_SIZE) != 0) { madt_unmap(table, sizeof(ACPI_TABLE_HEADER)); return (0); } @@ -320,7 +322,7 @@ madt_probe_cpus(void) { - madt = madt_map_table(madt_physaddr, 0, APIC_SIG); + madt = madt_map_table(madt_physaddr, 0, ACPI_SIG_MADT); KASSERT(madt != NULL, ("Unable to re-map MADT")); madt_walk_table(madt_probe_cpus_handler, NULL); madt_unmap_table(madt); @@ -336,10 +338,10 @@ { madt = pmap_mapbios(madt_physaddr, madt_length); - lapic_init(madt->LocalApicAddress); + lapic_init(madt->Address); printf("ACPI APIC Table: <%.*s %.*s>\n", - (int)sizeof(madt->OemId), madt->OemId, - (int)sizeof(madt->OemTableId), madt->OemTableId); + (int)sizeof(madt->Header.OemId), madt->Header.OemId, + (int)sizeof(madt->Header.OemTableId), madt->Header.OemTableId); /* * We ignore 64-bit local APIC override entries. Should we @@ -378,10 +380,10 @@ * force it to use level trigger and active-low polarity. */ if (!madt_found_sci_override) { - if (madt_find_interrupt(AcpiGbl_FADT->SciInt, &ioapic, &pin) - != 0) - printf("MADT: Could not find APIC for SCI IRQ %d\n", - AcpiGbl_FADT->SciInt); + if (madt_find_interrupt(AcpiGbl_FADT.SciInterrupt, &ioapic, + &pin) != 0) + printf("MADT: Could not find APIC for SCI IRQ %u\n", + AcpiGbl_FADT.SciInterrupt); else { printf( "MADT: Forcing active-low polarity and level trigger for SCI\n"); @@ -416,46 +418,46 @@ static void madt_walk_table(madt_entry_handler *handler, void *arg) { - APIC_HEADER *entry; + ACPI_SUBTABLE_HEADER *entry; u_char *p, *end; - end = (u_char *)(madt) + madt->Length; + end = (u_char *)(madt) + madt->Header.Length; for (p = (u_char *)(madt + 1); p < end; ) { - entry = (APIC_HEADER *)p; + entry = (ACPI_SUBTABLE_HEADER *)p; handler(entry, arg); p += entry->Length; } } static void -madt_probe_cpus_handler(APIC_HEADER *entry, void *arg) +madt_probe_cpus_handler(ACPI_SUBTABLE_HEADER *entry, void *arg) { - MADT_PROCESSOR_APIC *proc; + ACPI_MADT_LOCAL_APIC *proc; struct lapic_info *la; switch (entry->Type) { - case APIC_PROCESSOR: + case ACPI_MADT_TYPE_LOCAL_APIC: /* * The MADT does not include a BSP flag, so we have to * let the MP code figure out which CPU is the BSP on * its own. */ - proc = (MADT_PROCESSOR_APIC *)entry; + proc = (ACPI_MADT_LOCAL_APIC *)entry; if (bootverbose) - printf("MADT: Found CPU APIC ID %d ACPI ID %d: %s\n", - proc->LocalApicId, proc->ProcessorId, - proc->ProcessorEnabled ? "enabled" : "disabled"); - if (!proc->ProcessorEnabled) + printf("MADT: Found CPU APIC ID %u ACPI ID %u: %s\n", + proc->Id, proc->ProcessorId, + (proc->LapicFlags & ACPI_MADT_ENABLED) ? + "enabled" : "disabled"); + if (!(proc->LapicFlags & ACPI_MADT_ENABLED)) break; - if (proc->LocalApicId >= NLAPICS) - panic("%s: CPU ID %d too high", __func__, - proc->LocalApicId); - la = &lapics[proc->LocalApicId]; + if (proc->Id >= NLAPICS) + panic("%s: CPU ID %u too high", __func__, proc->Id); + la = &lapics[proc->Id]; KASSERT(la->la_enabled == 0, - ("Duplicate local APIC ID %d", proc->LocalApicId)); + ("Duplicate local APIC ID %u", proc->Id)); la->la_enabled = 1; la->la_acpi_id = proc->ProcessorId; - lapic_create(proc->LocalApicId, 0); + lapic_create(proc->Id, 0); break; } } @@ -465,26 +467,26 @@ * Add an I/O APIC from an entry in the table. */ static void -madt_parse_apics(APIC_HEADER *entry, void *arg __unused) +madt_parse_apics(ACPI_SUBTABLE_HEADER *entry, void *arg __unused) { - MADT_IO_APIC *apic; + ACPI_MADT_IO_APIC *apic; switch (entry->Type) { - case APIC_IO: - apic = (MADT_IO_APIC *)entry; + case ACPI_MADT_TYPE_IO_APIC: + apic = (ACPI_MADT_IO_APIC *)entry; if (bootverbose) - printf("MADT: Found IO APIC ID %d, Interrupt %d at %p\n", - apic->IoApicId, apic->Interrupt, + printf( + "MADT: Found IO APIC ID %u, Interrupt %u at %p\n", + apic->Id, apic->GlobalIrqBase, (void *)(uintptr_t)apic->Address); - if (apic->IoApicId >= NIOAPICS) - panic("%s: I/O APIC ID %d too high", __func__, - apic->IoApicId); - if (ioapics[apic->IoApicId].io_apic != NULL) - panic("%s: Double APIC ID %d", __func__, - apic->IoApicId); - ioapics[apic->IoApicId].io_apic = ioapic_create(apic->Address, - apic->IoApicId, apic->Interrupt); - ioapics[apic->IoApicId].io_vector = apic->Interrupt; + if (apic->Id >= NIOAPICS) + panic("%s: I/O APIC ID %u too high", __func__, + apic->Id); + if (ioapics[apic->Id].io_apic != NULL) + panic("%s: Double APIC ID %u", __func__, apic->Id); + ioapics[apic->Id].io_apic = ioapic_create(apic->Address, + apic->Id, apic->GlobalIrqBase); + ioapics[apic->Id].io_vector = apic->GlobalIrqBase; break; default: break; @@ -498,18 +500,18 @@ * SCI for which we use Active Lo, Level Triggered. */ static enum intr_polarity -interrupt_polarity(UINT16 Polarity, UINT8 Source) +interrupt_polarity(UINT16 IntiFlags, UINT8 Source) { - switch (Polarity) { - case POLARITY_CONFORMS: - if (Source == AcpiGbl_FADT->SciInt) + switch (IntiFlags & ACPI_MADT_POLARITY_MASK) { + case ACPI_MADT_POLARITY_CONFORMS: + if (Source == AcpiGbl_FADT.SciInterrupt) return (INTR_POLARITY_LOW); else return (INTR_POLARITY_HIGH); - case POLARITY_ACTIVE_HIGH: + case ACPI_MADT_POLARITY_ACTIVE_HIGH: return (INTR_POLARITY_HIGH); - case POLARITY_ACTIVE_LOW: + case ACPI_MADT_POLARITY_ACTIVE_LOW: return (INTR_POLARITY_LOW); default: panic("Bogus Interrupt Polarity"); @@ -517,18 +519,18 @@ } static enum intr_trigger -interrupt_trigger(UINT16 TriggerMode, UINT8 Source) +interrupt_trigger(UINT16 IntiFlags, UINT8 Source) { - switch (TriggerMode) { - case TRIGGER_CONFORMS: - if (Source == AcpiGbl_FADT->SciInt) + switch (IntiFlags & ACPI_MADT_TRIGGER_MASK) { + case ACPI_MADT_TRIGGER_CONFORMS: + if (Source == AcpiGbl_FADT.SciInterrupt) return (INTR_TRIGGER_LEVEL); else return (INTR_TRIGGER_EDGE); - case TRIGGER_EDGE: + case ACPI_MADT_TRIGGER_EDGE: return (INTR_TRIGGER_EDGE); - case TRIGGER_LEVEL: + case ACPI_MADT_TRIGGER_LEVEL: return (INTR_TRIGGER_LEVEL); default: panic("Bogus Interrupt Trigger Mode"); @@ -586,7 +588,7 @@ * Parse an interrupt source override for an ISA interrupt. */ static void -madt_parse_interrupt_override(MADT_INTERRUPT_OVERRIDE *intr) +madt_parse_interrupt_override(ACPI_MADT_INTERRUPT_OVERRIDE *intr) { void *new_ioapic, *old_ioapic; u_int new_pin, old_pin; @@ -594,20 +596,19 @@ enum intr_polarity pol; char buf[64]; - if (acpi_quirks & ACPI_Q_MADT_IRQ0 && intr->Source == 0 && - intr->Interrupt == 2) { + if (acpi_quirks & ACPI_Q_MADT_IRQ0 && intr->SourceIrq == 0 && + intr->GlobalIrq == 2) { if (bootverbose) printf("MADT: Skipping timer override\n"); return; } if (bootverbose) printf("MADT: Interrupt override: source %u, irq %u\n", - intr->Source, intr->Interrupt); + intr->SourceIrq, intr->GlobalIrq); KASSERT(intr->Bus == 0, ("bus for interrupt overrides must be zero")); - if (madt_find_interrupt(intr->Interrupt, &new_ioapic, - &new_pin) != 0) { - printf("MADT: Could not find APIC for vector %d (IRQ %d)\n", - intr->Interrupt, intr->Source); + if (madt_find_interrupt(intr->GlobalIrq, &new_ioapic, &new_pin) != 0) { + printf("MADT: Could not find APIC for vector %u (IRQ %u)\n", + intr->GlobalIrq, intr->SourceIrq); return; } @@ -615,15 +616,15 @@ * Lookup the appropriate trigger and polarity modes for this * entry. */ - trig = interrupt_trigger(intr->TriggerMode, intr->Source); - pol = interrupt_polarity(intr->Polarity, intr->Source); + trig = interrupt_trigger(intr->IntiFlags, intr->SourceIrq); + pol = interrupt_polarity(intr->IntiFlags, intr->SourceIrq); /* * If the SCI is identity mapped but has edge trigger and * active-hi polarity or the force_sci_lo tunable is set, * force it to use level/lo. */ - if (intr->Source == AcpiGbl_FADT->SciInt) { + if (intr->SourceIrq == AcpiGbl_FADT.SciInterrupt) { madt_found_sci_override = 1; if (getenv_string("hw.acpi.sci.trigger", buf, sizeof(buf))) { if (tolower(buf[0]) == 'e') @@ -652,23 +653,24 @@ } /* Remap the IRQ if it is mapped to a different interrupt vector. */ - if (intr->Source != intr->Interrupt) { + if (intr->SourceIrq != intr->GlobalIrq) { /* * If the SCI is remapped to a non-ISA global interrupt, * then override the vector we use to setup and allocate * the interrupt. */ - if (intr->Interrupt > 15 && - intr->Source == AcpiGbl_FADT->SciInt) - acpi_OverrideInterruptLevel(intr->Interrupt); + if (intr->GlobalIrq > 15 && + intr->SourceIrq == AcpiGbl_FADT.SciInterrupt) + acpi_OverrideInterruptLevel(intr->GlobalIrq); else - ioapic_remap_vector(new_ioapic, new_pin, intr->Source); - if (madt_find_interrupt(intr->Source, &old_ioapic, + ioapic_remap_vector(new_ioapic, new_pin, + intr->SourceIrq); + if (madt_find_interrupt(intr->SourceIrq, &old_ioapic, &old_pin) != 0) - printf("MADT: Could not find APIC for source IRQ %d\n", - intr->Source); + printf("MADT: Could not find APIC for source IRQ %u\n", + intr->SourceIrq); else if (ioapic_get_vector(old_ioapic, old_pin) == - intr->Source) + intr->SourceIrq) ioapic_disable_pin(old_ioapic, old_pin); } @@ -681,31 +683,31 @@ * Parse an entry for an NMI routed to an IO APIC. */ static void -madt_parse_nmi(MADT_NMI_SOURCE *nmi) +madt_parse_nmi(ACPI_MADT_NMI_SOURCE *nmi) { void *ioapic; u_int pin; - if (madt_find_interrupt(nmi->Interrupt, &ioapic, &pin) != 0) { - printf("MADT: Could not find APIC for vector %d\n", - nmi->Interrupt); + if (madt_find_interrupt(nmi->GlobalIrq, &ioapic, &pin) != 0) { + printf("MADT: Could not find APIC for vector %u\n", + nmi->GlobalIrq); return; } ioapic_set_nmi(ioapic, pin); - if (nmi->TriggerMode != TRIGGER_CONFORMS) + if (!(nmi->IntiFlags & ACPI_MADT_TRIGGER_CONFORMS)) ioapic_set_triggermode(ioapic, pin, - interrupt_trigger(nmi->TriggerMode, 0)); - if (nmi->Polarity != TRIGGER_CONFORMS) + interrupt_trigger(nmi->IntiFlags, 0)); + if (!(nmi->IntiFlags & ACPI_MADT_TRIGGER_CONFORMS)) ioapic_set_polarity(ioapic, pin, - interrupt_polarity(nmi->Polarity, 0)); + interrupt_polarity(nmi->IntiFlags, 0)); } /* * Parse an entry for an NMI routed to a local APIC LVT pin. */ static void -madt_parse_local_nmi(MADT_LOCAL_APIC_NMI *nmi) +madt_parse_local_nmi(ACPI_MADT_LOCAL_APIC_NMI *nmi) { u_int apic_id, pin; @@ -713,8 +715,8 @@ apic_id = APIC_ID_ALL; else if (madt_find_cpu(nmi->ProcessorId, &apic_id) != 0) { if (bootverbose) - printf("MADT: Ignoring local NMI routed to ACPI CPU %u\n", - nmi->ProcessorId); + printf("MADT: Ignoring local NMI routed to " + "ACPI CPU %u\n", nmi->ProcessorId); return; } if (nmi->Lint == 0) @@ -722,31 +724,31 @@ else pin = LVT_LINT1; lapic_set_lvt_mode(apic_id, pin, APIC_LVT_DM_NMI); - if (nmi->TriggerMode != TRIGGER_CONFORMS) + if (!(nmi->IntiFlags & ACPI_MADT_TRIGGER_CONFORMS)) lapic_set_lvt_triggermode(apic_id, pin, - interrupt_trigger(nmi->TriggerMode, 0)); - if (nmi->Polarity != POLARITY_CONFORMS) + interrupt_trigger(nmi->IntiFlags, 0)); + if (!(nmi->IntiFlags & ACPI_MADT_POLARITY_CONFORMS)) lapic_set_lvt_polarity(apic_id, pin, - interrupt_polarity(nmi->Polarity, 0)); + interrupt_polarity(nmi->IntiFlags, 0)); } /* * Parse interrupt entries. */ static void -madt_parse_ints(APIC_HEADER *entry, void *arg __unused) +madt_parse_ints(ACPI_SUBTABLE_HEADER *entry, void *arg __unused) { switch (entry->Type) { - case APIC_XRUPT_OVERRIDE: + case ACPI_MADT_TYPE_INTERRUPT_OVERRIDE: madt_parse_interrupt_override( - (MADT_INTERRUPT_OVERRIDE *)entry); + (ACPI_MADT_INTERRUPT_OVERRIDE *)entry); break; - case APIC_NMI: - madt_parse_nmi((MADT_NMI_SOURCE *)entry); + case ACPI_MADT_TYPE_NMI_SOURCE: + madt_parse_nmi((ACPI_MADT_NMI_SOURCE *)entry); break; - case APIC_LOCAL_NMI: - madt_parse_local_nmi((MADT_LOCAL_APIC_NMI *)entry); + case ACPI_MADT_TYPE_LOCAL_APIC_NMI: + madt_parse_local_nmi((ACPI_MADT_LOCAL_APIC_NMI *)entry); break; } } @@ -767,7 +769,7 @@ if (CPU_ABSENT(i)) continue; pc = pcpu_find(i); - KASSERT(pc != NULL, ("no pcpu data for CPU %d", i)); + KASSERT(pc != NULL, ("no pcpu data for CPU %u", i)); la = &lapics[pc->pc_apic_id]; if (!la->la_enabled) panic("APIC: CPU with APIC ID %u is not enabled", ==== //depot/projects/uart/amd64/conf/NOTES#14 (text+ko) ==== @@ -4,7 +4,7 @@ # This file contains machine dependent kernel configuration notes. For # machine independent notes, look in /sys/conf/NOTES. # -# $FreeBSD: src/sys/amd64/conf/NOTES,v 1.63 2006/10/23 13:23:13 ru Exp $ +# $FreeBSD: src/sys/amd64/conf/NOTES,v 1.64 2007/03/22 18:16:38 jkim Exp $ # # @@ -278,18 +278,10 @@ # defined when it is built). # # ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op. -# -# ACPICA_PEDANTIC enables strict checking of AML. Our default is to -# relax these checks to allow code generated by the Microsoft compiler -# to still execute. -# -# Note that building ACPI into the kernel is deprecated; the module is -# normally loaded automatically by the loader. device acpi options ACPI_DEBUG #!options ACPI_NO_SEMAPHORES -#!options ACPICA_PEDANTIC # The cpufreq(4) driver provides support for non-ACPI CPU frequency control device cpufreq ==== //depot/projects/uart/amd64/include/acpica_machdep.h#4 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/sys/amd64/include/acpica_machdep.h,v 1.6 2004/10/11 05:39:15 njl Exp $ + * $FreeBSD: src/sys/amd64/include/acpica_machdep.h,v 1.7 2007/03/22 18:16:39 jkim Exp $ */ /****************************************************************************** @@ -34,7 +34,7 @@ *****************************************************************************/ #ifndef __ACPICA_MACHDEP_H__ -#define __ACPICA_MACHDEP_H__ +#define __ACPICA_MACHDEP_H__ #ifdef _KERNEL /* @@ -45,33 +45,35 @@ * ACPI_INTERNAL_XFACE - Internal ACPI interfaces * ACPI_INTERNAL_VAR_XFACE - Internal variable-parameter list interfaces */ -#define ACPI_SYSTEM_XFACE -#define ACPI_EXTERNAL_XFACE -#define ACPI_INTERNAL_XFACE -#define ACPI_INTERNAL_VAR_XFACE +#define ACPI_SYSTEM_XFACE +#define ACPI_EXTERNAL_XFACE +#define ACPI_INTERNAL_XFACE +#define ACPI_INTERNAL_VAR_XFACE /* Asm macros */ -#define ACPI_ASM_MACROS -#define BREAKPOINT3 -#define ACPI_DISABLE_IRQS() disable_intr() >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703222358.l2MNwiXb066698>