summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dsdt.c
AgeCommit message (Collapse)Author
2007-09-13Implement ACPI 6.5.1 spec tree walk for _STA and _INI.Tobias Weingartner
Fixes mk's laptop. No regressions so far (thank you to the testers). ok gwk@, mk@, marco@
2007-09-08Case ranges e.g. case 'A' ... 'Z': are a gcc-ism not valid C. Fix these, andGordon Willem Klok
a bit of whitespace cleanup while here. ok otto, deraadt
2007-04-11Added changes for C-StateJordan Hargrave
ok marco@
2007-03-23Fix set to already set localJordan Hargrave
ok marco@
2007-02-27please, check it compiles before you commitTheo de Raadt
2007-02-27Added fix for condref, free storing into valueJordan Hargrave
ok marco
2007-02-22New resource mapper interface and structuresJordan Hargrave
ok marco@
2007-02-21Fixed deref for storing to local after CondRef opJordan Hargrave
ok marco@
2007-02-20Move AML_OBJDEBUG into ACPI_DEBUG.Marco Peereboom
KNF while in here too.
2007-02-18Added dynamic perfect hash for opcodesJordan Hargrave
ok marco@
2007-02-13Fixed stupid bit mangling on index fieldsJordan Hargrave
Changed field read/write code for special case aligned, non-aligned read/write ok marco@
2007-02-06Added support for calling _OSI methodJordan Hargrave
Display byte/word/string/nameref for aml_mnem function ok marco@
2007-01-23Fixes for static integer settingJordan Hargrave
thanks to giovanni ok marco@
2007-01-18Added fix for static integerJordan Hargrave
ok marco@
2007-01-16Fix invalid _CRS length. Some aml implementations lie about how long aMarco Peereboom
_CRS buffer is and this compensates for it by fixing up the minimum value. This fixes several machines that end up with invalid irq/ioapic values. KNF nit as well Code from jordan, tested on Intel SHG2 board (he committed this agains my local tree)
2006-12-26Add polling to devices that require it such as acpibat and acpitz.Marco Peereboom
Use the same tsleep/wakeup mechanism as the interrupt code to keep it non- concurrent.
2006-12-23Correctly compute timeout value in acpi_sleep.Can Erkin Acar
Also make sure it is non zero. ok marco@
2006-12-20nearly complete knfTheo de Raadt
2006-12-20first steps of knf (trying not to step on jordan's feet too much); ok marcoTheo de Raadt
2006-12-20skip the perfect hash for now since it wastes a lot of kernel memory,Theo de Raadt
and fails to fit onto the floppies. for now, do a linear search, but someone should sort the instructions and use bsearch; ok marco
2006-12-18our panic() can take stdarg argumentsTheo de Raadt
2006-12-12- include <sys/proc.h> for tsleep();Tom Cosgrove
- change the defs of LHS, RHS, DST and DST2 to be AML_*. Noted by Marco S Hyman on misc@, these allow ACPI to be compiled into RAMDISK kernels. Suggestion for AML_ rename (to avoid name clash with TIMEZONE's DST, which was noted by someone else a while ago, but I forget who) from jordan@. ok marco@, jordan@
2006-11-29After a long debate at the hackathon it was decided that the acpi implementationMarco Peereboom
is not concurrent if the sensors thread goes away. This makes acpi completly lockless. help and ok dlg
2006-11-27Post-process PCI config space opregionsJordan Hargrave
Fixed acpiprt for stinky presario v3000 ok marco@
2006-11-27Added support for parsing _CRS resourcesJordan Hargrave
Post-parsing fixup for forward name references
2006-11-25Add mutex.Marco Peereboom
prodded dlg, ok jordan
2006-11-11Add acpi_sleep and acpi_stall functions.Marco Peereboom
ok jordan
2006-10-31add missing prototype for aml_evalinteger()Thordur I. Bjornsson
ok macro@
2006-10-30Fix nameref -> objref for forward definition evaluatorJordan Hargrave
ok marco@
2006-10-25Don't convert buffer/field output to integerJordan Hargrave
Caused problems with strings/index on some systems
2006-10-25added deref/index for integer typesJordan Hargrave
2006-10-24Added stack trace to aml_die+acpidebugJordan Hargrave
ok marco@
2006-10-23Reduced memory allocations for temporary valuesJordan Hargrave
2006-10-19Fixed AML debugger code to use new interfaceJordan Hargrave
ok marco@
2006-10-19Fixed GPE debug levelsJordan Hargrave
Fixed ref counter on temporary bufferfields DSDT parsing fully working on IBM Thinkpad ok marco@
2006-10-19Merged target/terminal handling codeJordan Hargrave
Added function call pointer to opcode table _BIF working on Dell, IBM ok marco@
2006-10-15fix broken scope bracesJordan Hargrave
added debug print to gasio ok marco@
2006-10-15Fixed buggy if-else end scopeJordan Hargrave
Fixed multi-level deref/index for thinkpads Some KNF ok marco@
2006-10-15Remove extra increment of bitmask. ok jordan@Can Erkin Acar
2006-10-12Added exportable aml_getpciaddrJordan Hargrave
Added printing args for called functions ok marco@
2006-10-12fix rcsidMarco Peereboom
2006-10-12Massive ACPI changesJordan Hargrave
Fixed ACPI leaks new ACPI API ok marco@
2006-06-14Allow changes to a Name initialized with a 'static' value.Can Erkin Acar
Problem report (PR5149), and debugging by jj.roh at thurnherr dot ch ok marco@
2006-05-31Do not put _OS_ value on the stack.Can Erkin Acar
excellent bug report and testing by Berk Demir < bdd at mindcast dot org >
2006-05-31When allocating a buffer, use the supplied length if the requestedCan Erkin Acar
length is smaller. Tested by joris@, ok gwk@
2006-05-29Check for possible NULL dereference in aml_showvalueCan Erkin Acar
tested & ok gwk@ dim@
2006-05-29Check the return value of aml_ederef isnt NULL before use.Gordon Willem Klok
Fixes a few panics. ok canacar@
2006-05-29Fix a memory overrun in the aml parser code.Can Erkin Acar
ok deraadt@, gwk@
2006-04-21remove some trailing spaces found while reading this code.Joris Vink
okay marco@
2006-04-16Use aml_bitpos() when copying a field into a buffer.Mark Kettenis
ok marco@