]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
11 years agoImport ACPICA 20130328.
Jung-uk Kim [Thu, 4 Apr 2013 21:18:57 +0000 (21:18 +0000)]
Import ACPICA 20130328.

11 years agoImport ACPICA 20130215.
Jung-uk Kim [Fri, 15 Feb 2013 19:12:35 +0000 (19:12 +0000)]
Import ACPICA 20130215.

11 years agoFix a long standing bug. NextObject is the first field for very long time.
Jung-uk Kim [Mon, 28 Jan 2013 20:33:31 +0000 (20:33 +0000)]
Fix a long standing bug.  NextObject is the first field for very long time.

11 years agoPartially revert a vendor commit. The following broke our acpi(4) in a very
Jung-uk Kim [Mon, 28 Jan 2013 20:25:27 +0000 (20:25 +0000)]
Partially revert a vendor commit.  The following broke our acpi(4) in a very
subtle way:

https://github.com/otcshare/acpica/commit/b8cf8cd2232f4e08ef9f8df4a103a29bd8699194

11 years agoImport ACPICA 20130117.
Jung-uk Kim [Thu, 17 Jan 2013 21:32:03 +0000 (21:32 +0000)]
Import ACPICA 20130117.

11 years agoImport ACPICA 20121220.
Jung-uk Kim [Wed, 2 Jan 2013 19:01:21 +0000 (19:01 +0000)]
Import ACPICA 20121220.

11 years agoImport ACPICA 20121114.
Jung-uk Kim [Wed, 14 Nov 2012 22:20:16 +0000 (22:20 +0000)]
Import ACPICA 20121114.

11 years agoImport ACPICA 20121018.
Jung-uk Kim [Fri, 19 Oct 2012 18:47:57 +0000 (18:47 +0000)]
Import ACPICA 20121018.

11 years agoImport ACPICA 20120913.
Jung-uk Kim [Fri, 14 Sep 2012 22:53:11 +0000 (22:53 +0000)]
Import ACPICA 20120913.

11 years agoImport ACPICA 20120816.
Jung-uk Kim [Thu, 16 Aug 2012 17:26:22 +0000 (17:26 +0000)]
Import ACPICA 20120816.

11 years agoImport ACPICA 20120711.
Jung-uk Kim [Wed, 11 Jul 2012 16:51:47 +0000 (16:51 +0000)]
Import ACPICA 20120711.

12 years agoDo not malloc(9) while holding a spin lock, to avoid panic. Note it was
Jung-uk Kim [Wed, 27 Jun 2012 16:07:58 +0000 (16:07 +0000)]
Do not malloc(9) while holding a spin lock, to avoid panic.  Note it was
submitted upstream and it should be fixed in the next ACPICA release.

Discussed with: Moore, Robert (robert dot moore at intel dot com)

12 years agoFix "comparison is always true due to limited range of data type" warning
Jung-uk Kim [Thu, 21 Jun 2012 18:22:50 +0000 (18:22 +0000)]
Fix "comparison is always true due to limited range of data type" warning
from GCC in the base system.  Note this patch was submitted upstream and it
will appear in the next ACPICA release.

Discussed with: Moore, Robert (robert dot moore at intel dot com)

12 years agoImport ACPICA 20120620.
Jung-uk Kim [Wed, 20 Jun 2012 17:51:04 +0000 (17:51 +0000)]
Import ACPICA 20120620.

12 years agoImport ACPICA 20120518.
Jung-uk Kim [Sat, 19 May 2012 05:44:32 +0000 (05:44 +0000)]
Import ACPICA 20120518.

12 years agoImport ACPICA 20120420.
Jung-uk Kim [Fri, 20 Apr 2012 23:39:48 +0000 (23:39 +0000)]
Import ACPICA 20120420.

12 years agoRevert r233550 and apply a fix for the reference counting issue.
Jung-uk Kim [Wed, 28 Mar 2012 16:43:15 +0000 (16:43 +0000)]
Revert r233550 and apply a fix for the reference counting issue.

Submitted by: Robert Moore (robert dot moore at intel dot com)

12 years agoFix two possible memory leaks in error path.
Jung-uk Kim [Tue, 27 Mar 2012 15:07:35 +0000 (15:07 +0000)]
Fix two possible memory leaks in error path.

