| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
These are not in a printable format, hence printing them as string is
wrong. Additionally, aml_searchrel()/aml_searchname() expect the name
to be passed in a printable format as well. Passing a nameref can lead
to an out-of-bounds read, and the comparison can fail. Hence make sure
that namerefs are passed to aml_getname() first, which returns printable
strings. Note that aml_getname() uses a static buffer, so there are a
few restrictions how the string can be used.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These references need to be resolved at runtime rather than when
they're parsed such that they pick up the right values for those nodes
which can be changed when for example _INI methods run.
The current approach is to replace these reference with a string that
names the node in question. The problem with that is that packages
can also contain normal strings. Which means that we need special
code that depends on the context where the package is used.
This diff takes a different approach by retaining a reference when
parsing. Code that uses a package will need to resolve this reference
but there is no ambiguiety anymore.
ok patrick@
|
|
|
|
| |
ok mpi@, jung@, krw@, deraadt@
|
|
|
|
| |
ok kettenis
|
| |
|
| |
|
| |
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
|
| |
(used only when ACPI_DEBUG is enabled)
From a diff on tech@ by Fabian Raetz, with a minor change by me, tested
on i386 and amd64 with ACPI_DEBUG enabled and disabled.
|
| |
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
| |
and enumerate the sensors. When available aibs is using the RTMP, RVLT,
and RFAN nodes else in new mode GGRP, GITM, and SITM are used.
Tested by me and japser@ on old HW and me and Mattieu Baptiste on new HW.
OK deraadt@
|
|
|
|
|
|
|
|
| |
operations must currently operate under the acpi thread. So use
aml_register_notify with ACPI_POLL for now -- it is a horrific hack of
an interface, but now that all drivers are unified to use it, we can
consider improving it.
tested by jasper and claudio
|
|
|
|
|
|
|
| |
Fixes build with gcc4 which otherwise optimises away the modifications
to it, discovered by jakemsr@.
ok marco jsg
|
| |
|
| |
|
|
with sensor state support through limits provided by the ACPI.
Tested on several ASUS motherboards kindly networked by Sam Fourman Jr.
ok deraadt marco jordan
|