History log of /freebsd-9.3-release/sys/dev/acpica/Osd/OsdInterrupt.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 249132 05-Apr-2013 mav

MFC r227293 (by ed):
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 217278 11-Jan-2011 jkim

Fix a witness(4) warning introduced in r217238.


# 217241 10-Jan-2011 jkim

Remove impossible error conditions.


# 217240 10-Jan-2011 jkim

Add forgotten free(9) in the previous commit for an error case.


# 217238 10-Jan-2011 jkim

Allow AcpiOsInstallInterruptHandler() and AcpiOsRemoveInterruptHandler() to
install or remove non-SCI interrupt handlers per ACPI Component Architecture
User Guide and Programmer Reference. ACPICA may install such interrupt
handler when a GPE block device is found, for example. Add a wrapper for
ACPI_OSD_HANDLER, convert its return values to ours, and make it a filter.
Prefer KASSERT(9) over panic(9) as we have never seen those in reality.
Clean up some style(9) nits and add my copyright.


# 193530 05-Jun-2009 jkim

Import ACPICA 20090521.


# 166901 23-Feb-2007 piso

o break newbus api: add a new argument of type driver_filter_t to
bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@


# 150003 11-Sep-2005 obrien

Canonize the include of acpi.h.


# 148318 22-Jul-2005 njl

Standardize __FBSDID identifiers.

MFC after: 2 days


# 138300 01-Dec-2004 marks

Catch up with AcpiOsSleep() interface change.
Catch up with some #define's renaming.
Implement AcpiOsGetTimer() as per ACPI 3.0.

Approved by: njl
MFC after: 1 week


# 133626 13-Aug-2004 njl

MPSAFE locking

* Remove the interrupt wrapper that locked Giant and call the handler
directly. Mark the handler as MPSAFE.
* Don't attempt to detect if a handler is installed. Leave that to the
bus_alloc_resource() function.


# 128226 14-Apr-2004 njl

Style cleanup, plus properly backup partial resource allocation in
AcpiOsInstallInterruptHandler() in the case of failure to initialize.


# 127135 17-Mar-2004 njl

Convert callers to the new bus_alloc_resource_any(9) API.

Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde


# 122565 12-Nov-2003 jhb

Reindent to non-style(9) compliant 4 space indent to match rest of file.


# 122564 12-Nov-2003 jhb

Add an ACPI_FUNCTION_TRACE() invocation to acpi_OverrideInterruptLevel()
to fix compile with ACPI_DEBUG.

Reported by: tinderbox


# 122500 11-Nov-2003 jhb

Add an acpi_OverrideInterruptLevel() method that OSPM can use to override
the InterruptLevel used for the SCI.


# 105282 16-Oct-2002 jhb

Catch up to changes in acpivar.h to add support for using ACPI on
4-stable systems.

Sponsored by: The Weather Channel


# 96926 19-May-2002 peter

Brutally deal with __func__ being 'const char *' on gcc-3.1.


# 91128 23-Feb-2002 msmith

Match namespace cleanup changes in ACPI CA 20020217 update.


# 89088 08-Jan-2002 msmith

find_devclass -> devclass_find.


# 89054 08-Jan-2002 msmith

Staticise devclasses and some unnecessarily global variables.


# 87036 28-Nov-2001 msmith

Synch with minor changes in the ACPI CA 20011120 snapshot.


# 80335 25-Jul-2001 iwasaki

Better checking of duplicated interrupt handler installation.

Reviewed by: msmith


# 79386 07-Jul-2001 msmith

Get the ACPI softc before we potentially dereference it.


# 79000 29-Jun-2001 msmith

Wrap the interrupt handler so that we can get the ACPI lock.


# 77432 29-May-2001 msmith

- 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).


# 71875 31-Jan-2001 msmith

Add some debugging statements.


# 67760 28-Oct-2000 msmith

FreeBSD-specific OSD (operating system dependant) modules for the Intel
ACPICA code.