summaryrefslogtreecommitdiff
path: root/sys/contrib/dev
Commit message (Collapse)AuthorAgeFilesLines
* flatten acpica vendor areaAndriy Gapon2009-05-19201-146106/+0
| | | | | | | | | | | do it for current ('dist') and previous versions; disable keywords expansion at the same time Reviewed by: attilio Approved by: rpaulo Notes: svn path=/vendor-sys/acpica/dist/; revision=192384
* Fix GPE livelock that occurs on HP/Compaq laptops, mostly in the thermalNate Lawson2008-01-121-3/+19
| | | | | | | | | | | | | | | | | | | | | zone code. The GPE handler method (i.e. _L00) generates various Notify events that need to be run to completion before the GPE is re-enabled. In ACPI-CA, we queue an asynch callback at the same priority as a Notify so that it will only run after all Notify handlers have completed. The callback re-enables the GPE afterwards. We also changed the priority of Notifies to be the same as GPEs, given the possibility that another GPE could arrive before the Notifies have completed and we don't want it to get queued ahead of the rest. The ACPI-CA change was submitted by Alexey Starikovskiy (SUSE) and will appear in a later release. Special thanks to him for helping track this bug down. MFC after: 1 week Tested by: jhb, Yousif Hassan <yousif / alumni.jmu.edu> Notes: svn path=/vendor-sys/acpica/dist/; revision=175256
* Fix global lock recursion bug.Jung-uk Kim2007-09-242-10/+15
| | | | | | | | | | | | | | | | | This patch was part of ACPI-CA 20070508 release and the following is excerpt from its change log: Fixed a problem where the Global Lock handle was not properly updated if a thread that acquired the Global Lock via executing AML code then attempted to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe Liu. Approved by: re (kensmith) Tested by: ambrisko Obtained from: Intel Notes: svn path=/vendor-sys/acpica/dist/; revision=172314
* Unbreak world build.Ruslan Ermilov2007-04-111-0/+2
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=168616
* Put some overly verbose prints under bootverbose. This is on the vendorNate Lawson2007-04-111-0/+3
| | | | | | | branch but we need to work out a different interface with the vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=168609
* Fix tinderbox build breakage.Jung-uk Kim2007-03-222-3/+6
| | | | | | | | Note that it is committed on the vendor branch because it will be submitted to the vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=167817
* Remove files that are no longer needed or removed by vendor.Jung-uk Kim2007-03-225-3071/+0
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=167807
* Add fixes for FreeBSD build that were submitted upstream.Jung-uk Kim2007-03-225-6/+22
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=167805
* Vendor import of Intel ACPI-CA 20070320Jung-uk Kim2007-03-22201-13627/+24503
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=167802
* - Fix more resource parsing problems. The previous commit was imcomplete.Jung-uk Kim2005-11-042-8/+5
| | | | | | | | | | | | - Fix a typo in rsmisc.c and a style change for consistency. This patch will also appear in future ACPI-CA release. Submitted by: Robert Moore <robert dot moore at intel dot com> Tested by: ru Notes: svn path=/vendor-sys/acpica/dist/; revision=152069
* Account for the minimum resource size when parsing the end tag resourceNate Lawson2005-11-041-5/+3
| | | | | | | | | | | descriptor. This should fix the "memory modified after free" panics. This patch will appear in a future acpi-ca distribution. Submitted by: Robert Moore <robert.moore / intel.com> Tested by: Peter Holm Notes: svn path=/vendor-sys/acpica/dist/; revision=152058
* Fix few compilation problems on vendor branch.Jung-uk Kim2005-11-013-1/+6
| | | | | | | These fixes will be submitted vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=151940
* Vendor import of Intel ACPI-CA 20051021vendor/acpica/20051021Jung-uk Kim2005-11-01196-16596/+24058
| | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=151937 svn path=/vendor-sys/acpica/20051021/; revision=151939; tag=vendor/acpica/20051021
* Remove old ACPICA files from the INTEL vendor branch. They were removedJohn Baldwin2005-10-27141-84217/+0
| | | | | | | | from HEAD about 4 years ago when we started flattening out the ACPICA distribution. Notes: svn path=/vendor-sys/acpica/dist/; revision=151768
* Vendor import of Intel ACPI-CA 20041119 with system includes fixups.vendor/acpica/20041119sysincDavid E. O'Brien2005-10-24130-449/+449
| | | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=151600 svn path=/vendor-sys/acpica/20041119sysinc/; revision=151602; tag=vendor/acpica/20041119sysinc
* Clean up a small memory leak introduced with the previous commit toNate Lawson2005-01-141-0/+7
| | | | | | | | | | dsutils.c. We need to GC the implicitly-returned object. Submitted by: Robert.Moore at Intel MFC after: 1 day Notes: svn path=/vendor-sys/acpica/dist/; revision=140216
* Fix handling of the implicit return case for methods called from anNate Lawson2005-01-121-1/+2
| | | | | | | | | | | external source (i.e., _STA). The previous case only handled calls occurring within AML. This should fix Toshibas, among others. Thanks to Robert Moore of Intel for the fix. MFC after: 2 days Notes: svn path=/vendor-sys/acpica/dist/; revision=140094
* Oops, remove unnecessary cast in original, out-commented code.Mark Santcroos2004-12-021-1/+1
| | | | | | | | | This was a debug leftover. MFC after: 1 week Notes: svn path=/vendor-sys/acpica/dist/; revision=138298
* Local change: Supporting code not yet available, use previous behaviorMark Santcroos2004-12-021-1/+9
| | | | | | | | | | | | | | instead for the time being. Intel should fix this. Note that if this commit is correct, it is made on the vendor branch. We expect the Intel folks to fix it, and we don't want to unnecessarily take files off the vendor branch. Approved by: njl MFC after: 1 week Notes: svn path=/vendor-sys/acpica/dist/; revision=138296
* Vendor import of Intel ACPI-CA 20041119Mark Santcroos2004-12-0198-1854/+3896
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=138287
* Add a padding member to the header overlaid on data allocated in theNate Lawson2004-08-181-1/+2
| | | | | | | | | | | | ACPI_DEBUG case. Without this, use of allocated memory is unaligned and causes a trap on ia64. Intel may fix this differently in a subsequent release but this is adequate for now. Submitted by: marcel MFC after: 2 days Notes: svn path=/vendor-sys/acpica/dist/; revision=133931
* Vendor import of Intel ACPI-CA 20040527Mark Santcroos2004-07-0214-149/+271
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=131440
* Remove a warning of a constant that is too large. Change submitted toNate Lawson2004-05-251-1/+1
| | | | | | | vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=129694
* Vendor import of Intel ACPI-CA 20040514.Nate Lawson2004-05-2558-1192/+2201
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=129684
* Only avoid disabling bus mastering on the sleep path. This should fixNate Lawson2004-04-141-13/+13
| | | | | | | | | power off for some users. The patch has been submitted to Intel. Bug: http://bugme.osdl.org/show_bug.cgi?id=2109 Notes: svn path=/vendor-sys/acpica/dist/; revision=128245
* Import ACPI-CA 20040402 distribution.Nate Lawson2004-04-1437-259/+870
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=128212
* Import of Intel ACPI-CA 20040311.Nate Lawson2004-03-1822-126/+392
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=127175
* Remove these on the vendor branch as we no longer import them (and someNate Lawson2004-03-035-2897/+0
| | | | | | | | | were never used). CVS surgery credit: joe Notes: svn path=/vendor-sys/acpica/dist/; revision=126520
* Fix an off-by-one in the compiler path. Originally from iwasaki-san'sNate Lawson2004-02-281-1/+1
| | | | | | | patches for the pmtools port. This change has been submitted to Intel. Notes: svn path=/vendor-sys/acpica/dist/; revision=126380
* Vendor import of ACPICA 20040220Nate Lawson2004-02-28186-1070/+1968
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=126372
* When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",Nate Lawson2004-01-141-1/+1
| | | | | | | | | | | | be sure to increment the refcount of the argument so it is not prematurely deleted. This is a workaround and may appear in a different form in ACPI-CA. This fixes battery evaluation on Thinkpads that was broken by fixing the Dell battery state. Submitted by: Luming Yu <luming.yu@intel.com> Notes: svn path=/vendor-sys/acpica/dist/; revision=124528
* Fix for "UtAllocate: Attempt to allocate zero bytes" warnings on DellNate Lawson2004-01-041-1/+6
| | | | | | | | | | | laptops that resulted in problems reading battery status. Don't copy Buffers, Packages, or Regions in DsStoreObjectToLocal(). Tested by: scottl, sam Submitted by: Luming Yu (Intel) Notes: svn path=/vendor-sys/acpica/dist/; revision=124120
* Fix an off-by-one in the compiler path. Originally from iwasaki-san'sNate Lawson2003-12-091-1/+1
| | | | | | | patches for the pmtools port. Notes: svn path=/vendor-sys/acpica/dist/; revision=123331
* Eliminate a warning. Patch has been sent to the vendor.Nate Lawson2003-12-091-1/+0
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=123329
* Add the APIC_HEADER definition back in and use the correct definitionNate Lawson2003-12-091-1/+9
| | | | | | | | for local APIC override (64 bits). Changes have been submitted to the vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=123327
* Import ACPI-CA 20031203Nate Lawson2003-12-09100-1199/+1951
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=123315
* Remove files on the vendor branch that we no longer use. Some are no longerNate Lawson2003-12-091-869/+0
| | | | | | | | distributed with ACPI-CA. Note that all of these have been gone from HEAD since 20030228. Notes: svn path=/vendor-sys/acpica/dist/; revision=123313
* Update code for checking the reference count and performing the finalNate Lawson2003-11-212-25/+45
| | | | | | | | | | | | | delete of objects. Also revert our temporary workaround in dsmthdat.c that always copied objects. This is the correct fix for errors evaluating _BST (and GBST) on IBM Thinkpads where an argument (Arg3) was returned to the caller and the object was freed while still in use. This will be in a future ACPI-CA dist. Thanks to: kochi@netbsd.org, shaohua.li@intel.com Notes: svn path=/vendor-sys/acpica/dist/; revision=122945
* Add the byte offset to the base address for IndexField objects. ThisNate Lawson2003-11-211-9/+19
| | | | | | | | | | | | | fixes an interrupt storm for certain users. This is done on the vendor branch since the code is already in the 20031029 ACPI-CA dist and will be imported after 5.2R. Tested by: sebastian ssmoller <sebastian.ssmoller@gmx.net> PR: i386/57909 Approved by: re (jhb) Notes: svn path=/vendor-sys/acpica/dist/; revision=122944
* Fix a bug in iasl(8) that caused it to core dump while parsing a DSDTNate Lawson2003-11-051-1/+1
| | | | | | | | | | on ia64. The bug is present in i386 as well but didn't show up due to more relaxed page protections. This fix has been submitted to the vendor. Submitted by: marcel Notes: svn path=/vendor-sys/acpica/dist/; revision=122137
* Fix an overflow in the resource list code for Address16, 32, 64, andNate Lawson2003-09-192-11/+42
| | | | | | | | | | | | | extended irq lists. If the resource has a trailing byte but not the full resource string, do not attempt to parse the resource string. This fixes panics on transition to battery and shutdown for Larry. Patch has been submitted to vendor and they will incorporate in next release. Tested by: Larry Rosenman <ler@lerctr.org> PR: kern/56254 Notes: svn path=/vendor-sys/acpica/dist/; revision=120239
* Fix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build onNate Lawson2003-08-121-2/+2
| | | | | | | | | | ia64. Tested on: pluto2 Pointed out by: tinderbox Notes: svn path=/vendor-sys/acpica/dist/; revision=118812
* Fix AcpiOsMapMemory to match the function definition. Don't use UINT32Nate Lawson2003-08-111-2/+2
| | | | | | | | | as a cast for a pointer. Change has been submitted to the vendor. Pointed out by: marcel, obrien Notes: svn path=/vendor-sys/acpica/dist/; revision=118765
* Fix a bug that would result in a very long sleep. Change has beenNate Lawson2003-08-071-1/+1
| | | | | | | | | submitted to the vendor. Obtained from: iwasaki Notes: svn path=/vendor-sys/acpica/dist/; revision=118624
* Import the userland interface from acpica 0619Nate Lawson2003-08-071-0/+1085
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=118617
* Import common/ files from acpica 0619Nate Lawson2003-08-072-0/+1293
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=118613
* Import compiler/ files from acpica 0619Nate Lawson2003-08-0727-0/+24646
| | | | Notes: svn path=/vendor-sys/acpica/dist/; revision=118611
* Remove a multiply-defined function. The change has been submitted to theNate Lawson2003-07-141-4/+0
| | | | | | | vendor. Notes: svn path=/vendor-sys/acpica/dist/; revision=117535
* Fix handling of _BST in the new dist.Nate Lawson2003-07-131-7/+23
| | | | | | | Submitted by: kochi@netbsd.org Notes: svn path=/vendor-sys/acpica/dist/; revision=117527
* Patch for global lock error messages that the vendor will import eventually.Nate Lawson2003-07-131-2/+2
| | | | | | | Originally committed as 1.1.1.17 Notes: svn path=/vendor-sys/acpica/dist/; revision=117525