https://github.com/otcshare/acpica/commit/651031314f26bcfa32ee070014c841afa4cee094

Obtained from: ACPICA

12 years agoTemporarily revert an upstream commit. This change caused regressions for
Jung-uk Kim [Tue, 27 Mar 2012 15:02:20 +0000 (15:02 +0000)]
Temporarily revert an upstream commit.  This change caused regressions for
too many laptop users.  Especially, automatic repair for broken _BIF caused
strange reference counting issues and kernal panics.  This reverts:

https://github.com/otcshare/acpica/commit/c995fed15ab41f6feae1299876271ea330f5c1c5

12 years agoImport ACPICA 20120320.
Jung-uk Kim [Tue, 20 Mar 2012 18:17:33 +0000 (18:17 +0000)]
Import ACPICA 20120320.

12 years agoImport ACPICA 20120215.
Jung-uk Kim [Thu, 16 Feb 2012 00:24:10 +0000 (00:24 +0000)]
Import ACPICA 20120215.

12 years agoImport ACPICA 20120111.
Jung-uk Kim [Wed, 11 Jan 2012 21:25:42 +0000 (21:25 +0000)]
Import ACPICA 20120111.

12 years agoImport ACPICA 20111123.
Jung-uk Kim [Wed, 23 Nov 2011 18:05:37 +0000 (18:05 +0000)]
Import ACPICA 20111123.

12 years agoImport ACPICA 20110922.
Jung-uk Kim [Mon, 26 Sep 2011 21:40:21 +0000 (21:40 +0000)]
Import ACPICA 20110922.

13 years agoImport ACPICA 20110623.
Jung-uk Kim [Thu, 23 Jun 2011 17:28:46 +0000 (17:28 +0000)]
Import ACPICA 20110623.

13 years agoImport ACPICA 20110527.
Jung-uk Kim [Tue, 31 May 2011 17:33:30 +0000 (17:33 +0000)]
Import ACPICA 20110527.

13 years agoRedo r220658. More extensive patch was committed by Intel:
Jung-uk Kim [Fri, 15 Apr 2011 21:33:45 +0000 (21:33 +0000)]
Redo r220658.  More extensive patch was committed by Intel:

http://git.moblin.org/cgit.cgi/acpica/commit/?id=16c9bbd6a3d8da88664d769ceec2f1757964fc7a

Obtained from: ACPICA

13 years agoFix build on FreeBSD. This patch was submitted upstream:
Jung-uk Kim [Fri, 15 Apr 2011 16:44:04 +0000 (16:44 +0000)]
Fix build on FreeBSD.  This patch was submitted upstream:

http://lists.acpica.org/pipermail/devel/2011-April/000253.html

Similar fixes will show up in the next ACPICA release.

13 years agoImport ACPICA 20110413.
Jung-uk Kim [Wed, 13 Apr 2011 18:18:52 +0000 (18:18 +0000)]
Import ACPICA 20110413.

13 years agoImport ACPICA 20110316.
Jung-uk Kim [Wed, 16 Mar 2011 20:53:41 +0000 (20:53 +0000)]
Import ACPICA 20110316.

13 years agoImport ACPICA 20110211.
Jung-uk Kim [Fri, 11 Feb 2011 22:56:14 +0000 (22:56 +0000)]
Import ACPICA 20110211.

13 years agoImport ACPICA 20110112.
Jung-uk Kim [Thu, 13 Jan 2011 16:12:34 +0000 (16:12 +0000)]
Import ACPICA 20110112.

13 years agoImport ACPICA 20101209.
Jung-uk Kim [Thu, 9 Dec 2010 20:04:14 +0000 (20:04 +0000)]
Import ACPICA 20101209.

13 years agoImport ACPICA 20101013.
Jung-uk Kim [Wed, 13 Oct 2010 20:35:34 +0000 (20:35 +0000)]
Import ACPICA 20101013.

13 years agoUpdate acfreebsd.h for ACPI_THREAD_ID change.
Jung-uk Kim [Thu, 16 Sep 2010 19:43:32 +0000 (19:43 +0000)]
Update acfreebsd.h for ACPI_THREAD_ID change.

