Mark Santcroos
f8c60df7a6
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
2004-12-02 00:25:35 +00:00
Nate Lawson
e13cc46e0c
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.
2004-08-13 06:22:24 +00:00
Nate Lawson
e6f06f99f6
Style cleanup, plus properly backup partial resource allocation in
...
AcpiOsInstallInterruptHandler() in the case of failure to initialize.
2004-04-14 03:41:06 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
John Baldwin
284739a942
Reindent to non-style(9) compliant 4 space indent to match rest of file.
2003-11-12 16:24:16 +00:00
John Baldwin
07f0d09e81
Add an ACPI_FUNCTION_TRACE() invocation to acpi_OverrideInterruptLevel()
...
to fix compile with ACPI_DEBUG.
Reported by: tinderbox
2003-11-12 16:23:21 +00:00
John Baldwin
801cc576ec
Add an acpi_OverrideInterruptLevel() method that OSPM can use to override
...
the InterruptLevel used for the SCI.
2003-11-11 18:12:12 +00:00
John Baldwin
fc0ea94a7d
Catch up to changes in acpivar.h to add support for using ACPI on
...
4-stable systems.
Sponsored by: The Weather Channel
2002-10-16 17:28:53 +00:00
Peter Wemm
b4a052380f
Brutally deal with __func__ being 'const char *' on gcc-3.1.
2002-05-19 06:16:47 +00:00
Mike Smith
72e5754cfb
Match namespace cleanup changes in ACPI CA 20020217 update.
2002-02-23 05:31:38 +00:00
Mike Smith
b6b6d662bc
find_devclass -> devclass_find.
2002-01-08 19:14:59 +00:00
Mike Smith
3273b00523
Staticise devclasses and some unnecessarily global variables.
2002-01-08 06:46:01 +00:00
Mike Smith
76f2b644fd
Synch with minor changes in the ACPI CA 20011120 snapshot.
2001-11-28 04:36:29 +00:00
Mitsuru IWASAKI
44df042b35
Better checking of duplicated interrupt handler installation.
...
Reviewed by: msmith
2001-07-25 16:13:30 +00:00
Mike Smith
db302f9945
Get the ACPI softc before we potentially dereference it.
2001-07-07 10:18:10 +00:00
Mike Smith
04b09dd665
Wrap the interrupt handler so that we can get the ACPI lock.
2001-06-29 21:21:08 +00:00
Mike Smith
2a4ac806d7
- 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).
2001-05-29 20:13:42 +00:00
Mike Smith
b2e6de72d4
Add some debugging statements.
2001-01-31 09:34:54 +00:00
Mike Smith
fd660059d9
FreeBSD-specific OSD (operating system dependant) modules for the Intel
...
ACPICA code.
2000-10-28 06:56:15 +00:00