summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dsdt.c
AgeCommit message (Collapse)Author
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@
2006-03-21Disassembler now pretty prints AML code (like acpidump)Jordan Hargrave
ok marco@
2006-03-09Used common aml_opname for debuggerJordan Hargrave
Removed redundant code ok marco@
2006-03-09Remove bad XXXMarco Peereboom
ok jordan
2006-03-09Removed unused prototypesJordan Hargrave
Fixed aml_notify to use known node Added new method/node evaluator Renamed some functions for easier naming ok marco@
2006-03-08Fix proto.Marco Peereboom
2006-03-08KNF.Marco Peereboom
Undo emacsisms/jordanisms. Rearange protos and globals. This file needs more cleanup but this is a start.
2006-03-07Add "disasm" code for ddb. With this one can disassemble AML code from DDB.Marco Peereboom
example : "machine acpi disasm \\_SB_.BIF_" dumps the battery AML on my laptop. Disasm code was written by jordan. Help from miod on ddb lexer magic. ok jordan.
2006-03-05Hook acpi to ddb since we need to be able to do some live debugging.Marco Peereboom
Lots and lots of help from miod@ and deraadt@ ok deraadt@ miod@
2006-02-26Delete some debug printing that wasn't compiling.Marco Peereboom
2006-02-23Pre-parsing PCI address for opregionJordan Hargrave
ok marco@
2006-02-22Added new aml_register_notify to handle call-by-IDJordan Hargrave
Moved powerdown code to button device ok marco@
2006-02-20Calling parseint instead of parseval for getpciaddrJordan Hargrave
ok marco@
2006-02-20Added aml_bufcmp buffer comparisonsJordan Hargrave
Added getpciaddr for pci opregions ok marco@
2006-02-20Fix a typo cbproc -> proc. Found by drahn@Marco Peereboom
ok jordan@
2006-02-19Added code for aml_notify GPE notification callbackJordan Hargrave
ok marco@
2006-02-19jordan:Marco Peereboom
Enable interrupts. Added peripheral code to make this work. marco: Replace softintr and other types of interrupts with a handler with context. Fixed interrupt magic for GPEs. Some KNF This is work done by jordan and I but has to be a single commit.
2006-02-17Add a generic delay function as per the ACPI spec.Marco Peereboom
from jordan@
2006-02-17Fixed code for handling _INIJordan Hargrave
Rearranged debug statements ok marco@
2006-02-16Added stub for calling _INIJordan Hargrave
Fixed aml_dowhile for NULL return ok marco@
2006-02-16Fixed parser/evaluator to retrieve battery info+stateJordan Hargrave
Cleanup of parser Dell laptops return battery status ok marco@
2006-02-03Rewrote aml parser yet again...Jordan Hargrave
Fixed bus_space_map for i386/amd64 Added _BST and _BIF to acpibat to get status/info ok marco@
2006-01-20More evaluator changesJordan Hargrave
Removed old evaluator code Fixed _HID value ok marco@
2006-01-18Added new evaluation routinesJordan Hargrave
Added helper methods for buffer/field evaluation Fixed broken indentation on dsdt.c ok marco@
2006-01-17Major overhaul of the aml parser. Evaluater temporarily disabled.Jordan Hargrave
ok marco@
2006-01-06printf -> dnprintf conversion for debug messages.Alexander Yurchenko
2006-01-05In aml_eval_name() don't return success if no object found.Alexander Yurchenko