Note this patch was committed on upstream GIT:

http://git.moblin.org/cgit.cgi/acpica/commit/?id=184ee2428cf02b0035d5de8a82c06fdfbc2ae14c

13 years agoImport ACPICA 20100915.
Jung-uk Kim [Wed, 15 Sep 2010 20:49:34 +0000 (20:49 +0000)]
Import ACPICA 20100915.

13 years agoImport ACPICA 20100806.
Jung-uk Kim [Fri, 6 Aug 2010 17:28:40 +0000 (17:28 +0000)]
Import ACPICA 20100806.

14 years agoImport ACPICA 20100702.
Jung-uk Kim [Tue, 6 Jul 2010 17:18:05 +0000 (17:18 +0000)]
Import ACPICA 20100702.

14 years agoImport ACPICA 20100528.
Jung-uk Kim [Fri, 28 May 2010 18:46:48 +0000 (18:46 +0000)]
Import ACPICA 20100528.

14 years agoImport ACPICA 20100428.
Jung-uk Kim [Wed, 28 Apr 2010 21:50:57 +0000 (21:50 +0000)]
Import ACPICA 20100428.

14 years agoAdditional fix for root table size regression.
Jung-uk Kim [Fri, 2 Apr 2010 21:05:28 +0000 (21:05 +0000)]
Additional fix for root table size regression.

Set the size of the new root table correctly. Not the current size, but
the number of current tables + the default increment.

http://git.moblin.org/cgit.cgi/acpica/commit/?id=752d13e80656436cd58e9710225a80c9deb3b053

Obtained from: Intel

14 years agoFixes for table load regression.
Jung-uk Kim [Fri, 2 Apr 2010 17:00:37 +0000 (17:00 +0000)]
Fixes for table load regression.

http://git.moblin.org/cgit.cgi/acpica/commit/?id=e4c530f4e71d70804ed911d41d922dce4cea8b23
http://git.moblin.org/cgit.cgi/acpica/commit/?id=67a1ef8c98791bd4a0fb84fe0c2feff7082151dc

Obtained from: Intel

14 years agoIntegrate FreeBSD changes for acfreebsd.h.
Jung-uk Kim [Fri, 2 Apr 2010 16:57:25 +0000 (16:57 +0000)]
Integrate FreeBSD changes for acfreebsd.h.

http://git.moblin.org/cgit.cgi/acpica/commit/?id=4580a813dd812d85c9a0ec1b77f7855c9940c60c

Obtained from: Intel

14 years agoImport ACPICA 20100331.
Jung-uk Kim [Fri, 2 Apr 2010 16:48:51 +0000 (16:48 +0000)]
Import ACPICA 20100331.

14 years agoImport ACPICA 20100304.
Jung-uk Kim [Fri, 5 Mar 2010 19:58:45 +0000 (19:58 +0000)]
Import ACPICA 20100304.

14 years agoImport ACPICA 20100121.
Jung-uk Kim [Thu, 21 Jan 2010 20:56:18 +0000 (20:56 +0000)]
Import ACPICA 20100121.

14 years agoImport ACPICA 20091214.
Jung-uk Kim [Mon, 14 Dec 2009 22:07:33 +0000 (22:07 +0000)]
Import ACPICA 20091214.

14 years agoImport ACPICA 20091112.
Jung-uk Kim [Mon, 16 Nov 2009 18:28:41 +0000 (18:28 +0000)]
Import ACPICA 20091112.

14 years agoImport ACPICA 20091013.
Jung-uk Kim [Tue, 13 Oct 2009 21:27:35 +0000 (21:27 +0000)]
Import ACPICA 20091013.

14 years agoImport ACPICA 20090903
Jung-uk Kim [Fri, 4 Sep 2009 01:21:44 +0000 (01:21 +0000)]
Import ACPICA 20090903

14 years agoImport ACPICA 20090730
Jung-uk Kim [Fri, 31 Jul 2009 15:25:39 +0000 (15:25 +0000)]
Import ACPICA 20090730

15 years agoImport ACPICA 20090625
Jung-uk Kim [Thu, 25 Jun 2009 23:20:50 +0000 (23:20 +0000)]
Import ACPICA 20090625

