Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-07 | Fix memory leak bug during scope evaluation (now without introducing a bug | Mark Kettenis | |
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@ | |||
2008-10-04 | Commit cleanup part of the diff that was backed out in the previous commit | Mark Kettenis | |
(removal of unused functions). requested by deraadt@ | |||
2008-09-29 | back out previous commit, since it is breaking a variety of machines | Theo de Raadt | |
(Supermicro X5DLR, and seperately, see pr 5941) | |||
2008-09-25 | Fixed memory leak bug during scope evaluation | Jordan Hargrave | |
Removed unused functions ok marco@ | |||
2008-09-10 | Convert timeout_add() calls using multiples of hz to timeout_add_sec() | Bret Lambert | |
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@ | |||
2008-08-14 | If the AML SizeOf() method is called with an object reference it should | Joel Sing | |
return the size of the referenced object. This fixes a panic on the ASUS eeePC 1000H when attaching the acpiasus(4) driver. Issue reported and fix tested by robert@ ok marco@ | |||
2008-06-14 | Fixed evil recursion depth for ASUS EEEPC, uses less memory too | Jordan Hargrave | |
ok @marco | |||
2008-06-13 | Remove duplicate function for string to integer conversion. ok jordan@ | Can Erkin Acar | |
2008-06-13 | Cleanup for aml_xcreatefield, added flags argument | Jordan Hargrave | |
ok @canacar | |||
2008-06-13 | Cleanup, remove old/unused functions | Jordan Hargrave | |
ok @canacaR | |||
2008-06-12 | Removed old AML disassembler code | Jordan Hargrave | |
ok @marco | |||
2008-06-12 | Fixed AMLOP_LOAD for _PSS on Thinkpad | Jordan Hargrave | |
ok @gwk | |||
2008-06-12 | Fixed memory leaks for AML parser | Jordan Hargrave | |
added new stack handling interface removed delay during parsing ok @marco | |||
2008-06-11 | Fix $OpenBSD$ for once and for all | Marco Peereboom | |
2008-06-08 | Add a malloc type for ACPI and use it for _acpi_os_malloc and free. | Artur Grabowski | |
kettenis@ ok | |||
2008-06-08 | Implement aml_str2val() ok marco@ | Can Erkin Acar | |
2008-06-08 | unused globals and defines; ok toby | Theo de Raadt | |
2008-06-07 | Move #if 0 up to include currently unused fixup tables. | Marco Peereboom | |
2008-06-06 | Shrink acpi some more for floppies and while here re-enable acpi on the | Marco Peereboom | |
floppies. Fixes crazy sony vaio kettenis has. tested by deraadt ok deraadt jordan kettenis | |||
2008-06-04 | Fix panic on my i386 box when local variable isnt handled properly. | Marco Peereboom | |
code from jordan | |||
2008-06-01 | Re-enable new parser. Lots of testing by various folks. Fits all media | Marco Peereboom | |
now too. ok kettenis deraadt | |||
2008-05-16 | back out jordans new parser. | David Gwynne | |
it didnt have enough oks from the right people, it did break machines that were previously working, and it bloated the RAMDISKS and install media beyond the constraints of the media. requested by deraadt@ | |||
2008-05-15 | Ripped out old parser guts | Jordan Hargrave | |
ok loki@ | |||
2008-05-15 | Handle Alias named objects, return original object | Jordan Hargrave | |
Clear out result before evaluating | |||
2008-05-14 | only compile aml_dump() if option ACPI_DEBUG. | Miod Vallat | |
2008-05-14 | Let this build and link if SMALL_KERNEL. | Miod Vallat | |
2008-05-14 | Adding new ACPI Parser code | Jordan Hargrave | |
Old guts of code still exists, needs to be torn out next ok marco@ ok brad@ | |||
2008-02-07 | unbreak SMALL_KERNEL kernels, with miod | Henning Brauer | |
2008-02-05 | Added change for debugging setbufint | Jordan Hargrave | |
ok marco@ | |||
2008-01-22 | Added change to parseop to support return value; removes 1/2 stack depth for | Jordan Hargrave | |
parseint ok marco@ | |||
2007-12-02 | Added AMLOP_BREAKOPINT function handler for X40 systems | Jordan Hargrave | |
ok marco@ | |||
2007-11-17 | Print the type that's wrong. | Mark Kettenis | |
2007-11-17 | Buffers are not necessarily NUL-terminated, so use memcpy instead of strlcpy | Mark Kettenis | |
to convert a buffer into a string. ok canacar@, marco@ | |||
2007-11-15 | don't waste our time telling the aml that we are OpenBSD; it will never | Theo de Raadt | |
make a good decision based on that; ok kettenis canacar | |||
2007-11-14 | shrink floppy build by knocking out some unused bits of code; seen by canacar | Theo de Raadt | |
2007-11-14 | Fix handling of local AML variables for type conversion: | Can Erkin Acar | |
Check whether a variable is local before and after dereferencing. Improve the check to make sure that the variable is in local in current scope. Tested by many, thanks a lot. ok marco@ | |||
2007-11-10 | do not check malloc return value against NULL, as M_WAITOK is used | Charles Longeau | |
ok marco@ | |||
2007-11-08 | Pass correct pointers to memcpy when concatanating strings/buffers | Can Erkin Acar | |
ok weingart@, marco@ | |||
2007-11-08 | convert the value to a string instead of using aml_val2str() | Can Erkin Acar | |
which returns invalid pointers if the value is not a string, causing acpibat to panic, as reported by mbalmer@ and Alexey Suslikov. tested by Alexey Suslikov, ok marco@ | |||
2007-11-05 | Use the acpi_{acquire,release}_global_lock() to implement the global | Tobias Weingartner | |
functionality for ACPI. Has not shown any regressions, and may solve some EC race conditions. Ok gwk@, canacar@, ckuethe@ | |||
2007-11-03 | ACPI allows the OS to identify itself in a couple of ways and may behave | Chris Kuethe | |
differently based on what OS is running. This diff causes us to run the RedmondOS code path in hopes that it is "better" AML, or has better settings for machine that do not support _OSI. This is the same method used by other non-Redmond operating sytems. suggestions/ok deraadt, agonized whimpers from the others. | |||
2007-11-03 | Add missing else so that Concatanation of two buffers work. | Can Erkin Acar | |
Noticed by robert@ while diagnosing a problem report by Johan Lindman. ok weingart@ | |||
2007-11-03 | Fix setting values to buffers by obeying the conversion rules. | Can Erkin Acar | |
The values are truncated or zero extended as required. The spec is somewhat ambigious on strings and integers requiring truncation "before copy" so we try to be safe and zero terminate the buffer in case the source is string. Reported by ckuethe@, diagnosis, initial diff and feedback by kettenis@ ok kettenis@, beck@, weingart@, robert@, gwk@, ckuethe@ | |||
2007-11-03 | Remove those words... | Chris Kuethe | |
2007-11-03 | ACPI allows the OS to identify itself in a couple of ways and may behave | Chris Kuethe | |
differently based on what OS is running. This diff causes us to run the WinNT code path in hopes that it is "better" AML, or has better settings for machine that do not support _OSI. This is the same method used by other non-windows operating sytems. ok gwk, beck, jordan | |||
2007-11-03 | Changed aml_parselength to use incremental length calc | Jordan Hargrave | |
ok canacar@ | |||
2007-10-08 | More simple memset(,0,) -> M_ZERO changes. In this batch move to | Kenneth R Westerback | |
size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby. | |||
2007-09-13 | Implement 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-08 | Case ranges e.g. case 'A' ... 'Z': are a gcc-ism not valid C. Fix these, and | Gordon Willem Klok | |
a bit of whitespace cleanup while here. ok otto, deraadt | |||
2007-04-11 | Added changes for C-State | Jordan Hargrave | |
ok marco@ |