]> Zhao Yanbai Git Server - minix.git/commit
ACPI driver
authorTomas Hruby <tom@minix3.org>
Thu, 2 Sep 2010 15:44:04 +0000 (15:44 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 2 Sep 2010 15:44:04 +0000 (15:44 +0000)
commit9560b6dea8e48f24ba04ad190edaae62354c1c11
tree98cf4573a42f96ea1b21a38bd31ca4ad0bc30e8d
parent43a472542363b6db1726c36a1b25ad0593f024a2
ACPI driver

- 99% of the code is Intel's ACPICA. The license is compliant with BSD
  and GNU and virtually all systems that use ACPI use this code, For
  instance it is part of the Linux kernel.

- The only minix specific files are

  acpi.c
  osminixxf.c
  platform/acminix.h

  and

  include/minix/acpi.h

- At the moment the driver does not register interrupt hooks which I
  believe is mainly for handling PnP, events like "battery level is
  low" and power management. Should not be difficult to add it if need
  be.

- The interface to the outside world is virtually non-existent except
  a trivial message based service for PCI driver to query which device
  is connected to what IRQ line. This will evolve as more components
  start using this driver. VM, Scheduler and IOMMU are the possible
  users right now.

- because of dependency on a native 64bit (long long, part of c99) it
  is compiled only with a gnu-like compilers which in case of Minix
  includes gcc llvm-gcc and clang
172 files changed:
drivers/Makefile
drivers/acpi/Makefile [new file with mode: 0644]
drivers/acpi/acpi.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsfield.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsinit.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsmethod.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsmthdat.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsobject.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsopcode.c [new file with mode: 0644]
drivers/acpi/dispatcher/dsutils.c [new file with mode: 0644]
drivers/acpi/dispatcher/dswexec.c [new file with mode: 0644]
drivers/acpi/dispatcher/dswload.c [new file with mode: 0644]
drivers/acpi/dispatcher/dswscope.c [new file with mode: 0644]
drivers/acpi/dispatcher/dswstate.c [new file with mode: 0644]
drivers/acpi/events/evevent.c [new file with mode: 0644]
drivers/acpi/events/evgpe.c [new file with mode: 0644]
drivers/acpi/events/evgpeblk.c [new file with mode: 0644]
drivers/acpi/events/evgpeinit.c [new file with mode: 0644]
drivers/acpi/events/evgpeutil.c [new file with mode: 0644]
drivers/acpi/events/evmisc.c [new file with mode: 0644]
drivers/acpi/events/evregion.c [new file with mode: 0644]
drivers/acpi/events/evrgnini.c [new file with mode: 0644]
drivers/acpi/events/evsci.c [new file with mode: 0644]
drivers/acpi/events/evxface.c [new file with mode: 0644]
drivers/acpi/events/evxfevnt.c [new file with mode: 0644]
drivers/acpi/events/evxfregn.c [new file with mode: 0644]
drivers/acpi/executer/exconfig.c [new file with mode: 0644]
drivers/acpi/executer/exconvrt.c [new file with mode: 0644]
drivers/acpi/executer/excreate.c [new file with mode: 0644]
drivers/acpi/executer/exdebug.c [new file with mode: 0644]
drivers/acpi/executer/exdump.c [new file with mode: 0644]
drivers/acpi/executer/exfield.c [new file with mode: 0644]
drivers/acpi/executer/exfldio.c [new file with mode: 0644]
drivers/acpi/executer/exmisc.c [new file with mode: 0644]
drivers/acpi/executer/exmutex.c [new file with mode: 0644]
drivers/acpi/executer/exnames.c [new file with mode: 0644]
drivers/acpi/executer/exoparg1.c [new file with mode: 0644]
drivers/acpi/executer/exoparg2.c [new file with mode: 0644]
drivers/acpi/executer/exoparg3.c [new file with mode: 0644]
drivers/acpi/executer/exoparg6.c [new file with mode: 0644]
drivers/acpi/executer/exprep.c [new file with mode: 0644]
drivers/acpi/executer/exregion.c [new file with mode: 0644]
drivers/acpi/executer/exresnte.c [new file with mode: 0644]
drivers/acpi/executer/exresolv.c [new file with mode: 0644]
drivers/acpi/executer/exresop.c [new file with mode: 0644]
drivers/acpi/executer/exstore.c [new file with mode: 0644]
drivers/acpi/executer/exstoren.c [new file with mode: 0644]
drivers/acpi/executer/exstorob.c [new file with mode: 0644]
drivers/acpi/executer/exsystem.c [new file with mode: 0644]
drivers/acpi/executer/exutils.c [new file with mode: 0644]
drivers/acpi/hardware/hwacpi.c [new file with mode: 0644]
drivers/acpi/hardware/hwgpe.c [new file with mode: 0644]
drivers/acpi/hardware/hwregs.c [new file with mode: 0644]
drivers/acpi/hardware/hwsleep.c [new file with mode: 0644]
drivers/acpi/hardware/hwtimer.c [new file with mode: 0644]
drivers/acpi/hardware/hwvalid.c [new file with mode: 0644]
drivers/acpi/hardware/hwxface.c [new file with mode: 0644]
drivers/acpi/include/acapps.h [new file with mode: 0644]
drivers/acpi/include/accommon.h [new file with mode: 0644]
drivers/acpi/include/acconfig.h [new file with mode: 0644]
drivers/acpi/include/acdebug.h [new file with mode: 0644]
drivers/acpi/include/acdisasm.h [new file with mode: 0644]
drivers/acpi/include/acdispat.h [new file with mode: 0644]
drivers/acpi/include/acevents.h [new file with mode: 0644]
drivers/acpi/include/acexcep.h [new file with mode: 0644]
drivers/acpi/include/acglobal.h [new file with mode: 0644]
drivers/acpi/include/achware.h [new file with mode: 0644]
drivers/acpi/include/acinterp.h [new file with mode: 0644]
drivers/acpi/include/aclocal.h [new file with mode: 0644]
drivers/acpi/include/acmacros.h [new file with mode: 0644]
drivers/acpi/include/acnames.h [new file with mode: 0644]
drivers/acpi/include/acnamesp.h [new file with mode: 0644]
drivers/acpi/include/acobject.h [new file with mode: 0644]
drivers/acpi/include/acopcode.h [new file with mode: 0644]
drivers/acpi/include/acoutput.h [new file with mode: 0644]
drivers/acpi/include/acparser.h [new file with mode: 0644]
drivers/acpi/include/acpi.h [new file with mode: 0644]
drivers/acpi/include/acpiosxf.h [new file with mode: 0644]
drivers/acpi/include/acpixf.h [new file with mode: 0644]
drivers/acpi/include/acpredef.h [new file with mode: 0644]
drivers/acpi/include/acresrc.h [new file with mode: 0644]
drivers/acpi/include/acrestyp.h [new file with mode: 0644]
drivers/acpi/include/acstruct.h [new file with mode: 0644]
drivers/acpi/include/actables.h [new file with mode: 0644]
drivers/acpi/include/actbl.h [new file with mode: 0644]
drivers/acpi/include/actbl1.h [new file with mode: 0644]
drivers/acpi/include/actbl2.h [new file with mode: 0644]
drivers/acpi/include/actypes.h [new file with mode: 0644]
drivers/acpi/include/acutils.h [new file with mode: 0644]
drivers/acpi/include/amlcode.h [new file with mode: 0644]
drivers/acpi/include/amlresrc.h [new file with mode: 0644]
drivers/acpi/include/platform/accygwin.h [new file with mode: 0644]
drivers/acpi/include/platform/acefi.h [new file with mode: 0644]
drivers/acpi/include/platform/acenv.h [new file with mode: 0644]
drivers/acpi/include/platform/acfreebsd.h [new file with mode: 0644]
drivers/acpi/include/platform/acgcc.h [new file with mode: 0644]
drivers/acpi/include/platform/acintel.h [new file with mode: 0644]
drivers/acpi/include/platform/aclinux.h [new file with mode: 0644]
drivers/acpi/include/platform/acminix.h [new file with mode: 0644]
drivers/acpi/include/platform/acmsvc.h [new file with mode: 0644]
drivers/acpi/include/platform/acnetbsd.h [new file with mode: 0644]
drivers/acpi/include/platform/acos2.h [new file with mode: 0644]
drivers/acpi/include/platform/acwin.h [new file with mode: 0644]
drivers/acpi/include/platform/acwin64.h [new file with mode: 0644]
drivers/acpi/namespace/nsaccess.c [new file with mode: 0644]
drivers/acpi/namespace/nsalloc.c [new file with mode: 0644]
drivers/acpi/namespace/nsdump.c [new file with mode: 0644]
drivers/acpi/namespace/nsdumpdv.c [new file with mode: 0644]
drivers/acpi/namespace/nseval.c [new file with mode: 0644]
drivers/acpi/namespace/nsinit.c [new file with mode: 0644]
drivers/acpi/namespace/nsload.c [new file with mode: 0644]
drivers/acpi/namespace/nsnames.c [new file with mode: 0644]
drivers/acpi/namespace/nsobject.c [new file with mode: 0644]
drivers/acpi/namespace/nsparse.c [new file with mode: 0644]
drivers/acpi/namespace/nspredef.c [new file with mode: 0644]
drivers/acpi/namespace/nsrepair.c [new file with mode: 0644]
drivers/acpi/namespace/nsrepair2.c [new file with mode: 0644]
drivers/acpi/namespace/nssearch.c [new file with mode: 0644]
drivers/acpi/namespace/nsutils.c [new file with mode: 0644]
drivers/acpi/namespace/nswalk.c [new file with mode: 0644]
drivers/acpi/namespace/nsxfeval.c [new file with mode: 0644]
drivers/acpi/namespace/nsxfname.c [new file with mode: 0644]
drivers/acpi/namespace/nsxfobj.c [new file with mode: 0644]
drivers/acpi/osminixxf.c [new file with mode: 0644]
drivers/acpi/parser/psargs.c [new file with mode: 0644]
drivers/acpi/parser/psloop.c [new file with mode: 0644]
drivers/acpi/parser/psopcode.c [new file with mode: 0644]
drivers/acpi/parser/psparse.c [new file with mode: 0644]
drivers/acpi/parser/psscope.c [new file with mode: 0644]
drivers/acpi/parser/pstree.c [new file with mode: 0644]
drivers/acpi/parser/psutils.c [new file with mode: 0644]
drivers/acpi/parser/pswalk.c [new file with mode: 0644]
drivers/acpi/parser/psxface.c [new file with mode: 0644]
drivers/acpi/resources/rsaddr.c [new file with mode: 0644]
drivers/acpi/resources/rscalc.c [new file with mode: 0644]
drivers/acpi/resources/rscreate.c [new file with mode: 0644]
drivers/acpi/resources/rsdump.c [new file with mode: 0644]
drivers/acpi/resources/rsinfo.c [new file with mode: 0644]
drivers/acpi/resources/rsio.c [new file with mode: 0644]
drivers/acpi/resources/rsirq.c [new file with mode: 0644]
drivers/acpi/resources/rslist.c [new file with mode: 0644]
drivers/acpi/resources/rsmemory.c [new file with mode: 0644]
drivers/acpi/resources/rsmisc.c [new file with mode: 0644]
drivers/acpi/resources/rsutils.c [new file with mode: 0644]
drivers/acpi/resources/rsxface.c [new file with mode: 0644]
drivers/acpi/tables/tbfadt.c [new file with mode: 0644]
drivers/acpi/tables/tbfind.c [new file with mode: 0644]
drivers/acpi/tables/tbinstal.c [new file with mode: 0644]
drivers/acpi/tables/tbutils.c [new file with mode: 0644]
drivers/acpi/tables/tbxface.c [new file with mode: 0644]
drivers/acpi/tables/tbxfroot.c [new file with mode: 0644]
drivers/acpi/utilities/utalloc.c [new file with mode: 0644]
drivers/acpi/utilities/utcache.c [new file with mode: 0644]
drivers/acpi/utilities/utclib.c [new file with mode: 0644]
drivers/acpi/utilities/utcopy.c [new file with mode: 0644]
drivers/acpi/utilities/utdebug.c [new file with mode: 0644]
drivers/acpi/utilities/utdelete.c [new file with mode: 0644]
drivers/acpi/utilities/uteval.c [new file with mode: 0644]
drivers/acpi/utilities/utglobal.c [new file with mode: 0644]
drivers/acpi/utilities/utids.c [new file with mode: 0644]
drivers/acpi/utilities/utinit.c [new file with mode: 0644]
drivers/acpi/utilities/utlock.c [new file with mode: 0644]
drivers/acpi/utilities/utmath.c [new file with mode: 0644]
drivers/acpi/utilities/utmisc.c [new file with mode: 0644]
drivers/acpi/utilities/utmutex.c [new file with mode: 0644]
drivers/acpi/utilities/utobject.c [new file with mode: 0644]
drivers/acpi/utilities/utresrc.c [new file with mode: 0644]
drivers/acpi/utilities/utstate.c [new file with mode: 0644]
drivers/acpi/utilities/uttrack.c [new file with mode: 0644]
drivers/acpi/utilities/utxface.c [new file with mode: 0644]
include/Makefile
include/minix/acpi.h [new file with mode: 0644]