drochner
3f6e0487d2
lots of cast-qual fallout
2005-05-31 21:08:37 +00:00
christos
85d43e7f3d
Sprinkle const freely and delete unnecessary casts.
2005-05-29 20:56:02 +00:00
kochi
a7c9d49c21
Merge changes for ACPI-CA 20050408
2005-05-02 14:53:04 +00:00
kochi
57d7792cce
Merge ACPI-CA 20050408
2005-05-02 14:52:09 +00:00
kochi
1b73770414
Import the INTEL ACPI-CA 20050408
2005-05-02 14:42:07 +00:00
kochi
7322c3b561
Add code for replacing DSDT. See comments in the file.
...
Ideas from T.Shiozaki.
2004-06-07 17:35:14 +00:00
kochi
beb4a7fe16
specify static where appropriate.
2004-05-01 12:03:27 +00:00
simonb
9bc855a931
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
kochi
9a5dc2e233
return (x) -> return x
2004-04-11 06:52:38 +00:00
kochi
db7198d645
whitespace nit
2004-04-10 11:48:10 +00:00
kochi
fa6f52f090
A bugfix for Mutex handling.
...
Originally reported by Takahiro Kambe and this fixed
powerdown on his Panasonic CF-R1N.
This fix is already reported to Intel ACPI-CA team, and will be
included in future releases of ACPI-CA.
2004-04-07 18:19:33 +00:00
kochi
bd173d33bf
Fix 16bit-wide access to PCI configuration space.
2004-03-30 11:12:32 +00:00
drochner
d81255df54
some int->ACPI_INTEGER to make it compile on amd64 again
2004-03-23 19:00:03 +00:00
kochi
93ec3b2720
Merge ACPI-CA 20040211.
2004-02-14 16:57:24 +00:00
soren
e8492b62f8
Log message from FreeBSD:
...
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 at intel.com>
2004-02-02 08:00:56 +00:00
gendalia
710460b874
Apply http://bugme.osdl.org/attachment.cgi?id=1777&action=view from
...
http://bugme.osdl.org/show_bug.cgi?id=1766
makes acpi work on my Dell Latitude D600, and should fix PR i386/23868.
Approved by gimpy, thanks to soren for finding it.
2004-01-04 22:03:34 +00:00
kochi
392db58804
correct handling of _SI.SST method as it is described in ACPI spec.
2003-12-21 10:27:23 +00:00
kochi
503ef186e1
Make ACPI interpreter a bit permissive:
...
* emulate ReturnOp where expected but not existing
(which is found in some buggy firmwares)
from FreeBSD's local changes
2003-12-21 07:53:57 +00:00
kochi
2bd0af644b
Give up unresponding hardware when entering sleep state.
...
from FreeBSD's local changes.
2003-12-21 07:51:18 +00:00
kochi
d4eea31ad8
Make ACPI interpreter a bit permissive:
...
* allow access beyond limit of a region
(which is found in some buggy firmwares)
from FreeBSD's local changes
2003-12-21 07:50:26 +00:00
kochi
c2adc9e9b9
Merge ACPI-CA 20031203
2003-12-13 18:10:59 +00:00
kochi
26cac303c7
Remove unused file.
2003-11-26 16:06:12 +00:00
kochi
9e86672dce
convert tab -> space (pointed out by Kanaoka-san)
2003-11-20 16:15:59 +00:00
kochi
e712db964a
fix for ThinkPad 'large reference count' problem.
...
from shaohua.li at intel.com
2003-11-20 15:42:16 +00:00
kochi
ca17019a08
* Preserve original $Revision$
...
* add __KERNEL_RCSID
2003-11-09 11:50:59 +00:00
matt
0c6f824d5a
Fix LP64 bug.
2003-11-02 18:29:46 +00:00
mycroft
3970401fd9
Add a file.
2003-10-31 20:52:47 +00:00
mycroft
ded1804c79
Catch up with changes to the AcpiOs*() interfaces.
2003-10-31 20:52:30 +00:00
mycroft
6c29cf39bb
Merge acpica-unix-20031029.
2003-10-31 20:51:07 +00:00
mycroft
0314a111c1
Import latest ACPI-CA.
2003-10-31 20:47:38 +00:00
mycroft
f0b481ee05
Swap the order of buffer initialization and _STA/_INI execution. _INI methods
...
sometimes want to store data in global buffers (e.g. on the Inspiron 8500, to
remember initial battery status).
2003-10-31 17:21:01 +00:00
mycroft
3dc763c88b
Patches from Christos to fix double-frees and error handling.
2003-10-30 17:46:08 +00:00
kochi
77db8900ab
Correct calculation of timeout.
2003-08-15 17:07:04 +00:00
kochi
645984364d
Workaround for AcpiOsGetThreadId: can be called with curlwp == NULL
2003-08-03 08:19:58 +00:00
christos
ec3e43edf4
appease gcc-3 by adding ULL to constants that do not fit in longs
2003-08-03 03:49:29 +00:00
kochi
61634e9a74
Don't compile db*.c & dm*.c unless ACPI_DEBUG and DDB are specified
2003-07-08 15:34:32 +00:00
kochi
03c72d8b24
Fix typo.
2003-07-06 03:50:07 +00:00
kochi
3c3271accf
Cleanup usage of ENABLE_DEBUGGER/ACPI_DEBUGGER/DDB.
...
By this change, ACPI debugger/disassembler are only
compiled when both DDB and ACPI_DEBUG options are
specified. This change also reduces the kernel size
a little when ACPI_DEBUG is not specified.
2003-07-03 14:37:34 +00:00
kochi
68dae3c110
Implement AcpiOsDerivePciId
2003-07-02 11:45:08 +00:00
kochi
862f80594c
Bugfix from FreeBSD tree:
...
>Fix a bug in register access. This should fix warning messages of:
> ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER
Thanks for jhb@freebsd to find out this problem.
2003-07-01 17:49:57 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
kochi
0cb6714769
Backport a bugfix from the latest ACPI CA.
...
This will fix false AE_NOT_FOUND messages, reported in
port-i386/20897.
2003-05-25 10:08:24 +00:00
kochi
bf026fa41a
Fix a reference count problem that may cause unexpected memory free etc.
...
This is a backport of the latest ACPI CA that has a fix for this.
2003-05-13 13:29:00 +00:00
kochi
19e73853da
Fix parent-child loop problem found by Takashi Yamamoto.
2003-05-13 13:07:13 +00:00
fvdl
f0e810d923
Always use 32bit-wide header pointers for an RSDT (ACPI 1.0). The comment
...
in the code talks about "machine-dependent length", but my copy of
the spec clearly says "an array of 32-bit physical addresses".
2003-05-12 00:19:17 +00:00
fvdl
3d7030e668
Avoid some strict-alias warnings.
2003-05-11 21:20:23 +00:00
fvdl
c99f4a15ba
s/UINT32/ACPI_SIZE/ to match function prototypes.
2003-05-11 19:08:37 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
thorpej
9dd2908b35
Use sysmon_taskq.
2003-04-20 20:21:29 +00:00