Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
e8d472a7 |
| 01-Nov-2005 |
Jung-uk Kim <jkim@FreeBSD.org> |
Catch up with ACPI-CA 20051021 import
|
#
2a191126 |
| 11-Sep-2005 |
David E. O'Brien <obrien@FreeBSD.org> |
Canonize the include of acpi.h.
|
#
a3ab9d1e |
| 23-Jul-2005 |
Nate Lawson <njl@FreeBSD.org> |
Standardize __FBSDID identifiers.
MFC after: 2 days
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
98910d55 |
| 18-Jun-2004 |
Nate Lawson <njl@FreeBSD.org> |
Remove compat code and unused lock declarations.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
c8dd7681 |
| 05-May-2004 |
Nate Lawson <njl@FreeBSD.org> |
Remove extra parentheses.
|
#
65a7c901 |
| 05-May-2004 |
Nate Lawson <njl@FreeBSD.org> |
Add an MI implementation of the ACPI global lock routines and retire the individual asm versions. The global lock is shared between the BIOS and OS and thus cannot use our mutexes. It is defined in
Add an MI implementation of the ACPI global lock routines and retire the individual asm versions. The global lock is shared between the BIOS and OS and thus cannot use our mutexes. It is defined in section 5.2.9.1 of the ACPI specification.
Reviewed by: marcel, bde, jhb
show more ...
|
#
e4a51234 |
| 14-Apr-2004 |
Nate Lawson <njl@FreeBSD.org> |
Style cleanups, use M_ZERO instead of bzero, unify the !semaphore and semaphore return paths.
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
1d7b121c |
| 26-Sep-2003 |
Nate Lawson <njl@FreeBSD.org> |
Make debug.acpi.level and debug.acpi.layer sysctls that can be set with the strings found in acpi(4). Also make acpi_ca_version a string so it is more readable.
|
#
6fca9360 |
| 14-Jul-2003 |
Nate Lawson <njl@FreeBSD.org> |
Update code to work with 0619 dist
* Use ACPI_BUFFER as the type for AcpiGetObjectInfo * Remove AcpiEnableEvent/AcpiClearEvent for ACPI_EVENT_FIXED (power/sleep buttons) as they are no longer need
Update code to work with 0619 dist
* Use ACPI_BUFFER as the type for AcpiGetObjectInfo * Remove AcpiEnableEvent/AcpiClearEvent for ACPI_EVENT_FIXED (power/sleep buttons) as they are no longer needed * Change calls to use the new GPE functions * Add AcpiOs*Lock functions
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
21b5fd3c |
| 27-Nov-2002 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Resolve conflicts arising from the ACPI CA 20021118 import.
|
#
b60bd0c1 |
| 16-Oct-2002 |
John Baldwin <jhb@FreeBSD.org> |
Implement the internal locks of an ACPI semaphore with splhigh() on 4-stable. -current uses a mutex for this purpose.
Sponsored by: The Weather Channel
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
c169fc47 |
| 06-Jul-2002 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Fix wrong use of ACPI_NO_UNIT_LIMIT which is for as_maxunits, not as_units.
|
Revision tags: release/4.6.0_cvs |
|
#
b4a05238 |
| 19-May-2002 |
Peter Wemm <peter@FreeBSD.org> |
Brutally deal with __func__ being 'const char *' on gcc-3.1.
|
#
6008862b |
| 04-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zon
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
show more ...
|
#
72e5754c |
| 23-Feb-2002 |
Mike Smith <msmith@FreeBSD.org> |
Match namespace cleanup changes in ACPI CA 20020217 update.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
c573e654 |
| 22-Dec-2001 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
Add OS layer ACPI mutex and threading support. - Temporary fix a bug of Intel ACPI CA core code. - Add OS layer ACPI mutex support. This can be disabled by specifying option ACPI_NO_SEMAPHORES.
Add OS layer ACPI mutex and threading support. - Temporary fix a bug of Intel ACPI CA core code. - Add OS layer ACPI mutex support. This can be disabled by specifying option ACPI_NO_SEMAPHORES. - Add ACPI threading support. Now that we have a dedicate taskqueue for ACPI tasks and more ACPI task threads can be created by specifying option ACPI_MAX_THREADS. - Change acpi_EvaluateIntoBuffer() behavior slightly to reuse given caller's buffer unless AE_BUFFER_OVERFLOW occurs. Also CM battery's evaluations were changed to use acpi_EvaluateIntoBuffer(). - Add new utility function acpi_ConvertBufferToInteger(). - Add simple locking for CM battery and temperature updating. - Fix a minor problem on EC locking. - Make the thermal zone polling rate to be changeable. - Change minor things on AcpiOsSignal(); in ACPI_SIGNAL_FATAL case, entering Debugger is easier to investigate the problem rather than panic.
show more ...
|
#
9d839ea8 |
| 21-Jul-2001 |
Mike Smith <msmith@FreeBSD.org> |
Update the OSD module to match the ACPI CA 20010717 import.
Submitted by: "Grover, Andrew" <andrew.grover@intel.com> (OsdHardware.c)
|
#
4fa8ded9 |
| 30-May-2001 |
Mike Smith <msmith@FreeBSD.org> |
What I get for "fixing" at the last minute. Correct a mis-merge of takawata's timeout fix and put proc.h into the right file.
Submitted by: nnd@mail.nsk.ru
|
#
2a4ac806 |
| 29-May-2001 |
Mike Smith <msmith@FreeBSD.org> |
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit)
- Updates for new constant naming in the ACPI CA 20010518 update. - Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit) - Fix a deadlock in the EC code (takawata) - Improve arithmetic and reduce the risk of spurious wakeup in AcpiOsSleep. - Add AcpiOsGetThreadId. - Simplify mutex code (still disabled).
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
f34fa851 |
| 28-Mar-2001 |
John Baldwin <jhb@FreeBSD.org> |
Catch up to header include changes: - <sys/mutex.h> now requires <sys/systm.h> - <sys/mutex.h> and <sys/sx.h> now require <sys/lock.h>
|
#
9ed346ba |
| 09-Feb-2001 |
Bosko Milekic <bmilekic@FreeBSD.org> |
Change and clean the mutex lock interface.
mtx_enter(lock, type) becomes:
mtx_lock(lock) for sleep locks (MTX_DEF-initialized locks) mtx_lock_spin(lock) for spin locks (MTX_SPIN-initialized)
simil
Change and clean the mutex lock interface.
mtx_enter(lock, type) becomes:
mtx_lock(lock) for sleep locks (MTX_DEF-initialized locks) mtx_lock_spin(lock) for spin locks (MTX_SPIN-initialized)
similarily, for releasing a lock, we now have:
mtx_unlock(lock) for MTX_DEF and mtx_unlock_spin(lock) for MTX_SPIN. We change the caller interface for the two different types of locks because the semantics are entirely different for each case, and this makes it explicitly clear and, at the same time, it rids us of the extra `type' argument.
The enter->lock and exit->unlock change has been made with the idea that we're "locking data" and not "entering locked code" in mind.
Further, remove all additional "flags" previously passed to the lock acquire/release routines with the exception of two:
MTX_QUIET and MTX_NOSWITCH
The functionality of these flags is preserved and they can be passed to the lock/unlock routines by calling the corresponding wrappers:
mtx_{lock, unlock}_flags(lock, flag(s)) and mtx_{lock, unlock}_spin_flags(lock, flag(s)) for MTX_DEF and MTX_SPIN locks, respectively.
Re-inline some lock acq/rel code; in the sleep lock case, we only inline the _obtain_lock()s in order to ensure that the inlined code fits into a cache line. In the spin lock case, we inline recursion and actually only perform a function call if we need to spin. This change has been made with the idea that we generally tend to avoid spin locks and that also the spin locks that we do have and are heavily used (i.e. sched_lock) do recurse, and therefore in an effort to reduce function call overhead for some architectures (such as alpha), we inline recursion for this case.
Create a new malloc type for the witness code and retire from using the M_DEV type. The new type is called M_WITNESS and is only declared if WITNESS is enabled.
Begin cleaning up some machdep/mutex.h code - specifically updated the "optimized" inlined code in alpha/mutex.h and wrote MTX_LOCK_SPIN and MTX_UNLOCK_SPIN asm macros for the i386/mutex.h as we presently need those.
Finally, caught up to the interface changes in all sys code.
Contributors: jake, jhb, jasone (in no particular order)
show more ...
|
#
9453136d |
| 31-Jan-2001 |
Mike Smith <msmith@FreeBSD.org> |
Add some debugging.
Turn off semaphores. Nobody else implements them, and there is lots of AML out there which does totally absurd things with them, meaning that if we try to do the right thing we
Add some debugging.
Turn off semaphores. Nobody else implements them, and there is lots of AML out there which does totally absurd things with them, meaning that if we try to do the right thing we are guaranteed to fail.
show more ...
|
#
0c645db4 |
| 22-Jan-2001 |
Mike Smith <msmith@FreeBSD.org> |
Plug a memory leak in AcpiOsDeleteSemaphore where the mutex is not properly destroyed.
Submitted by: bmilekic
|
#
e0b349e6 |
| 08-Dec-2000 |
Mike Smith <msmith@FreeBSD.org> |
Staticise some malloc pools
Submitted by: phk
|
Revision tags: release/4.2.0 |
|
#
fd660059 |
| 28-Oct-2000 |
Mike Smith <msmith@FreeBSD.org> |
FreeBSD-specific OSD (operating system dependant) modules for the Intel ACPICA code.
|