elcr: File relocate
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 13 Apr 2011 02:58:43 +0000 (10:58 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 13 Apr 2011 03:26:50 +0000 (11:26 +0800)
sys/platform/pc32/conf/files
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/icu/elcr.c [moved from sys/platform/pc64/isa/elcr.c with 99% similarity]
sys/platform/pc32/icu/elcr_var.h [moved from sys/platform/pc32/isa/elcr_var.h with 100% similarity]
sys/platform/pc32/icu/icu_abi.c
sys/platform/pc64/conf/files
sys/platform/pc64/icu/elcr.c [moved from sys/platform/pc32/isa/elcr.c with 99% similarity]
sys/platform/pc64/icu/elcr_var.h [moved from sys/platform/pc64/isa/elcr_var.h with 100% similarity]
sys/platform/pc64/icu/icu_abi.c
sys/platform/pc64/x86_64/machdep.c

index 65f4af3..88d04fe 100644 (file)
@@ -189,6 +189,7 @@ platform/pc32/icu/icu.c                     standard
 platform/pc32/icu/icu_abi.c            standard
 platform/pc32/icu/icu_ipl.s            standard
 platform/pc32/icu/icu_vector.s         standard
+platform/pc32/icu/elcr.c               standard
 platform/pc32/apic/ioapic_abi.c                optional        smp
 platform/pc32/apic/mpapic.c            optional        smp
 platform/pc32/apic/ioapic_ipl.s                optional        smp
@@ -224,7 +225,6 @@ platform/pc32/acpica5/acpi_fadt.c   standard
 platform/pc32/acpica5/acpi_madt.c      optional        smp
 platform/pc32/isa/asc.c                        optional        asc
 platform/pc32/isa/clock.c              standard nowerror
-platform/pc32/isa/elcr.c               standard
 dev/video/ctx/ctx.c                    optional        ctx
 dev/serial/cy/cy.c                     optional        cy
 dev/netif/elink_layer/elink.c          optional        ep
index a673b52..273e976 100644 (file)
 #include <bus/isa/isa_device.h>
 #endif
 #include <machine_base/isa/isa_intr.h>
-#include <machine_base/isa/elcr_var.h>
 #include <bus/isa/rtc.h>
 #include <machine/vm86.h>
 #include <sys/random.h>
 
 #include <sys/machintr.h>
 #include <machine_base/icu/icu_abi.h>
+#include <machine_base/icu/elcr_var.h>
 #include <machine_base/apic/ioapic_abi.h>
 
 #define PHYSMAP_ENTRIES                10
similarity index 99%
rename from sys/platform/pc64/isa/elcr.c
rename to sys/platform/pc32/icu/elcr.c
index 849d429..5e74cbf 100644 (file)
@@ -50,7 +50,7 @@
 #include <sys/systm.h>
 #include <sys/kernel.h>
 
-#include <machine_base/isa/elcr_var.h>
+#include <machine_base/icu/elcr_var.h>
 
 #define        ELCR_PORT       0x4d0
 #define        ELCR_MASK(irq)  (1 << (irq))
index 6fe5cc8..d76f93c 100644 (file)
 
 #include <sys/thread2.h>
 
-#include <machine_base/isa/elcr_var.h>
+#include <machine_base/icu/elcr_var.h>
 
-#include "icu.h"
-#include "icu_ipl.h"
+#include <machine_base/icu/icu.h>
+#include <machine_base/icu/icu_ipl.h>
 
 extern inthand_t
        IDTVEC(icu_intr0),      IDTVEC(icu_intr1),
index 1cd21ac..4fb5ac2 100644 (file)
@@ -181,6 +181,7 @@ platform/pc64/icu/icu.c                 standard
 platform/pc64/icu/icu_abi.c             standard
 platform/pc64/icu/icu_ipl.s             standard
 platform/pc64/icu/icu_vector.s          standard
+platform/pc64/icu/elcr.c               standard
 
 bus/pci/x86_64/legacy.c                        optional        pci
 bus/pci/x86_64/pci_bus.c                       optional        pci
@@ -210,6 +211,5 @@ dev/serial/sio/sio.c                        optional        sio
 bus/isa/syscons_isa.c                  optional        sc
 bus/isa/vga_isa.c                      optional        vga
 platform/pc64/isa/clock.c              standard nowerror
-platform/pc64/isa/elcr.c               standard
 platform/pc64/isa/isa_intr.c           standard
 platform/pc64/x86_64/spinlock.s                standard
similarity index 99%
rename from sys/platform/pc32/isa/elcr.c
rename to sys/platform/pc64/icu/elcr.c
index 849d429..5e74cbf 100644 (file)
@@ -50,7 +50,7 @@
 #include <sys/systm.h>
 #include <sys/kernel.h>
 
-#include <machine_base/isa/elcr_var.h>
+#include <machine_base/icu/elcr_var.h>
 
 #define        ELCR_PORT       0x4d0
 #define        ELCR_MASK(irq)  (1 << (irq))
index 78d01d7..165b308 100644 (file)
 
 #include <sys/thread2.h>
 
-#include <machine_base/isa/elcr_var.h>
+#include <machine_base/icu/elcr_var.h>
 
-#include "icu.h"
-#include "icu_ipl.h"
+#include <machine_base/icu/icu.h>
+#include <machine_base/icu/icu_ipl.h>
 
 extern inthand_t
        IDTVEC(icu_intr0),      IDTVEC(icu_intr1),
index 95f8da2..c9e08d9 100644 (file)
 #include <bus/isa/isa_device.h>
 #endif
 #include <machine_base/isa/isa_intr.h>
-#include <machine_base/isa/elcr_var.h>
 #include <bus/isa/rtc.h>
 #include <sys/random.h>
 #include <sys/ptrace.h>
 
 #include <sys/machintr.h>
 #include <machine_base/icu/icu_abi.h>
+#include <machine_base/icu/elcr_var.h>
 #include <machine_base/apic/ioapic_abi.h>
 
 #define PHYSMAP_ENTRIES                10