Commit Graph

18 Commits

Author SHA1 Message Date
christos f69bc61a87 remove redundant declaration 2002-12-28 20:06:07 +00:00
jmcneill 8eb0fffdfc Add an npx at acpi(4) attachment 2002-12-28 17:51:16 +00:00
fvdl af8aa9d5df Get this to compile again in the ioapic case. 2002-11-22 16:16:56 +00:00
fvdl ae4b76c8d3 New interrupt code. The basic idea behind it is to hide the differences
in interrupt controllers in struct pic, and try to keep as much
common code as possible. At the lowest (asm) level, this is done
with CPP macros.

The main structure is now struct intrsource, describing an established
interrupt line, of any kind (soft/hard local apic/legacy apic/IO apic).
For quick masking, there may be a maximum of 32 sources per CPU.
Sources can be assigned to any CPU in the MP case, though currently they
all go to the boot CPU.
2002-11-22 15:23:35 +00:00
tshiozak cb23a3a13b fix wrong uses of ACPI CA API in the last commit, and a bit cosmetic change. 2002-10-12 15:43:00 +00:00
thorpej 1ad8e0ff42 Tidy up CFATTACH_DECL() formatting. 2002-10-02 05:47:08 +00:00
fvdl 26ab868e68 Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
2002-10-01 12:56:36 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
christos 0b3fc0988b Regen. 2002-06-18 17:22:10 +00:00
christos 88612aefe1 ${CC} 2002-06-18 17:21:53 +00:00
christos 48b4953ba1 simplify: use hexdump to produce the output in the desired form instead
of massaging it with sed.
2002-06-18 17:21:33 +00:00
drochner 8d0aee4e8d make it compile with ACPI_DEBUG
(removing the half-done debugging support, sorry)
2002-06-18 10:32:02 +00:00
tshiozak 0c0fe6076b use AcpiHwRegister{Read,Write} functions instead of (obsoleted)
AcpiHwBitRegister{Read,Write}.
2002-06-18 07:53:05 +00:00
tshiozak c6d5efc480 auto-generated code from acpi_wakecode.S.
standard update process of this file :
  1. fix acpi_wakecode.S .
  2. commit acpi_wakecode.S .
  3. make -f Makefile.wakecode
  4. commit acpi_wakecode.h .
2002-06-18 07:41:15 +00:00
tshiozak 4ba1b15b75 add a code to embed RCS tag of acpi_wakecode.S in acpi_wakecode.h . 2002-06-18 07:37:37 +00:00
tshiozak 834397e5a9 ACPI wake-up code for i386. but, we have no interface to use it efficiently. 2002-06-18 07:25:12 +00:00
christos 1fb8545c60 Copyright and comment clarification from Masanori-san. 2002-06-18 02:42:16 +00:00
christos 5d3a22f6d5 Move MI drivers here. Approved by thorpej 2002-06-17 22:38:03 +00:00