15 years agoImport ACPICA 20090521 (with three patches from ACPICA GIT).
Jung-uk Kim [Mon, 1 Jun 2009 21:02:40 +0000 (21:02 +0000)]
Import ACPICA 20090521 (with three patches from ACPICA GIT).

15 years agoMove subdirectoies of interpreter one level up as it is done in the vendor
Jung-uk Kim [Mon, 1 Jun 2009 20:35:09 +0000 (20:35 +0000)]
Move subdirectoies of interpreter one level up as it is done in the vendor
distribution tarball since 20080514.

15 years agoTemporarily revert system includes fixups to make future import easier.
Jung-uk Kim [Mon, 1 Jun 2009 19:24:26 +0000 (19:24 +0000)]
Temporarily revert system includes fixups to make future import easier.

15 years agoRestore directory structures from actual vendor distribution.
Jung-uk Kim [Mon, 1 Jun 2009 19:16:31 +0000 (19:16 +0000)]
Restore directory structures from actual vendor distribution.

15 years agoflatten acpica vendor area
Andriy Gapon [Tue, 19 May 2009 14:46:41 +0000 (14:46 +0000)]
flatten acpica vendor area

do it for current ('dist') and previous versions;
disable keywords expansion at the same time

Reviewed by: attilio
Approved by: rpaulo

16 years agoFix GPE livelock that occurs on HP/Compaq laptops, mostly in the thermal
Nate Lawson [Sat, 12 Jan 2008 22:13:12 +0000 (22:13 +0000)]
Fix GPE livelock that occurs on HP/Compaq laptops, mostly in the thermal
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>

16 years agoFix global lock recursion bug.
Jung-uk Kim [Mon, 24 Sep 2007 17:12:36 +0000 (17:12 +0000)]
Fix global lock recursion bug.

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

17 years agoUnbreak world build.
Ruslan Ermilov [Wed, 11 Apr 2007 11:09:18 +0000 (11:09 +0000)]
Unbreak world build.

17 years agoPut some overly verbose prints under bootverbose. This is on the vendor
Nate Lawson [Wed, 11 Apr 2007 02:03:36 +0000 (02:03 +0000)]
Put some overly verbose prints under bootverbose.  This is on the vendor
branch but we need to work out a different interface with the vendor.

17 years agoFix tinderbox build breakage.
Jung-uk Kim [Thu, 22 Mar 2007 21:14:43 +0000 (21:14 +0000)]
Fix tinderbox build breakage.

Note that it is committed on the vendor branch because it will be
submitted to the vendor.

17 years agoRemove files that are no longer needed or removed by vendor.
Jung-uk Kim [Thu, 22 Mar 2007 17:43:38 +0000 (17:43 +0000)]
Remove files that are no longer needed or removed by vendor.

17 years agoAdd fixes for FreeBSD build that were submitted upstream.
Jung-uk Kim [Thu, 22 Mar 2007 17:36:29 +0000 (17:36 +0000)]
Add fixes for FreeBSD build that were submitted upstream.

17 years agoVendor import of Intel ACPI-CA 20070320
Jung-uk Kim [Thu, 22 Mar 2007 17:24:05 +0000 (17:24 +0000)]
Vendor import of Intel ACPI-CA 20070320

18 years ago- Fix more resource parsing problems. The previous commit was imcomplete.
Jung-uk Kim [Fri, 4 Nov 2005 21:29:41 +0000 (21:29 +0000)]
- Fix more resource parsing problems.  The previous commit was imcomplete.
- 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

18 years agoAccount for the minimum resource size when parsing the end tag resource
Nate Lawson [Fri, 4 Nov 2005 20:15:09 +0000 (20:15 +0000)]
Account for the minimum resource size when parsing the end tag resource
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

18 years agoFix few compilation problems on vendor branch.
Jung-uk Kim [Tue, 1 Nov 2005 22:18:47 +0000 (22:18 +0000)]
Fix few compilation problems on vendor branch.
These fixes will be submitted vendor.

18 years agoVendor import of Intel ACPI-CA 20051021
Jung-uk Kim [Tue, 1 Nov 2005 22:11:18 +0000 (22:11 +0000)]
Vendor import of Intel ACPI-CA 20051021

