Commit Graph

157 Commits

Author SHA1 Message Date
Nate Lawson
dee7748c35 Unchanged files that are off the vendor branch. 2003-12-09 02:48:38 +00:00
Nate Lawson
2afe25109b This commit was generated by cvs2svn to compensate for changes in r123315,
which included commits to RCS files with non-trunk default branches.
2003-12-09 02:45:16 +00:00
Nate Lawson
e50beb517d Import ACPI-CA 20031203 2003-12-09 02:45:16 +00:00
Nate Lawson
4f023945ac 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.
2003-12-09 02:29:59 +00:00
Nate Lawson
7158f454ee Commit rev 1.1.1.20 to HEAD. This file was off the vendor branch and thus
the changes need to be made to HEAD.

Approved by:	re (previously)
2003-11-22 00:48:08 +00:00
Nate Lawson
beb443da7a 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
2003-11-21 21:24:31 +00:00
Nate Lawson
f4275c3682 This commit was generated by cvs2svn to compensate for changes in r122945,
which included commits to RCS files with non-trunk default branches.
2003-11-21 21:24:31 +00:00
Nate Lawson
847c562d46 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)
2003-11-21 21:21:17 +00:00
Nate Lawson
0e4c356acf 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
2003-11-05 20:51:25 +00:00
Nate Lawson
64e353a082 This commit was generated by cvs2svn to compensate for changes in r122137,
which included commits to RCS files with non-trunk default branches.
2003-11-05 20:51:25 +00:00
Nate Lawson
dc0b8f8933 Allow access to the field if it is within the region size rounded up
to a multiple of the access byte width.  This overcomes errors in the
AML often found in Toshiba laptops.  These errors were allowed by
the Microsoft ASL compiler and interpreter.  This will NOT be imported
by ACPI-CA so make the change on our local branch.  File was already off
the vendor branch.

Submitted by:	blaz
Original idea:	Rick Richardson for Linux
2003-10-22 22:30:57 +00:00
Nate Lawson
050b6a0427 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
2003-09-19 19:08:55 +00:00
Nate Lawson
b5155e8fbc This commit was generated by cvs2svn to compensate for changes in r120239,
which included commits to RCS files with non-trunk default branches.
2003-09-19 19:08:55 +00:00
Nate Lawson
3b8fe955eb Fix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build on
ia64.

Tested on:	pluto2
Pointed out by:	tinderbox
2003-08-12 04:56:45 +00:00
Nate Lawson
725d623fae This commit was generated by cvs2svn to compensate for changes in r118812,
which included commits to RCS files with non-trunk default branches.
2003-08-12 04:56:45 +00:00
Nate Lawson
fcf000c13c 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
2003-08-11 05:54:31 +00:00
Nate Lawson
5f06786496 This commit was generated by cvs2svn to compensate for changes in r118765,
which included commits to RCS files with non-trunk default branches.
2003-08-11 05:54:31 +00:00
Nate Lawson
ade9d6fdcf Fix a bug that would result in a very long sleep. Change has been
submitted to the vendor.

Obtained from:	iwasaki
2003-08-07 18:19:12 +00:00
Nate Lawson
0eb1dbb16e This commit was generated by cvs2svn to compensate for changes in r118624,
which included commits to RCS files with non-trunk default branches.
2003-08-07 18:19:12 +00:00
Nate Lawson
c7fe6a7bfb Import the userland interface from acpica 0619 2003-08-07 16:59:44 +00:00
Nate Lawson
65782e561a This commit was generated by cvs2svn to compensate for changes in r118617,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:59:44 +00:00
Nate Lawson
59db4265c5 Import common/ files from acpica 0619 2003-08-07 16:38:54 +00:00
Nate Lawson
64f80a8302 This commit was generated by cvs2svn to compensate for changes in r118613,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:38:54 +00:00
Nate Lawson
53289f6a61 Import compiler/ files from acpica 0619 2003-08-07 16:38:31 +00:00
Nate Lawson
b9361fabdb This commit was generated by cvs2svn to compensate for changes in r118611,
which included commits to RCS files with non-trunk default branches.
2003-08-07 16:38:31 +00:00
Nate Lawson
22d162d7d1 Remove the user include of ctype.h and instead include it for each utility
that uses strupr().
2003-08-07 15:52:42 +00:00
Nate Lawson
7f325bba26 Comment out ctype.h. It's not ok to always include in the !_KERNEL case
since the bootblocks have their own local includes.  Sorry for breaking
world.
2003-08-07 14:17:23 +00:00
Nate Lawson
ad173a0cbe Add includes to fix user-compilation of acpica. Also clarify a comment
about overriding the OS name.
2003-08-07 04:46:17 +00:00
Peter Wemm
3718a191eb Make this compile on 64 bit systems again. You cannot just cast a 32 bit
int to a 64 bit pointer.  This file is already off the vendor branch.
2003-07-28 10:25:26 +00:00
Nate Lawson
8a7e9ab4b7 Fix the ACPI_DEBUG build for the non-module case. Move the #define into
acfreebsd.h and remove it from the Makefile.  Now ACPI_DEBUG implies
ACPI_DISASSEMBLER.

