summaryrefslogtreecommitdiff
path: root/sys/src/libaml
AgeCommit message (Collapse)Author
2016-06-05aml: define amlintmask and set it according to DSDT revision (64bit / 32bit)cinap_lenrek
2016-06-04aml: implement ToInteger() and Match() instructionscinap_lenrek
2016-01-07format pointer subtraction results with %zd instead of %ld (for long -> ↵cinap_lenrek
intptr on amd64)
2013-09-07libaml: fix formatingcinap_lenrek
2013-09-07libaml: fix uninitialized variable in getle(), make amleval() work with ↵cinap_lenrek
buildin methods
2013-09-07libaml: use FP->env to access method arguments instead of FP->arg in evalosi()cinap_lenrek
2013-09-07libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch)cinap_lenrek
export amldelay() for microsecond sleeps. implement _OSI() method. fix rwreg argument in evalload()
2013-09-06libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding ↵cinap_lenrek
names, FindSetLeftBit/FindSetRightBit new io interface was added. user defines amlmapio() and amlunmapio() functions that will fill out Amlio structure with function pointers to read/write routines for a particular region. amlnew() function added allowing the creation of aml objects like buffers or packages. these can be passed to amleval() with b, p or * format. amltake()/amldrop() exclude an aml object from garbage collection. on load, names are not always resolvable until the whole table is loaded. for this, we create n objects that are just name strings. after load, we recursively traverse the namespace and resolve them (see fixnames()). the FindSetLeftBit and FindSetRightBit opcodes got implemened.
2013-07-12aml: preserve reference type when indexing into package to prevent implicit ↵cinap_lenrek
type conversion when storing to arg or local if LocalX or ArgX is a package, the store into a element should *not* type convert. so when taking the index reference, we have to carry over the type.
2013-06-29libaml: add Concatenate instruction, fix type conversionscinap_lenrek
2013-06-29libaml: add Load and Unload instructionscinap_lenrek
not very usefull at the moment as theres no code to map/unmap memory regions right now.
2013-06-18libaml: pikeshedd style, handle division by zero (thanks erik)cinap_lenrek
2013-06-07libaml: create \_GL name objectcinap_lenrek
2013-06-04libaml: various fixes found by plhkcinap_lenrek
- fix bogus execution of Else{} blocks - always allocate Env in amleval() - add Sleep() and Stall() instructions - keep package size for packages with empty body
2012-09-09libaml: store *value* instead of name reference in dest for alias opcinap_lenrek
2012-09-08libaml: implement Alias and Debug instructionscinap_lenrek
2012-06-17experimental acpi support for apic irq routingcinap_lenrek