18 years agoRemove old ACPICA files from the INTEL vendor branch. They were removed
John Baldwin [Thu, 27 Oct 2005 20:48:05 +0000 (20:48 +0000)]
Remove old ACPICA files from the INTEL vendor branch.  They were removed
from HEAD about 4 years ago when we started flattening out the ACPICA
distribution.

18 years agoVendor import of Intel ACPI-CA 20041119 with system includes fixups.
David E. O'Brien [Mon, 24 Oct 2005 04:31:06 +0000 (04:31 +0000)]
Vendor import of Intel ACPI-CA 20041119 with system includes fixups.

19 years agoClean up a small memory leak introduced with the previous commit to
Nate Lawson [Fri, 14 Jan 2005 06:37:43 +0000 (06:37 +0000)]
Clean up a small memory leak introduced with the previous commit to
dsutils.c.  We need to GC the implicitly-returned object.

Submitted by: Robert.Moore at Intel
MFC after: 1 day

19 years agoFix handling of the implicit return case for methods called from an
Nate Lawson [Wed, 12 Jan 2005 00:52:40 +0000 (00:52 +0000)]
Fix handling of the implicit return case for methods called from an
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

19 years agoOops, remove unnecessary cast in original, out-commented code.
Mark Santcroos [Thu, 2 Dec 2004 00:12:19 +0000 (00:12 +0000)]
Oops, remove unnecessary cast in original, out-commented code.
This was a debug leftover.

MFC after: 1 week

19 years agoLocal change: Supporting code not yet available, use previous behavior
Mark Santcroos [Thu, 2 Dec 2004 00:05:02 +0000 (00:05 +0000)]
Local change: Supporting code not yet available, use previous behavior
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

19 years agoVendor import of Intel ACPI-CA 20041119
Mark Santcroos [Wed, 1 Dec 2004 23:14:10 +0000 (23:14 +0000)]
Vendor import of Intel ACPI-CA 20041119

19 years agoAdd a padding member to the header overlaid on data allocated in the
Nate Lawson [Wed, 18 Aug 2004 05:41:21 +0000 (05:41 +0000)]
Add a padding member to the header overlaid on data allocated in the
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

20 years agoVendor import of Intel ACPI-CA 20040527
Mark Santcroos [Fri, 2 Jul 2004 08:14:36 +0000 (08:14 +0000)]
Vendor import of Intel ACPI-CA 20040527

20 years agoRemove a warning of a constant that is too large. Change submitted to
Nate Lawson [Tue, 25 May 2004 03:06:37 +0000 (03:06 +0000)]
Remove a warning of a constant that is too large.  Change submitted to
vendor.

20 years agoVendor import of Intel ACPI-CA 20040514.
Nate Lawson [Tue, 25 May 2004 02:34:44 +0000 (02:34 +0000)]
Vendor import of Intel ACPI-CA 20040514.

20 years agoOnly avoid disabling bus mastering on the sleep path. This should fix
Nate Lawson [Wed, 14 Apr 2004 16:50:32 +0000 (16:50 +0000)]
Only avoid disabling bus mastering on the sleep path.  This should fix
power off for some users.  The patch has been submitted to Intel.

Bug: http://bugme.osdl.org/show_bug.cgi?id=2109

20 years agoImport ACPI-CA 20040402 distribution.
Nate Lawson [Wed, 14 Apr 2004 02:10:27 +0000 (02:10 +0000)]
Import ACPI-CA 20040402 distribution.

20 years agoImport of Intel ACPI-CA 20040311.
Nate Lawson [Thu, 18 Mar 2004 17:42:14 +0000 (17:42 +0000)]
Import of Intel ACPI-CA 20040311.

