#
b19e9d5b |
|
08-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
PowerStatus: improved API, minor fixes. * ioctl() does not return a status_t; fixed its usage. * Do not overwrite the cached battery info with bogus data (this is quite strict, though). * Improved DriverInterface API with a more "natural" argument order. * Simplified some code.
|
#
077c84eb |
|
05-Nov-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel: atomic_*() functions rework * No need for the atomically changed variables to be declared as volatile. * Drop support for atomically getting and setting unaligned data. * Introduce atomic_get_and_set[64]() which works the same as atomic_set[64]() used to. atomic_set[64]() does not return the previous value anymore.
|
#
756b64fd |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed the obsolescent [B]Reference[able] API and replaced the remaining uses. Fixes the gcc 2 acpi build. * Renamed WeakReferenceable::{Add,Remove}Reference() to {Acquire,Release}Reference() for consistency. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39871 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
780e0413 |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The device watcher now waits on a semaphore, and doesn't use snooze() anymore. * This has the advantage that we can quit PowerStatus instantly, instead of having to wait for two seconds in the worst case. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32257 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95ea1dab |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Improved the disabled look (in case there is no battery -- apparently, the ACPI interface needs some more work, as it currently uses BATTERY_CRITICAL_STATE to report that there is no battery...). * Cleanup of many more of Clemens' coding style violations... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32256 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08145692 |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early. Using a Referenceable seems to fix it now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2cdb463 |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
The monitor watcher list was not locked when broadcast a message. Probably it caused #4151 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31982 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aed176c |
|
09-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working! TODO: - Get along with the Layout engine, the extended info window looks "no very nice". - Reading the battery status takes too long so put it into a thread or cache it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31484 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b19e9d5b71831ec5df3f2b06632bfef3d0bdcab9 |
|
08-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
PowerStatus: improved API, minor fixes. * ioctl() does not return a status_t; fixed its usage. * Do not overwrite the cached battery info with bogus data (this is quite strict, though). * Improved DriverInterface API with a more "natural" argument order. * Simplified some code.
|
#
077c84eb27b25430428d356f3d13afabc0cc0d13 |
|
05-Nov-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel: atomic_*() functions rework * No need for the atomically changed variables to be declared as volatile. * Drop support for atomically getting and setting unaligned data. * Introduce atomic_get_and_set[64]() which works the same as atomic_set[64]() used to. atomic_set[64]() does not return the previous value anymore.
|
#
756b64fd836dad5b63f41f0b01f8cedfec795f9d |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed the obsolescent [B]Reference[able] API and replaced the remaining uses. Fixes the gcc 2 acpi build. * Renamed WeakReferenceable::{Add,Remove}Reference() to {Acquire,Release}Reference() for consistency. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39871 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
780e0413a18c42385856fa9987ac9f9c02f3d0c2 |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The device watcher now waits on a semaphore, and doesn't use snooze() anymore. * This has the advantage that we can quit PowerStatus instantly, instead of having to wait for two seconds in the worst case. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32257 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95ea1dab5af35be055bf55b19937dfc9bf55caae |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Improved the disabled look (in case there is no battery -- apparently, the ACPI interface needs some more work, as it currently uses BATTERY_CRITICAL_STATE to report that there is no battery...). * Cleanup of many more of Clemens' coding style violations... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32256 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08145692162a862016dc9a473b7372e879df9d7a |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early. Using a Referenceable seems to fix it now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2cdb463b3c335901edabaab244e80431418b028 |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
The monitor watcher list was not locked when broadcast a message. Probably it caused #4151 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31982 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aed176c0988537d716a89e11130b4253179f607 |
|
09-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working! TODO: - Get along with the Layout engine, the extended info window looks "no very nice". - Reading the battery status takes too long so put it into a thread or cache it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31484 a95241bf-73f2-0310-859d-f6bbb57e9c96
|