Permalink
Browse files

Bring in acpica 20110211, still not ok anyway

(partially) sync with FreeBSD 8:
  * AcpiWalkNamespace post callbacks
  * wakable GPEs in acpi_probe_child()

problems:
  * system reacts slowly
  * temp reads nonsense values
  • Loading branch information...
1 parent 139b8f3 commit ea7ae20415c0af1882c4bcb40167443f4fae9d12 @randy1 committed Feb 22, 2011
Showing with 42,926 additions and 20,452 deletions.
  1. +1,493 −103 sys/contrib/dev/acpica-unix/changes.txt
  2. +0 −165 sys/contrib/dev/acpica-unix/common/16bit.h
  3. +0 −962 sys/contrib/dev/acpica-unix/common/a16find.c
  4. +0 −915 sys/contrib/dev/acpica-unix/common/a16utils.asm
  5. +16 −16 sys/contrib/dev/acpica-unix/common/adfile.c
  6. +94 −174 sys/contrib/dev/acpica-unix/common/adisasm.c
  7. +21 −29 sys/contrib/dev/acpica-unix/common/adwalk.c
  8. +743 −0 sys/contrib/dev/acpica-unix/common/dmextern.c
  9. +4 −11 sys/contrib/dev/acpica-unix/common/dmrestag.c
  10. +357 −85 sys/contrib/dev/acpica-unix/common/dmtable.c
  11. +462 −52 sys/contrib/dev/acpica-unix/common/dmtbdump.c
  12. +897 −561 sys/contrib/dev/acpica-unix/common/dmtbinfo.c
  13. +6 −9 sys/contrib/dev/acpica-unix/common/getopt.c
  14. +242 −1,944 sys/contrib/dev/acpica-unix/compiler/aslanalyze.c
  15. +597 −0 sys/contrib/dev/acpica-unix/compiler/aslbtypes.c
  16. +3 −3 sys/contrib/dev/acpica-unix/compiler/aslcodegen.c
  17. +73 −86 sys/contrib/dev/acpica-unix/compiler/aslcompile.c
  18. +240 −46 sys/contrib/dev/acpica-unix/compiler/aslcompiler.h
  19. +8 −4 sys/contrib/dev/acpica-unix/compiler/aslcompiler.l
  20. +15 −5 sys/contrib/dev/acpica-unix/compiler/aslcompiler.y
  21. +15 −9 sys/contrib/dev/acpica-unix/compiler/asldefine.h
  22. +64 −31 sys/contrib/dev/acpica-unix/compiler/aslerror.c
  23. +261 −116 sys/contrib/dev/acpica-unix/compiler/aslfiles.c
  24. +1 −1 sys/contrib/dev/acpica-unix/compiler/aslfold.c
  25. +23 −8 sys/contrib/dev/acpica-unix/compiler/aslglobal.h
  26. +1 −1 sys/contrib/dev/acpica-unix/compiler/asllength.c
  27. +184 −69 sys/contrib/dev/acpica-unix/compiler/asllisting.c
  28. +13 −11 sys/contrib/dev/acpica-unix/compiler/aslload.c
  29. +10 −13 sys/contrib/dev/acpica-unix/compiler/asllookup.c
  30. +310 −54 sys/contrib/dev/acpica-unix/compiler/aslmain.c
  31. +2 −286 sys/contrib/dev/acpica-unix/compiler/aslmap.c
  32. +451 −0 sys/contrib/dev/acpica-unix/compiler/aslmessages.h
  33. +10 −46 sys/contrib/dev/acpica-unix/compiler/aslopcodes.c
  34. +20 −10 sys/contrib/dev/acpica-unix/compiler/asloperands.c
  35. +2 −2 sys/contrib/dev/acpica-unix/compiler/aslopt.c
  36. +889 −0 sys/contrib/dev/acpica-unix/compiler/aslpredef.c
  37. +353 −3 sys/contrib/dev/acpica-unix/compiler/aslresource.c
  38. +47 −515 sys/contrib/dev/acpica-unix/compiler/aslrestype1.c
  39. +668 −0 sys/contrib/dev/acpica-unix/compiler/aslrestype1i.c
  40. +40 −2,360 sys/contrib/dev/acpica-unix/compiler/aslrestype2.c
  41. +814 −0 sys/contrib/dev/acpica-unix/compiler/aslrestype2d.c
  42. +645 −0 sys/contrib/dev/acpica-unix/compiler/aslrestype2e.c
  43. +793 −0 sys/contrib/dev/acpica-unix/compiler/aslrestype2q.c
  44. +774 −0 sys/contrib/dev/acpica-unix/compiler/aslrestype2w.c
  45. +178 −39 sys/contrib/dev/acpica-unix/compiler/aslstartup.c
  46. +14 −6 sys/contrib/dev/acpica-unix/compiler/aslstubs.c
  47. +43 −22 sys/contrib/dev/acpica-unix/compiler/asltransform.c
  48. +78 −8 sys/contrib/dev/acpica-unix/compiler/asltree.c
  49. +15 −281 sys/contrib/dev/acpica-unix/compiler/asltypes.h
  50. +108 −36 sys/contrib/dev/acpica-unix/compiler/aslutils.c
  51. +288 −0 sys/contrib/dev/acpica-unix/compiler/asluuid.c
  52. +2,440 −0 sys/contrib/dev/acpica-unix/compiler/aslwalks.c
  53. +658 −0 sys/contrib/dev/acpica-unix/compiler/dtcompile.c
  54. +526 −0 sys/contrib/dev/acpica-unix/compiler/dtcompiler.h
  55. +462 −0 sys/contrib/dev/acpica-unix/compiler/dtexpress.c
  56. +615 −0 sys/contrib/dev/acpica-unix/compiler/dtfield.c
  57. +934 −0 sys/contrib/dev/acpica-unix/compiler/dtio.c
  58. +400 −0 sys/contrib/dev/acpica-unix/compiler/dtsubtable.c
  59. +1,544 −0 sys/contrib/dev/acpica-unix/compiler/dttable.c
  60. +445 −0 sys/contrib/dev/acpica-unix/compiler/dttemplate.c
  61. +757 −0 sys/contrib/dev/acpica-unix/compiler/dttemplate.h
  62. +937 −0 sys/contrib/dev/acpica-unix/compiler/dtutils.c
  63. +144 −1,348 sys/contrib/dev/acpica-unix/debugger/dbcmds.c
  64. +211 −74 sys/contrib/dev/acpica-unix/debugger/dbdisply.c
  65. +34 −20 sys/contrib/dev/acpica-unix/debugger/dbexec.c
  66. +3 −6 sys/contrib/dev/acpica-unix/debugger/dbfileio.c
  67. +2 −2 sys/contrib/dev/acpica-unix/debugger/dbhistry.c
  68. +111 −121 sys/contrib/dev/acpica-unix/debugger/dbinput.c
  69. +597 −0 sys/contrib/dev/acpica-unix/debugger/dbmethod.c
  70. +1,006 −0 sys/contrib/dev/acpica-unix/debugger/dbnames.c
  71. +2 −2 sys/contrib/dev/acpica-unix/debugger/dbstats.c
  72. +6 −2 sys/contrib/dev/acpica-unix/debugger/dbutils.c
  73. +1 −1 sys/contrib/dev/acpica-unix/debugger/dbxface.c
  74. +1 −1 sys/contrib/dev/acpica-unix/disassembler/dmbuffer.c
  75. +1 −1 sys/contrib/dev/acpica-unix/disassembler/dmnames.c
  76. +4 −4 sys/contrib/dev/acpica-unix/disassembler/dmobject.c
  77. +7 −7 sys/contrib/dev/acpica-unix/disassembler/dmopcode.c
  78. +2 −2 sys/contrib/dev/acpica-unix/disassembler/dmresrc.c
  79. +1 −1 sys/contrib/dev/acpica-unix/disassembler/dmresrcl.c
  80. +1 −1 sys/contrib/dev/acpica-unix/disassembler/dmresrcs.c
  81. +1 −119 sys/contrib/dev/acpica-unix/disassembler/dmutils.c
  82. +13 −94 sys/contrib/dev/acpica-unix/disassembler/dmwalk.c
  83. +502 −0 sys/contrib/dev/acpica-unix/dispatcher/dsargs.c
  84. +496 −0 sys/contrib/dev/acpica-unix/dispatcher/dscontrol.c
  85. +19 −13 sys/contrib/dev/acpica-unix/dispatcher/dsfield.c
  86. +10 −10 sys/contrib/dev/acpica-unix/dispatcher/dsinit.c
  87. +60 −16 sys/contrib/dev/acpica-unix/dispatcher/dsmethod.c
  88. +18 −20 sys/contrib/dev/acpica-unix/dispatcher/dsmthdat.c
  89. +41 −14 sys/contrib/dev/acpica-unix/dispatcher/dsobject.c
  90. +8 −746 sys/contrib/dev/acpica-unix/dispatcher/dsopcode.c
  91. +3 −3 sys/contrib/dev/acpica-unix/dispatcher/dsutils.c
  92. +22 −6 sys/contrib/dev/acpica-unix/dispatcher/dswexec.c
  93. +13 −706 sys/contrib/dev/acpica-unix/dispatcher/dswload.c
  94. +818 −0 sys/contrib/dev/acpica-unix/dispatcher/dswload2.c
  95. +1 −1 sys/contrib/dev/acpica-unix/dispatcher/dswscope.c
  96. +6 −6 sys/contrib/dev/acpica-unix/dispatcher/dswstate.c
  97. +12 −52 sys/contrib/dev/acpica-unix/events/evevent.c
  98. +263 −260 sys/contrib/dev/acpica-unix/events/evgpe.c
  99. +55 −838 sys/contrib/dev/acpica-unix/events/evgpeblk.c
  100. +531 −0 sys/contrib/dev/acpica-unix/events/evgpeinit.c
  101. +495 −0 sys/contrib/dev/acpica-unix/events/evgpeutil.c
  102. +2 −2 sys/contrib/dev/acpica-unix/events/evmisc.c
  103. +77 −18 sys/contrib/dev/acpica-unix/events/evregion.c
  104. +38 −55 sys/contrib/dev/acpica-unix/events/evrgnini.c
  105. +1 −1 sys/contrib/dev/acpica-unix/events/evsci.c
  106. +124 −42 sys/contrib/dev/acpica-unix/events/evxface.c
  107. +2 −662 sys/contrib/dev/acpica-unix/events/evxfevnt.c
  108. +962 −0 sys/contrib/dev/acpica-unix/events/evxfgpe.c
  109. +43 −5 sys/contrib/dev/acpica-unix/events/evxfregn.c
  110. +33 −18 sys/contrib/dev/acpica-unix/executer/exconfig.c
  111. +10 −11 sys/contrib/dev/acpica-unix/executer/exconvrt.c
  112. +7 −7 sys/contrib/dev/acpica-unix/executer/excreate.c
  113. +348 −0 sys/contrib/dev/acpica-unix/executer/exdebug.c
  114. +7 −8 sys/contrib/dev/acpica-unix/executer/exdump.c
  115. +58 −28 sys/contrib/dev/acpica-unix/executer/exfield.c
  116. +97 −68 sys/contrib/dev/acpica-unix/executer/exfldio.c
  117. +12 −12 sys/contrib/dev/acpica-unix/executer/exmisc.c
  118. +4 −4 sys/contrib/dev/acpica-unix/executer/exmutex.c
  119. +3 −3 sys/contrib/dev/acpica-unix/executer/exnames.c
  120. +27 −35 sys/contrib/dev/acpica-unix/executer/exoparg1.c
  121. +8 −35 sys/contrib/dev/acpica-unix/executer/exoparg2.c
  122. +4 −4 sys/contrib/dev/acpica-unix/executer/exoparg3.c
  123. +7 −10 sys/contrib/dev/acpica-unix/executer/exoparg6.c
  124. +58 −51 sys/contrib/dev/acpica-unix/executer/exprep.c
  125. +59 −32 sys/contrib/dev/acpica-unix/executer/exregion.c
  126. +3 −3 sys/contrib/dev/acpica-unix/executer/exresnte.c
  127. +5 −5 sys/contrib/dev/acpica-unix/executer/exresolv.c
  128. +5 −5 sys/contrib/dev/acpica-unix/executer/exresop.c
  129. +3 −222 sys/contrib/dev/acpica-unix/executer/exstore.c
  130. +1 −1 sys/contrib/dev/acpica-unix/executer/exstoren.c
  131. +15 −1 sys/contrib/dev/acpica-unix/executer/exstorob.c
  132. +16 −7 sys/contrib/dev/acpica-unix/executer/exsystem.c
  133. +44 −27 sys/contrib/dev/acpica-unix/executer/exutils.c
  134. +5 −1 sys/contrib/dev/acpica-unix/generate/lint/options.lnt
  135. +1 −1 sys/contrib/dev/acpica-unix/hardware/hwacpi.c
  136. +81 −66 sys/contrib/dev/acpica-unix/hardware/hwgpe.c
  137. +531 −0 sys/contrib/dev/acpica-unix/hardware/hwpci.c
  138. +218 −15 sys/contrib/dev/acpica-unix/hardware/hwregs.c
  139. +15 −9 sys/contrib/dev/acpica-unix/hardware/hwsleep.c
  140. +3 −3 sys/contrib/dev/acpica-unix/hardware/hwtimer.c
  141. +16 −2 sys/contrib/dev/acpica-unix/hardware/hwvalid.c
  142. +127 −77 sys/contrib/dev/acpica-unix/hardware/hwxface.c
  143. +49 −17 sys/contrib/dev/acpica-unix/include/acapps.h
  144. +1 −1 sys/contrib/dev/acpica-unix/include/accommon.h
  145. +15 −5 sys/contrib/dev/acpica-unix/include/acconfig.h
  146. +79 −50 sys/contrib/dev/acpica-unix/include/acdebug.h
  147. +150 −35 sys/contrib/dev/acpica-unix/include/acdisasm.h
  148. +30 −22 sys/contrib/dev/acpica-unix/include/acdispat.h
  149. +70 −39 sys/contrib/dev/acpica-unix/include/acevents.h
  150. +3 −3 sys/contrib/dev/acpica-unix/include/acexcep.h
  151. +67 −32 sys/contrib/dev/acpica-unix/include/acglobal.h
  152. +34 −6 sys/contrib/dev/acpica-unix/include/achware.h
  153. +36 −26 sys/contrib/dev/acpica-unix/include/acinterp.h
  154. +90 −37 sys/contrib/dev/acpica-unix/include/aclocal.h
  155. +13 −9 sys/contrib/dev/acpica-unix/include/acmacros.h
  156. +1 −1 sys/contrib/dev/acpica-unix/include/acnames.h
  157. +62 −32 sys/contrib/dev/acpica-unix/include/acnamesp.h
  158. +23 −11 sys/contrib/dev/acpica-unix/include/acobject.h
  159. +1 −1 sys/contrib/dev/acpica-unix/include/acopcode.h
  160. +19 −8 sys/contrib/dev/acpica-unix/include/acoutput.h
  161. +2 −1 sys/contrib/dev/acpica-unix/include/acparser.h
  162. +1 −1 sys/contrib/dev/acpica-unix/include/acpi.h
  163. +4 −29 sys/contrib/dev/acpica-unix/include/acpiosxf.h
  164. +103 −53 sys/contrib/dev/acpica-unix/include/acpixf.h
  165. +81 −16 sys/contrib/dev/acpica-unix/include/acpredef.h
  166. +1 −1 sys/contrib/dev/acpica-unix/include/acresrc.h
  167. +2 −2 sys/contrib/dev/acpica-unix/include/acrestyp.h
  168. +17 −17 sys/contrib/dev/acpica-unix/include/acstruct.h
  169. +9 −1 sys/contrib/dev/acpica-unix/include/actables.h
  170. +94 −30 sys/contrib/dev/acpica-unix/include/actbl.h
  171. +256 −754 sys/contrib/dev/acpica-unix/include/actbl1.h
  172. +1,084 −2 sys/contrib/dev/acpica-unix/include/actbl2.h
  173. +119 −132 sys/contrib/dev/acpica-unix/include/actypes.h
  174. +105 −25 sys/contrib/dev/acpica-unix/include/acutils.h
  175. +3 −8 sys/contrib/dev/acpica-unix/include/amlcode.h
  176. +7 −1 sys/contrib/dev/acpica-unix/include/amlresrc.h
  177. +6 −5 sys/contrib/dev/acpica-unix/include/platform/accygwin.h
  178. +1 −1 sys/contrib/dev/acpica-unix/include/platform/acefi.h
  179. +18 −6 sys/contrib/dev/acpica-unix/include/platform/acenv.h
  180. +15 −18 sys/contrib/dev/acpica-unix/include/platform/acfreebsd.h
  181. +3 −1 sys/contrib/dev/acpica-unix/include/platform/acgcc.h
  182. +5 −19 sys/contrib/dev/acpica-unix/include/platform/acintel.h
  183. +2 −3 sys/contrib/dev/acpica-unix/include/platform/aclinux.h
  184. +19 −3 sys/contrib/dev/acpica-unix/include/platform/acmsvc.h
  185. +1 −1 sys/contrib/dev/acpica-unix/include/platform/acnetbsd.h
  186. +1 −7 sys/contrib/dev/acpica-unix/include/platform/acos2.h
  187. +1 −3 sys/contrib/dev/acpica-unix/include/platform/acwin.h
  188. +2 −2 sys/contrib/dev/acpica-unix/include/platform/acwin64.h
  189. +8 −8 sys/contrib/dev/acpica-unix/namespace/nsaccess.c
  190. +119 −82 sys/contrib/dev/acpica-unix/namespace/nsalloc.c
  191. +21 −5 sys/contrib/dev/acpica-unix/namespace/nsdump.c
  192. +2 −2 sys/contrib/dev/acpica-unix/namespace/nsdumpdv.c
  193. +197 −1 sys/contrib/dev/acpica-unix/namespace/nseval.c
  194. +39 −13 sys/contrib/dev/acpica-unix/namespace/nsinit.c
  195. +2 −3 sys/contrib/dev/acpica-unix/namespace/nsload.c
  196. +5 −5 sys/contrib/dev/acpica-unix/namespace/nsnames.c
  197. +1 −1 sys/contrib/dev/acpica-unix/namespace/nsobject.c
  198. +2 −2 sys/contrib/dev/acpica-unix/namespace/nsparse.c
  199. +428 −340 sys/contrib/dev/acpica-unix/namespace/nspredef.c
  200. +876 −0 sys/contrib/dev/acpica-unix/namespace/nsrepair.c
  201. +883 −0 sys/contrib/dev/acpica-unix/namespace/nsrepair2.c
  202. +4 −15 sys/contrib/dev/acpica-unix/namespace/nssearch.c
  203. +15 −293 sys/contrib/dev/acpica-unix/namespace/nsutils.c
  204. +124 −91 sys/contrib/dev/acpica-unix/namespace/nswalk.c
  205. +63 −43 sys/contrib/dev/acpica-unix/namespace/nsxfeval.c
  206. +202 −71 sys/contrib/dev/acpica-unix/namespace/nsxfname.c
  207. +8 −8 sys/contrib/dev/acpica-unix/namespace/nsxfobj.c
  208. +26 −9 sys/contrib/dev/acpica-unix/os_specific/service_layers/osunixdir.c
  209. +145 −106 sys/contrib/dev/acpica-unix/os_specific/service_layers/osunixxf.c
  210. +9 −10 sys/contrib/dev/acpica-unix/os_specific/service_layers/oswindir.c
  211. +31 −13 sys/contrib/dev/acpica-unix/os_specific/service_layers/oswintbl.c
  212. +267 −180 sys/contrib/dev/acpica-unix/os_specific/service_layers/oswinxf.c
  213. +145 −106 sys/contrib/dev/acpica-unix/osunixxf.c
  214. +4 −4 sys/contrib/dev/acpica-unix/parser/psargs.c
  215. +143 −11 sys/contrib/dev/acpica-unix/parser/psloop.c
  216. +1 −1 sys/contrib/dev/acpica-unix/parser/psopcode.c
  217. +9 −19 sys/contrib/dev/acpica-unix/parser/psparse.c
  218. +1 −1 sys/contrib/dev/acpica-unix/parser/psscope.c
  219. +1 −1 sys/contrib/dev/acpica-unix/parser/pstree.c
  220. +3 −3 sys/contrib/dev/acpica-unix/parser/psutils.c
  221. +1 −1 sys/contrib/dev/acpica-unix/parser/pswalk.c
  222. +14 −7 sys/contrib/dev/acpica-unix/parser/psxface.c
  223. +1 −1 sys/contrib/dev/acpica-unix/resources/rsaddr.c
  224. +1 −1 sys/contrib/dev/acpica-unix/resources/rscalc.c
  225. +9 −9 sys/contrib/dev/acpica-unix/resources/rscreate.c
  226. +1 −1 sys/contrib/dev/acpica-unix/resources/rsdump.c
  227. +1 −1 sys/contrib/dev/acpica-unix/resources/rsinfo.c
  228. +1 −1 sys/contrib/dev/acpica-unix/resources/rsio.c
  229. +1 −1 sys/contrib/dev/acpica-unix/resources/rsirq.c
  230. +4 −4 sys/contrib/dev/acpica-unix/resources/rslist.c
  231. +1 −1 sys/contrib/dev/acpica-unix/resources/rsmemory.c
  232. +3 −3 sys/contrib/dev/acpica-unix/resources/rsmisc.c
  233. +1 −1 sys/contrib/dev/acpica-unix/resources/rsutils.c
  234. +2 −2 sys/contrib/dev/acpica-unix/resources/rsxface.c
  235. +15 −12 sys/contrib/dev/acpica-unix/tables/tbfadt.c
  236. +2 −2 sys/contrib/dev/acpica-unix/tables/tbfind.c
  237. +28 −26 sys/contrib/dev/acpica-unix/tables/tbinstal.c
  238. +177 −15 sys/contrib/dev/acpica-unix/tables/tbutils.c
  239. +56 −22 sys/contrib/dev/acpica-unix/tables/tbxface.c
  240. +4 −4 sys/contrib/dev/acpica-unix/tables/tbxfroot.c
  241. +649 −144 sys/contrib/dev/acpica-unix/tools/acpiexec/Makefile
  242. +47 −12 sys/contrib/dev/acpica-unix/tools/acpiexec/aecommon.h
  243. +223 −100 sys/contrib/dev/acpica-unix/tools/acpiexec/aeexec.c
  244. +313 −60 sys/contrib/dev/acpica-unix/tools/acpiexec/aehandlers.c
  245. +384 −74 sys/contrib/dev/acpica-unix/tools/acpiexec/aemain.c
  246. +198 −189 sys/contrib/dev/acpica-unix/tools/acpiexec/aetables.c
  247. +355 −0 sys/contrib/dev/acpica-unix/tools/acpiexec/aetables.h
  248. +26 −9 sys/contrib/dev/acpica-unix/tools/acpiexec/osunixdir.c
  249. +1 −1 sys/contrib/dev/acpica-unix/tools/acpisrc/Makefile
  250. +5 −4 sys/contrib/dev/acpica-unix/tools/acpisrc/acpisrc.h
  251. +21 −21 sys/contrib/dev/acpica-unix/tools/acpisrc/ascase.c
  252. +11 −9 sys/contrib/dev/acpica-unix/tools/acpisrc/asconvrt.c
  253. +7 −6 sys/contrib/dev/acpica-unix/tools/acpisrc/asfile.c
  254. +13 −7 sys/contrib/dev/acpica-unix/tools/acpisrc/asmain.c
  255. +1 −1 sys/contrib/dev/acpica-unix/tools/acpisrc/asremove.c
  256. +126 −71 sys/contrib/dev/acpica-unix/tools/acpisrc/astable.c
  257. +1 −1 sys/contrib/dev/acpica-unix/tools/acpisrc/asutils.c
  258. +26 −9 sys/contrib/dev/acpica-unix/tools/acpisrc/osunixdir.c
  259. +1 −1 sys/contrib/dev/acpica-unix/tools/acpixtract/Makefile
  260. +155 −71 sys/contrib/dev/acpica-unix/tools/acpixtract/acpixtract.c
  261. +3 −3 sys/contrib/dev/acpica-unix/tools/examples/examples.c
  262. +2 −2 sys/contrib/dev/acpica-unix/utilities/utalloc.c
  263. +1 −1 sys/contrib/dev/acpica-unix/utilities/utcache.c
  264. +1 −1 sys/contrib/dev/acpica-unix/utilities/utclib.c
  265. +29 −20 sys/contrib/dev/acpica-unix/utilities/utcopy.c
  266. +5 −6 sys/contrib/dev/acpica-unix/utilities/utdebug.c
  267. +699 −0 sys/contrib/dev/acpica-unix/utilities/utdecode.c
  268. +3 −3 sys/contrib/dev/acpica-unix/utilities/utdelete.c
  269. +42 −500 sys/contrib/dev/acpica-unix/utilities/uteval.c
  270. +29 −566 sys/contrib/dev/acpica-unix/utilities/utglobal.c
  271. +451 −0 sys/contrib/dev/acpica-unix/utilities/utids.c
  272. +9 −21 sys/contrib/dev/acpica-unix/utilities/utinit.c
  273. +1 −1 sys/contrib/dev/acpica-unix/utilities/utlock.c
  274. +39 −19 sys/contrib/dev/acpica-unix/utilities/utmath.c
  275. +85 −102 sys/contrib/dev/acpica-unix/utilities/utmisc.c
  276. +26 −29 sys/contrib/dev/acpica-unix/utilities/utmutex.c
  277. +41 −6 sys/contrib/dev/acpica-unix/utilities/utobject.c
  278. +494 −0 sys/contrib/dev/acpica-unix/utilities/utosi.c
  279. +1 −1 sys/contrib/dev/acpica-unix/utilities/utresrc.c
  280. +2 −2 sys/contrib/dev/acpica-unix/utilities/utstate.c
  281. +92 −35 sys/contrib/dev/acpica-unix/utilities/uttrack.c
  282. +177 −27 sys/contrib/dev/acpica-unix/utilities/utxface.c
  283. +550 −0 sys/contrib/dev/acpica-unix/utilities/utxferror.c
  284. +7 −5 sys/dev/acpica5/Makefile
  285. +6 −44 sys/dev/acpica5/Osd/OsdHardware.c
  286. +38 −60 sys/dev/acpica5/acpi.c
  287. +1 −1 sys/dev/acpica5/acpi_button.c
  288. +1 −1 sys/dev/acpica5/acpi_cpu_cstate.c
  289. +7 −12 sys/dev/acpica5/acpi_ec.c
  290. +1 −1 sys/dev/acpica5/acpi_lid.c
  291. +1 −1 sys/dev/acpica5/acpi_pci.c
  292. +1 −1 sys/dev/acpica5/acpi_video/acpi_video.c
  293. +2 −2 sys/dev/acpica5/acpivar.h
