summaryrefslogtreecommitdiffstats
path: root/sys/ia64/acpica
Commit message (Collapse)AuthorAgeFilesLines
* Small correction in the LOCAL_SAPIC structure. The Flags fieldmarcel2001-10-291-3/+2
| | | | | | | | starts at offset 8; not 6. Hence the structure is 12 bytes and not 10 bytes. Adjust the definition so that the ProcessorEnabled flag is moved from bit 15 to bit 31 in the Flags field. The definition now matches ACPI 2.0 Errata 1.5.
* o Do not parse the MADT as a side-effect in AcpiOsGetRootPointer,marcel2001-10-292-110/+78
| | | | | | | | | | | | | | | | | | do it as a side-effect of probing for MP hardware. This allows us to scan for local SAPICs early (especially before MBUF initialization). o Fix the Local SAPIC structure so that matches the Local SAPIC table entry. Now that the Local SAPIC info is the same as the Local APIC info, stop dumping the Local APIC entries. o For every Local SAPIC entry in the MADT that's not disabled, let the SMP code know about it. They represent actual CPUs. o Register the OS_BOOT_RENDEZ entry point and provide a (bogus) implementation for the entry point. o Provide a mapping for internal IPI numbers to ExtINT vectors. o In a MP system, announce the CPUs and start them by sending IPI_AP_WAKEUP to each of them. Not that it makes a difference at this time :-) o Miscellaneous style fixes and other adjustments.
* Add APM compatibility feature to ACPI.iwasaki2001-10-261-0/+48
| | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
* Add parse functions for local APIC and I/O APIC entries.marcel2001-10-241-7/+31
| | | | Also, show when a local APIC or SAPIC is disabled.
* Wire up most of the interrupt handling infrastructure. Not sure it worksdfr2001-10-051-21/+27
| | | | | right yet but its enough for the ATA probe to work. The SCSI probes which follow are broken though.
* Add low-level ACPI support code and make a start on parsing the ACPIdfr2001-10-043-0/+356
interrupt information.
OpenPOWER on IntegriCloud