Noticed by:	marcel
2003-07-15 19:18:41 +00:00
Nate Lawson
4bad3a1025 Remove a multiply-defined function. The change has been submitted to the
vendor.
2003-07-14 02:58:00 +00:00
Nate Lawson
726c457a48 This commit was generated by cvs2svn to compensate for changes in r117535,
which included commits to RCS files with non-trunk default branches.
2003-07-14 02:58:00 +00:00
Nate Lawson
0078ca95f5 Fix handling of _BST in the new dist.
Submitted by:	kochi@netbsd.org
2003-07-13 22:52:51 +00:00
Nate Lawson
377a65490a This commit was generated by cvs2svn to compensate for changes in r117527,
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:52:51 +00:00
Nate Lawson
1fd6e80f3e Patch for global lock error messages that the vendor will import eventually.
Originally committed as 1.1.1.17
2003-07-13 22:50:30 +00:00
Nate Lawson
767fb63125 This commit was generated by cvs2svn to compensate for changes in r117525,
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:50:30 +00:00
Nate Lawson
a4ae793658 Commit local patches for files off the vendor branch. 2003-07-13 22:47:01 +00:00
Nate Lawson
4f42014b1c Unmodified files from the vendor 0619 dist that should no longer be off the
vendor branch.
2003-07-13 22:45:34 +00:00
Nate Lawson
4146e46ceb ACPICA import from the 0619 dist. 2003-07-13 22:44:13 +00:00
Nate Lawson
5303348047 This commit was generated by cvs2svn to compensate for changes in r117521,
which included commits to RCS files with non-trunk default branches.
2003-07-13 22:44:13 +00:00
Nate Lawson
f47e25c34e Fix a bug in register access. This should fix warning messages of:
ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER

Submitted by:	jhb
2003-06-23 17:38:38 +00:00
Nate Lawson
121053bff9 This commit was generated by cvs2svn to compensate for changes in r116748,
which included commits to RCS files with non-trunk default branches.
2003-06-23 17:38:38 +00:00
Nate Lawson
d0e9cc3b3a Revert to using TABLE_ID_DSDT as the default. It looks like the dynamic
ID allocation is not there yet.  This fixes a few warnings about \_OS_ not
being found and an S3 freeze for one user.
Re-staticize AcpiNsRemoveReference() since it is not needed elsewhere.

Approved by:	re (scottl)
2003-05-28 17:32:31 +00:00
Nate Lawson
2ce0a0b9ec This commit was generated by cvs2svn to compensate for changes in r115367,
which included commits to RCS files with non-trunk default branches.
2003-05-28 17:32:31 +00:00
Nate Lawson
006b3ddb51 Fix false AE_NOT_FOUND messages, reported in NetBSD port-i386/20897.
NetBSD dsmethod.c rev 1.7

Fix parent-child loop problem
Fix a reference count problem that may cause unexpected memory free
Intel 20030512 ACPICA drop (nsalloc.c)

Approved by:	re (jhb)
Obtained from:	NetBSD, Intel
Reported by:	mbr, kochi AT netbsd.org
2003-05-27 19:19:05 +00:00
Nate Lawson
480170d0b4 This commit was generated by cvs2svn to compensate for changes in r115351,
which included commits to RCS files with non-trunk default branches.
2003-05-27 19:19:05 +00:00
Warner Losh
0f78c17f6f Fix halt -p. I've done this with an import because kochi-san reports
this is fixed in a newer version of ACPICA and I don't want to take
this off the vendor branch for a trivial reason.  This patch was
applied to NetBSD by kochi-san, who also posted the patch to
acpi-jp@jp.freebsd.org.

# My Dell Inspiron 8000 now powers off!

Submitted by: takayoshi kochi-san kochi at netbsd dot org
2003-05-03 17:16:40 +00:00
Warner Losh
d2d8d8cf9d This commit was generated by cvs2svn to compensate for changes in r114584,
which included commits to RCS files with non-trunk default branches.
2003-05-03 17:16:40 +00:00
John Baldwin
e0f7366574 Restore local changes accidentally lost in the last import.
Reviewed by:	njl
2003-05-01 20:40:03 +00:00
Nate Lawson
adfda8d3b3 Resolve conflicts. 2003-04-29 19:11:00 +00:00