20 years agoRemove these on the vendor branch as we no longer import them (and some
Nate Lawson [Wed, 3 Mar 2004 05:47:09 +0000 (05:47 +0000)]
Remove these on the vendor branch as we no longer import them (and some
were never used).

CVS surgery credit: joe

20 years agoFix an off-by-one in the compiler path. Originally from iwasaki-san's
Nate Lawson [Sat, 28 Feb 2004 20:42:10 +0000 (20:42 +0000)]
Fix an off-by-one in the compiler path.  Originally from iwasaki-san's
patches for the pmtools port.  This change has been submitted to Intel.

20 years agoVendor import of ACPICA 20040220
Nate Lawson [Sat, 28 Feb 2004 20:23:30 +0000 (20:23 +0000)]
Vendor import of ACPICA 20040220

20 years agoWhen creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",
Nate Lawson [Wed, 14 Jan 2004 18:54:22 +0000 (18:54 +0000)]
When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",
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>

20 years agoFix for "UtAllocate: Attempt to allocate zero bytes" warnings on Dell
Nate Lawson [Sun, 4 Jan 2004 06:35:01 +0000 (06:35 +0000)]
Fix for "UtAllocate: Attempt to allocate zero bytes" warnings on Dell
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)

20 years agoFix an off-by-one in the compiler path. Originally from iwasaki-san's
Nate Lawson [Tue, 9 Dec 2003 03:11:40 +0000 (03:11 +0000)]
Fix an off-by-one in the compiler path.  Originally from iwasaki-san's
patches for the pmtools port.

20 years agoEliminate a warning. Patch has been sent to the vendor.
Nate Lawson [Tue, 9 Dec 2003 03:06:28 +0000 (03:06 +0000)]
Eliminate a warning.  Patch has been sent to the vendor.

20 years agoAdd the APIC_HEADER definition back in and use the correct definition
Nate Lawson [Tue, 9 Dec 2003 03:06:09 +0000 (03:06 +0000)]
Add the APIC_HEADER definition back in and use the correct definition
for local APIC override (64 bits).  Changes have been submitted to the
vendor.

20 years agoImport ACPI-CA 20031203
Nate Lawson [Tue, 9 Dec 2003 02:45:16 +0000 (02:45 +0000)]
Import ACPI-CA 20031203

20 years agoRemove files on the vendor branch that we no longer use. Some are no longer
Nate Lawson [Tue, 9 Dec 2003 02:29:59 +0000 (02:29 +0000)]
Remove files on the vendor branch that we no longer use.  Some are no longer
distributed with ACPI-CA.  Note that all of these have been gone from HEAD
since 20030228.

20 years agoUpdate code for checking the reference count and performing the final
Nate Lawson [Fri, 21 Nov 2003 21:24:31 +0000 (21:24 +0000)]
Update code for checking the reference count and performing the final
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

20 years agoAdd the byte offset to the base address for IndexField objects. This
Nate Lawson [Fri, 21 Nov 2003 21:21:17 +0000 (21:21 +0000)]
Add the byte offset to the base address for IndexField objects.  This
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)

20 years agoFix a bug in iasl(8) that caused it to core dump while parsing a DSDT
Nate Lawson [Wed, 5 Nov 2003 20:51:25 +0000 (20:51 +0000)]
Fix a bug in iasl(8) that caused it to core dump while parsing a DSDT
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

20 years agoFix an overflow in the resource list code for Address16, 32, 64, and
Nate Lawson [Fri, 19 Sep 2003 19:08:55 +0000 (19:08 +0000)]
Fix an overflow in the resource list code for Address16, 32, 64, and
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

20 years agoFix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build on
Nate Lawson [Tue, 12 Aug 2003 04:56:45 +0000 (04:56 +0000)]
Fix a few more s/UINT32/ACPI_SIZE issues.  iasl and acpidb now build on
ia64.

Tested on: pluto2
Pointed out by: tinderbox

20 years agoFix AcpiOsMapMemory to match the function definition. Don't use UINT32
Nate Lawson [Mon, 11 Aug 2003 05:54:31 +0000 (05:54 +0000)]
Fix AcpiOsMapMemory to match the function definition.  Don't use UINT32
as a cast for a pointer.  Change has been submitted to the vendor.

Pointed out by: marcel, obrien

20 years agoFix a bug that would result in a very long sleep. Change has been
Nate Lawson [Thu, 7 Aug 2003 18:19:12 +0000 (18:19 +0000)]
Fix a bug that would result in a very long sleep.  Change has been
submitted to the vendor.

Obtained from: iwasaki