Oops, something went wrong.
@@ -1,165 +0,0 @@
-/******************************************************************************
- *
- * Module Name: 16bit.h - 16-bit support
- *
- *****************************************************************************/
-
-/******************************************************************************
- *
- * 1. Copyright Notice
- *
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
- * All rights reserved.
- *
- * 2. License
- *
- * 2.1. This is your license from Intel Corp. under its intellectual property
- * rights. You may have additional license terms from the party that provided
- * you this software, covering your right to use that party's intellectual
- * property rights.
- *
- * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
- * copy of the source code appearing in this file ("Covered Code") an
- * irrevocable, perpetual, worldwide license under Intel's copyrights in the
- * base code distributed originally by Intel ("Original Intel Code") to copy,
- * make derivatives, distribute, use and display any portion of the Covered
- * Code in any form, with the right to sublicense such rights; and
- *
- * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
- * license (with the right to sublicense), under only those claims of Intel
- * patents that are infringed by the Original Intel Code, to make, use, sell,
- * offer to sell, and import the Covered Code and derivative works thereof
- * solely to the minimum extent necessary to exercise the above copyright
- * license, and in no event shall the patent license extend to any additions
- * to or modifications of the Original Intel Code. No other license or right
- * is granted directly or by implication, estoppel or otherwise;
- *
- * The above copyright and patent license is granted only if the following
- * conditions are met:
- *
- * 3. Conditions
- *
- * 3.1. Redistribution of Source with Rights to Further Distribute Source.
- * Redistribution of source code of any substantial portion of the Covered
- * Code or modification with rights to further distribute source must include
- * the above Copyright Notice, the above License, this list of Conditions,
- * and the following Disclaimer and Export Compliance provision. In addition,
- * Licensee must cause all Covered Code to which Licensee contributes to
- * contain a file documenting the changes Licensee made to create that Covered
- * Code and the date of any change. Licensee must include in that file the
- * documentation of any changes made by any predecessor Licensee. Licensee
- * must include a prominent statement that the modification is derived,
- * directly or indirectly, from Original Intel Code.
- *
- * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
- * Redistribution of source code of any substantial portion of the Covered
- * Code or modification without rights to further distribute source must
- * include the following Disclaimer and Export Compliance provision in the
- * documentation and/or other materials provided with distribution. In
- * addition, Licensee may not authorize further sublicense of source of any
- * portion of the Covered Code, and must include terms to the effect that the
- * license from Licensee to its licensee is limited to the intellectual
- * property embodied in the software Licensee provides to its licensee, and
- * not to intellectual property embodied in modifications its licensee may
- * make.
- *
- * 3.3. Redistribution of Executable. Redistribution in executable form of any
- * substantial portion of the Covered Code or modification must reproduce the
- * above Copyright Notice, and the following Disclaimer and Export Compliance
- * provision in the documentation and/or other materials provided with the
- * distribution.
- *
- * 3.4. Intel retains all right, title, and interest in and to the Original
- * Intel Code.
- *
- * 3.5. Neither the name Intel nor any other trademark owned or controlled by
- * Intel shall be used in advertising or otherwise to promote the sale, use or
- * other dealings in products derived from or relating to the Covered Code
- * without prior written authorization from Intel.
- *
- * 4. Disclaimer and Export Compliance
- *
- * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
- * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
- * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
- * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
- * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
- * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
- * PARTICULAR PURPOSE.
- *
- * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
- * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
- * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
- * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
- * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
- * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
- * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
- * LIMITED REMEDY.
- *
- * 4.3. Licensee shall not export, either directly or indirectly, any of this
- * software or system incorporating such software without first obtaining any
- * required license or other approval from the U. S. Department of Commerce or
- * any other agency or department of the United States Government. In the
- * event Licensee exports any such software from the United States or
- * re-exports any such software from a foreign destination, Licensee shall
- * ensure that the distribution and export/re-export of the software is in
- * compliance with all laws, regulations, orders, or other restrictions of the
- * U.S. Export Administration Regulations. Licensee agrees that neither it nor
- * any of its subsidiaries will export/re-export any technical data, process,
- * software, or service, directly or indirectly, to any country for which the
- * United States government or any agency thereof requires an export license,
- * other governmental approval, or letter of assurance, without first obtaining
- * such license, approval or letter.
- *
- *****************************************************************************/
-
-
-#define GET_SEGMENT(ptr) ((UINT16)(_segment)(ptr))
-#define GET_OFFSET(ptr) ((UINT16)(UINT32) (ptr))
-#define GET_PHYSICAL_ADDRESS(ptr) (((((UINT32)GET_SEGMENT(ptr)) << 4)) + GET_OFFSET(ptr))
-#define PTR_OVL_BUILD_PTR(p,b,o) {p.ovl.base=b;p.ovl.offset=o;}
-
-typedef union ptr_ovl
-{
- void *ptr;
- UINT32 dword;
- struct
- {
- UINT16 offset;
- UINT16 base;
- } ovl;
-
-} PTR_OVL;
-
-
-int ACPI_INTERNAL_VAR_XFACE
-FlatMove (
- UINT32 Dest,
- UINT32 Src,
- UINT16 Size);
-
-int ACPI_INTERNAL_VAR_XFACE
-FlatMove32 (
- UINT32 Dest,
- UINT32 Src,
- UINT16 Size);
-
-ACPI_NATIVE_INT
-AfWriteBuffer (
- char *Filename,
- char *Buffer,
- UINT32 Length);
-
-char *
-AfGenerateFilename (char *TableId);
-
-
-ACPI_STATUS
-AfFindTable(
- char *TableName,
- UINT8 **TablePtr,
- UINT32 *TableLength);
-
-void
-AfDumpTables (void);
-
Oops, something went wrong.

1 comment on commit ea7ae20

@randy1
Owner
randy1 commented on ea7ae20 Feb 23, 2011

The feature:

(partially) sync with FreeBSD 8:

  • AcpiWalkNamespace post callbacks
  • wakable GPEs in acpi_probe_child()

was lost on the way, it's not in (sorry, i'm a git beginner...).
So this commit is really a bare tarball pull-in.

Please sign in to comment.