diff options
author | Stefan Reinauer <stepan@coreboot.org> | 2010-12-11 20:33:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-12-11 20:33:41 +0000 |
commit | 8677a23d5b053d550f70246de9c7dc8fd4e2fbf9 (patch) | |
tree | d9a7c6042de85d623739e2679ba90c66aad2797f | |
parent | 198cb96387c457affa01696405ffaa4531e8e361 (diff) |
After this has been brought up many times before, rename src/arch/i386 to
src/arch/x86.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6161 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/Kconfig | 6 | ||||
-rw-r--r-- | src/arch/i386/init/Makefile.inc | 1 | ||||
-rw-r--r-- | src/arch/x86/Kconfig (renamed from src/arch/i386/Kconfig) | 0 | ||||
-rw-r--r-- | src/arch/x86/Makefile.bigbootblock.inc (renamed from src/arch/i386/Makefile.bigbootblock.inc) | 2 | ||||
-rw-r--r-- | src/arch/x86/Makefile.bootblock.inc (renamed from src/arch/i386/Makefile.bootblock.inc) | 16 | ||||
-rw-r--r-- | src/arch/x86/Makefile.inc (renamed from src/arch/i386/Makefile.inc) | 26 | ||||
-rw-r--r-- | src/arch/x86/acpi/debug.asl (renamed from src/arch/i386/acpi/debug.asl) | 0 | ||||
-rw-r--r-- | src/arch/x86/acpi/globutil.asl (renamed from src/arch/i386/acpi/globutil.asl) | 0 | ||||
-rw-r--r-- | src/arch/x86/acpi/statdef.asl (renamed from src/arch/i386/acpi/statdef.asl) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/Makefile.inc (renamed from src/arch/i386/boot/Makefile.inc) | 2 | ||||
-rw-r--r-- | src/arch/x86/boot/acpi.c (renamed from src/arch/i386/boot/acpi.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/acpigen.c (renamed from src/arch/i386/boot/acpigen.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/boot.c (renamed from src/arch/i386/boot/boot.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/coreboot_table.c (renamed from src/arch/i386/boot/coreboot_table.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/gdt.c (renamed from src/arch/i386/boot/gdt.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/mpspec.c (renamed from src/arch/i386/boot/mpspec.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/multiboot.c (renamed from src/arch/i386/boot/multiboot.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/pirq_routing.c (renamed from src/arch/i386/boot/pirq_routing.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/tables.c (renamed from src/arch/i386/boot/tables.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/boot/wakeup.S (renamed from src/arch/i386/boot/wakeup.S) | 0 | ||||
-rw-r--r-- | src/arch/x86/coreboot_ram.ld (renamed from src/arch/i386/coreboot_ram.ld) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpi.h (renamed from src/arch/i386/include/arch/acpi.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpigen.h (renamed from src/arch/i386/include/arch/acpigen.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/boot/boot.h (renamed from src/arch/i386/include/arch/boot/boot.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/byteorder.h (renamed from src/arch/i386/include/arch/byteorder.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/coreboot_tables.h (renamed from src/arch/i386/include/arch/coreboot_tables.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/cpu.h (renamed from src/arch/i386/include/arch/cpu.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/hlt.h (renamed from src/arch/i386/include/arch/hlt.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/interrupt.h (renamed from src/arch/i386/include/arch/interrupt.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/io.h (renamed from src/arch/i386/include/arch/io.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/ioapic.h (renamed from src/arch/i386/include/arch/ioapic.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/llshell.h (renamed from src/arch/i386/include/arch/llshell.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/mmio_conf.h (renamed from src/arch/i386/include/arch/mmio_conf.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/pci_ops.h (renamed from src/arch/i386/include/arch/pci_ops.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/pciconf.h (renamed from src/arch/i386/include/arch/pciconf.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/pirq_routing.h (renamed from src/arch/i386/include/arch/pirq_routing.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/registers.h (renamed from src/arch/i386/include/arch/registers.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/rom_segs.h (renamed from src/arch/i386/include/arch/rom_segs.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/romcc_io.h (renamed from src/arch/i386/include/arch/romcc_io.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/smp/atomic.h (renamed from src/arch/i386/include/arch/smp/atomic.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/smp/mpspec.h (renamed from src/arch/i386/include/arch/smp/mpspec.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/smp/spinlock.h (renamed from src/arch/i386/include/arch/smp/spinlock.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/arch/stages.h (renamed from src/arch/i386/include/arch/stages.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/bitops.h (renamed from src/arch/i386/include/bitops.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/bootblock_common.h (renamed from src/arch/i386/include/bootblock_common.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/div64.h (renamed from src/arch/i386/include/div64.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/stddef.h (renamed from src/arch/i386/include/stddef.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/include/stdint.h (renamed from src/arch/i386/include/stdint.h) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/Makefile.inc | 1 | ||||
-rw-r--r-- | src/arch/x86/init/bootblock_normal.c (renamed from src/arch/i386/init/bootblock_normal.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/bootblock_simple.c (renamed from src/arch/i386/init/bootblock_simple.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/crt0_romcc_epilogue.inc (renamed from src/arch/i386/init/crt0_romcc_epilogue.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/entry.S (renamed from src/arch/i386/init/entry.S) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/ldscript.ld (renamed from src/arch/i386/init/ldscript.ld) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/ldscript_apc.lb (renamed from src/arch/i386/init/ldscript_apc.lb) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/ldscript_failover.lb (renamed from src/arch/i386/init/ldscript_failover.lb) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/ldscript_fallback_cbfs.lb (renamed from src/arch/i386/init/ldscript_fallback_cbfs.lb) | 0 | ||||
-rw-r--r-- | src/arch/x86/init/prologue.inc (renamed from src/arch/i386/init/prologue.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/Makefile.inc (renamed from src/arch/i386/lib/Makefile.inc) | 2 | ||||
-rw-r--r-- | src/arch/x86/lib/c_start.S (renamed from src/arch/i386/lib/c_start.S) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/cbfs_and_run.c (renamed from src/arch/i386/lib/cbfs_and_run.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/cpu.c (renamed from src/arch/i386/lib/cpu.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/exception.c (renamed from src/arch/i386/lib/exception.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/id.inc (renamed from src/arch/i386/lib/id.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/id.lds (renamed from src/arch/i386/lib/id.lds) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/ioapic.c (renamed from src/arch/i386/lib/ioapic.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/pci_ops_auto.c (renamed from src/arch/i386/lib/pci_ops_auto.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/pci_ops_conf1.c (renamed from src/arch/i386/lib/pci_ops_conf1.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/pci_ops_conf2.c (renamed from src/arch/i386/lib/pci_ops_conf2.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/pci_ops_mmconf.c (renamed from src/arch/i386/lib/pci_ops_mmconf.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/printk_init.c (renamed from src/arch/i386/lib/printk_init.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/stages.c (renamed from src/arch/i386/lib/stages.c) | 0 | ||||
-rw-r--r-- | src/arch/x86/lib/walkcbfs.S (renamed from src/arch/i386/lib/walkcbfs.S) | 0 | ||||
-rw-r--r-- | src/arch/x86/llshell/console.inc (renamed from src/arch/i386/llshell/console.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/llshell/llshell.inc (renamed from src/arch/i386/llshell/llshell.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/llshell/pci.inc (renamed from src/arch/i386/llshell/pci.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/llshell/ramtest.inc (renamed from src/arch/i386/llshell/ramtest.inc) | 0 | ||||
-rw-r--r-- | src/arch/x86/llshell/readme.coreboot (renamed from src/arch/i386/llshell/readme.coreboot) | 0 | ||||
-rw-r--r-- | src/cpu/via/model_c7/model_c7_init.c | 2 | ||||
-rw-r--r-- | src/include/lib.h | 2 | ||||
-rw-r--r-- | src/mainboard/amd/dbm690t/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany_fam10/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/amd/pistachio/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/amd/serengeti_cheetah/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/amd/tilapia_fam10/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/asrock/939a785gmh/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/asus/m4a78-em/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/asus/m4a785-m/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/dell/s1850/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/m57sli/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ma785gmt/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ma78gm/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/iei/kino-780am2-fam10/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/intel/jarrell/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/mtarvon/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/truxton/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/intel/xe7501devkit/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/jetway/pa78vm5/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/kontron/kt690/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/nokia/ip530/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/nvidia/l1_2pvv/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8dme/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/h8dmr/ap_romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dai_g/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhe_g2/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/supermicro/x6dhr_ig2/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/technexion/tim5690/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/technexion/tim8690/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/via/epia-m700/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/via/epia-m700/wakeup.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdfam10/acpi.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/acpi.c | 2 |
117 files changed, 82 insertions, 82 deletions
@@ -114,7 +114,7 @@ endif strip_quotes = $(subst ",,$(subst \",,$(1))) -ARCHDIR-$(CONFIG_ARCH_X86) := i386 +ARCHDIR-$(CONFIG_ARCH_X86) := x86 ARCHDIR-$(CONFIG_ARCH_POWERPC) := ppc MAINBOARDDIR=$(call strip_quotes,$(CONFIG_MAINBOARD_DIR)) diff --git a/src/Kconfig b/src/Kconfig index 9153ca0675..4c1fcf46ac 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -101,7 +101,7 @@ config USE_OPTION_TABLE endmenu source src/mainboard/Kconfig -source src/arch/i386/Kconfig +source src/arch/x86/Kconfig menu "Chipset" @@ -481,7 +481,7 @@ config GDB_STUB default y help If enabled, you will be able to set breakpoints for gdb debugging. - See src/arch/i386/lib/c_start.S for details. + See src/arch/x86/lib/c_start.S for details. config HAVE_DEBUG_RAM_SETUP def_bool n @@ -740,7 +740,7 @@ config LLSHELL help If enabled, you will have a low level shell to examine your machine. Put llshell() in your (romstage) code to start the shell. - See src/arch/i386/llshell/llshell.inc for details. + See src/arch/x86/llshell/llshell.inc for details. endmenu diff --git a/src/arch/i386/init/Makefile.inc b/src/arch/i386/init/Makefile.inc deleted file mode 100644 index 98077e88f1..0000000000 --- a/src/arch/i386/init/Makefile.inc +++ /dev/null @@ -1 +0,0 @@ -# If you add something to this file, enable it in src/arch/i386/Makefile.inc first. diff --git a/src/arch/i386/Kconfig b/src/arch/x86/Kconfig index ef86d99119..ef86d99119 100644 --- a/src/arch/i386/Kconfig +++ b/src/arch/x86/Kconfig diff --git a/src/arch/i386/Makefile.bigbootblock.inc b/src/arch/x86/Makefile.bigbootblock.inc index ee988c7e84..a60681670b 100644 --- a/src/arch/i386/Makefile.bigbootblock.inc +++ b/src/arch/x86/Makefile.bigbootblock.inc @@ -26,7 +26,7 @@ $(obj)/mainboard/$(MAINBOARDDIR)/crt0.romstage.o: $(obj)/mainboard/$(MAINBOARDDI $(obj)/mainboard/$(MAINBOARDDIR)/crt0.s: $(obj)/crt0.S @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -MMD -x assembler-with-cpp -DASSEMBLY -E -I$(src)/include -I$(src)/arch/i386/include -I$(obj) -include $(obj)/config.h -I. -I$(src) $< -o $@ + $(CC) -MMD -x assembler-with-cpp -DASSEMBLY -E -I$(src)/include -I$(src)/arch/x86/include -I$(obj) -include $(obj)/config.h -I. -I$(src) $< -o $@ $(obj)/coreboot: $$(romstage-objs) $(obj)/ldscript.ld @printf " LINK $(subst $(obj)/,,$(@))\n" diff --git a/src/arch/i386/Makefile.bootblock.inc b/src/arch/x86/Makefile.bootblock.inc index 6d975accb8..f522fc2150 100644 --- a/src/arch/i386/Makefile.bootblock.inc +++ b/src/arch/x86/Makefile.bootblock.inc @@ -23,24 +23,24 @@ $(obj)/coreboot.bootblock: $(obj)/bootblock.elf @printf " OBJCOPY $(subst $(obj)/,,$(@))\n" $(OBJCOPY) -O binary $< $@ -bootblock_lds = $(src)/arch/i386/init/ldscript_failover.lb +bootblock_lds = $(src)/arch/x86/init/ldscript_failover.lb bootblock_lds += $(src)/cpu/x86/16bit/entry16.lds bootblock_lds += $(src)/cpu/x86/16bit/reset16.lds -bootblock_lds += $(src)/arch/i386/lib/id.lds +bootblock_lds += $(src)/arch/x86/lib/id.lds bootblock_lds += $(chipset_bootblock_lds) -bootblock_inc = $(src)/arch/i386/init/prologue.inc +bootblock_inc = $(src)/arch/x86/init/prologue.inc bootblock_inc += $(src)/cpu/x86/16bit/entry16.inc bootblock_inc += $(src)/cpu/x86/16bit/reset16.inc bootblock_inc += $(src)/cpu/x86/32bit/entry32.inc -bootblock_inc += $(src)/arch/i386/lib/id.inc +bootblock_inc += $(src)/arch/x86/lib/id.inc bootblock_inc += $(chipset_bootblock_inc) ifeq ($(CONFIG_SSE),y) bootblock_inc += $(src)/cpu/x86/sse_enable.inc endif bootblock_inc += $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.inc -bootblock_inc += $(src)/arch/i386/lib/walkcbfs.S +bootblock_inc += $(src)/arch/x86/lib/walkcbfs.S bootblock_romccflags := -mcpu=i386 -O2 -D__PRE_RAM__ ifeq ($(CONFIG_SSE),y) @@ -63,9 +63,9 @@ $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.o: $(obj)/mainboard/$(MAINBOARDDIR)/b $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.s: $(obj)/bootblock/bootblock.S @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -MMD -DASSEMBLY -E -I$(src)/include -I$(src)/arch/i386/include -I$(obj) -I$(obj)/bootblock -include $(obj)/config.h -I. -I$(src) $< -o $@ + $(CC) -MMD -DASSEMBLY -E -I$(src)/include -I$(src)/arch/x86/include -I$(obj) -I$(obj)/bootblock -include $(obj)/config.h -I. -I$(src) $< -o $@ -$(obj)/mainboard/$(MAINBOARDDIR)/bootblock.inc: $(src)/arch/i386/init/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc +$(obj)/mainboard/$(MAINBOARDDIR)/bootblock.inc: $(src)/arch/x86/init/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc @printf " ROMCC $(subst $(obj)/,,$(@))\n" $(CC) -MM -MT$(obj)/mainboard/$(MAINBOARDDIR)/bootblock.inc \ $< > $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.inc.d @@ -113,5 +113,5 @@ $(obj)/mainboard/$(MAINBOARDDIR)/crt0.romstage.o: $(obj)/mainboard/$(MAINBOARDDI $(obj)/mainboard/$(MAINBOARDDIR)/crt0.s: $(obj)/romstage/crt0.S @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -MMD -x assembler-with-cpp -DASSEMBLY -E -I$(src)/include -I$(src)/arch/i386/include -I$(obj) -I$(obj)/romstage -include $(obj)/config.h -I. -I$(src) $< -o $@ + $(CC) -MMD -x assembler-with-cpp -DASSEMBLY -E -I$(src)/include -I$(src)/arch/x86/include -I$(obj) -I$(obj)/romstage -include $(obj)/config.h -I. -I$(src) $< -o $@ diff --git a/src/arch/i386/Makefile.inc b/src/arch/x86/Makefile.inc index c0bc852dc0..ea6e3ecb14 100644 --- a/src/arch/i386/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -107,17 +107,17 @@ $(objutil)/options/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src ####################################################################### # Build the coreboot_ram (stage 2) -$(obj)/coreboot_ram: $(obj)/coreboot_ram.o $(src)/arch/i386/coreboot_ram.ld #ldoptions +$(obj)/coreboot_ram: $(obj)/coreboot_ram.o $(src)/arch/x86/coreboot_ram.ld #ldoptions @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/i386/coreboot_ram.ld $(obj)/coreboot_ram.o + $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/x86/coreboot_ram.ld $(obj)/coreboot_ram.o $(NM) -n $(obj)/coreboot_ram | sort > $(obj)/coreboot_ram.map $(OBJCOPY) --only-keep-debug $@ $(obj)/coreboot_ram.debug $(OBJCOPY) --strip-debug $@ $(OBJCOPY) --add-gnu-debuglink=$(obj)/coreboot_ram.debug $@ -$(obj)/coreboot_ram.o: $(obj)/arch/i386/lib/c_start.ramstage.o $$(driver-objs) $(obj)/coreboot.a $(LIBGCC_FILE_NAME) +$(obj)/coreboot_ram.o: $(obj)/arch/x86/lib/c_start.ramstage.o $$(driver-objs) $(obj)/coreboot.a $(LIBGCC_FILE_NAME) @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -nostdlib -r -o $@ $(obj)/arch/i386/lib/c_start.ramstage.o $(driver-objs) -Wl,--wrap,__divdi3 -Wl,--wrap,__udivdi3 -Wl,--wrap,__moddi3 -Wl,--wrap,__umoddi3 -Wl,--start-group $(obj)/coreboot.a $(LIBGCC_FILE_NAME) -Wl,--end-group + $(CC) -nostdlib -r -o $@ $(obj)/arch/x86/lib/c_start.ramstage.o $(driver-objs) -Wl,--wrap,__divdi3 -Wl,--wrap,__udivdi3 -Wl,--wrap,__moddi3 -Wl,--wrap,__umoddi3 -Wl,--start-group $(obj)/coreboot.a $(LIBGCC_FILE_NAME) -Wl,--end-group $(obj)/coreboot.a: $$(ramstage-objs) @printf " AR $(subst $(obj)/,,$(@))\n" @@ -131,7 +131,7 @@ ifeq ($(CONFIG_AP_CODE_IN_CAR),y) $(obj)/coreboot_ap: $(obj)/mainboard/$(MAINBOARDDIR)/ap_romstage.o @printf " CC $(subst $(obj)/,,$(@))\n" - $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/i386/init/ldscript_apc.lb $^ + $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/x86/init/ldscript_apc.lb $^ $(OBJCOPY) --only-keep-debug $@ $(obj)/coreboot_ap.debug $(OBJCOPY) --strip-debug $@ $(OBJCOPY) --add-gnu-debuglink=$(obj)/coreboot_ap.debug $@ @@ -143,9 +143,9 @@ endif ####################################################################### # done -crt0s = $(src)/arch/i386/init/prologue.inc +crt0s = $(src)/arch/x86/init/prologue.inc ldscripts = -ldscripts += $(src)/arch/i386/init/ldscript_fallback_cbfs.lb +ldscripts += $(src)/arch/x86/init/ldscript_fallback_cbfs.lb ifeq ($(CONFIG_BIG_BOOTBLOCK),y) crt0s += $(src)/cpu/x86/16bit/entry16.inc ldscripts += $(src)/cpu/x86/16bit/entry16.lds @@ -155,8 +155,8 @@ ldscripts += $(src)/cpu/x86/32bit/entry32.lds ifeq ($(CONFIG_BIG_BOOTBLOCK),y) crt0s += $(src)/cpu/x86/16bit/reset16.inc ldscripts += $(src)/cpu/x86/16bit/reset16.lds -crt0s += $(src)/arch/i386/lib/id.inc -ldscripts += $(src)/arch/i386/lib/id.lds +crt0s += $(src)/arch/x86/lib/id.inc +ldscripts += $(src)/arch/x86/lib/id.lds endif crt0s += $(src)/cpu/x86/fpu_enable.inc @@ -174,7 +174,7 @@ crt0s += $(src)/cpu/intel/car/cache_as_ram.inc endif ifeq ($(CONFIG_LLSHELL),y) -crt0s += $(src)/arch/i386/llshell/llshell.inc +crt0s += $(src)/arch/x86/llshell/llshell.inc endif crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc @@ -192,7 +192,7 @@ ldscripts += $(chipset_bootblock_lds) endif ifeq ($(CONFIG_ROMCC),y) -crt0s += $(src)/arch/i386/init/crt0_romcc_epilogue.inc +crt0s += $(src)/arch/x86/init/crt0_romcc_epilogue.inc endif ifeq ($(CONFIG_ROMCC),y) @@ -251,7 +251,7 @@ ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/get_bus_conf.c endif ifeq ($(CONFIG_TINY_BOOTBLOCK),y) -include $(src)/arch/i386/Makefile.bootblock.inc +include $(src)/arch/x86/Makefile.bootblock.inc else -include $(src)/arch/i386/Makefile.bigbootblock.inc +include $(src)/arch/x86/Makefile.bigbootblock.inc endif diff --git a/src/arch/i386/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index bd5c9659e5..bd5c9659e5 100644 --- a/src/arch/i386/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl diff --git a/src/arch/i386/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 7e7f4e1e16..7e7f4e1e16 100644 --- a/src/arch/i386/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl diff --git a/src/arch/i386/acpi/statdef.asl b/src/arch/x86/acpi/statdef.asl index 12a5932a12..12a5932a12 100644 --- a/src/arch/i386/acpi/statdef.asl +++ b/src/arch/x86/acpi/statdef.asl diff --git a/src/arch/i386/boot/Makefile.inc b/src/arch/x86/boot/Makefile.inc index 1ae32e441c..d4a377f74b 100644 --- a/src/arch/i386/boot/Makefile.inc +++ b/src/arch/x86/boot/Makefile.inc @@ -9,5 +9,5 @@ ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpigen.c ramstage-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.S -$(obj)/arch/i386/boot/coreboot_table.ramstage.o : $(OPTION_TABLE_H) +$(obj)/arch/x86/boot/coreboot_table.ramstage.o : $(OPTION_TABLE_H) diff --git a/src/arch/i386/boot/acpi.c b/src/arch/x86/boot/acpi.c index 957ec4559a..957ec4559a 100644 --- a/src/arch/i386/boot/acpi.c +++ b/src/arch/x86/boot/acpi.c diff --git a/src/arch/i386/boot/acpigen.c b/src/arch/x86/boot/acpigen.c index e8cd724e23..e8cd724e23 100644 --- a/src/arch/i386/boot/acpigen.c +++ b/src/arch/x86/boot/acpigen.c diff --git a/src/arch/i386/boot/boot.c b/src/arch/x86/boot/boot.c index d9cb02e776..d9cb02e776 100644 --- a/src/arch/i386/boot/boot.c +++ b/src/arch/x86/boot/boot.c diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/x86/boot/coreboot_table.c index 484340c96a..484340c96a 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/x86/boot/coreboot_table.c diff --git a/src/arch/i386/boot/gdt.c b/src/arch/x86/boot/gdt.c index b425ade59d..b425ade59d 100644 --- a/src/arch/i386/boot/gdt.c +++ b/src/arch/x86/boot/gdt.c diff --git a/src/arch/i386/boot/mpspec.c b/src/arch/x86/boot/mpspec.c index 70bc5401fd..70bc5401fd 100644 --- a/src/arch/i386/boot/mpspec.c +++ b/src/arch/x86/boot/mpspec.c diff --git a/src/arch/i386/boot/multiboot.c b/src/arch/x86/boot/multiboot.c index 4059f2736b..4059f2736b 100644 --- a/src/arch/i386/boot/multiboot.c +++ b/src/arch/x86/boot/multiboot.c diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/x86/boot/pirq_routing.c index bb8a7b605a..bb8a7b605a 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/x86/boot/pirq_routing.c diff --git a/src/arch/i386/boot/tables.c b/src/arch/x86/boot/tables.c index d816e76750..d816e76750 100644 --- a/src/arch/i386/boot/tables.c +++ b/src/arch/x86/boot/tables.c diff --git a/src/arch/i386/boot/wakeup.S b/src/arch/x86/boot/wakeup.S index a1df4d5597..a1df4d5597 100644 --- a/src/arch/i386/boot/wakeup.S +++ b/src/arch/x86/boot/wakeup.S diff --git a/src/arch/i386/coreboot_ram.ld b/src/arch/x86/coreboot_ram.ld index 57ddd03c0d..57ddd03c0d 100644 --- a/src/arch/i386/coreboot_ram.ld +++ b/src/arch/x86/coreboot_ram.ld diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index 030745d5ab..030745d5ab 100644 --- a/src/arch/i386/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h diff --git a/src/arch/i386/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h index 6f13a7ae1f..6f13a7ae1f 100644 --- a/src/arch/i386/include/arch/acpigen.h +++ b/src/arch/x86/include/arch/acpigen.h diff --git a/src/arch/i386/include/arch/boot/boot.h b/src/arch/x86/include/arch/boot/boot.h index 3ff51c3082..3ff51c3082 100644 --- a/src/arch/i386/include/arch/boot/boot.h +++ b/src/arch/x86/include/arch/boot/boot.h diff --git a/src/arch/i386/include/arch/byteorder.h b/src/arch/x86/include/arch/byteorder.h index ab344e6394..ab344e6394 100644 --- a/src/arch/i386/include/arch/byteorder.h +++ b/src/arch/x86/include/arch/byteorder.h diff --git a/src/arch/i386/include/arch/coreboot_tables.h b/src/arch/x86/include/arch/coreboot_tables.h index 3c9bf98f22..3c9bf98f22 100644 --- a/src/arch/i386/include/arch/coreboot_tables.h +++ b/src/arch/x86/include/arch/coreboot_tables.h diff --git a/src/arch/i386/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 4d7be86223..4d7be86223 100644 --- a/src/arch/i386/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h diff --git a/src/arch/i386/include/arch/hlt.h b/src/arch/x86/include/arch/hlt.h index ddfe169954..ddfe169954 100644 --- a/src/arch/i386/include/arch/hlt.h +++ b/src/arch/x86/include/arch/hlt.h diff --git a/src/arch/i386/include/arch/interrupt.h b/src/arch/x86/include/arch/interrupt.h index 2d2330b739..2d2330b739 100644 --- a/src/arch/i386/include/arch/interrupt.h +++ b/src/arch/x86/include/arch/interrupt.h diff --git a/src/arch/i386/include/arch/io.h b/src/arch/x86/include/arch/io.h index aad84088d6..aad84088d6 100644 --- a/src/arch/i386/include/arch/io.h +++ b/src/arch/x86/include/arch/io.h diff --git a/src/arch/i386/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h index 623f617253..623f617253 100644 --- a/src/arch/i386/include/arch/ioapic.h +++ b/src/arch/x86/include/arch/ioapic.h diff --git a/src/arch/i386/include/arch/llshell.h b/src/arch/x86/include/arch/llshell.h index 556df7d046..556df7d046 100644 --- a/src/arch/i386/include/arch/llshell.h +++ b/src/arch/x86/include/arch/llshell.h diff --git a/src/arch/i386/include/arch/mmio_conf.h b/src/arch/x86/include/arch/mmio_conf.h index 08962f02fa..08962f02fa 100644 --- a/src/arch/i386/include/arch/mmio_conf.h +++ b/src/arch/x86/include/arch/mmio_conf.h diff --git a/src/arch/i386/include/arch/pci_ops.h b/src/arch/x86/include/arch/pci_ops.h index 9c4e029b24..9c4e029b24 100644 --- a/src/arch/i386/include/arch/pci_ops.h +++ b/src/arch/x86/include/arch/pci_ops.h diff --git a/src/arch/i386/include/arch/pciconf.h b/src/arch/x86/include/arch/pciconf.h index a35693519e..a35693519e 100644 --- a/src/arch/i386/include/arch/pciconf.h +++ b/src/arch/x86/include/arch/pciconf.h diff --git a/src/arch/i386/include/arch/pirq_routing.h b/src/arch/x86/include/arch/pirq_routing.h index 0b65eac29b..0b65eac29b 100644 --- a/src/arch/i386/include/arch/pirq_routing.h +++ b/src/arch/x86/include/arch/pirq_routing.h diff --git a/src/arch/i386/include/arch/registers.h b/src/arch/x86/include/arch/registers.h index bc1b681339..bc1b681339 100644 --- a/src/arch/i386/include/arch/registers.h +++ b/src/arch/x86/include/arch/registers.h diff --git a/src/arch/i386/include/arch/rom_segs.h b/src/arch/x86/include/arch/rom_segs.h index 8c00eb3b7a..8c00eb3b7a 100644 --- a/src/arch/i386/include/arch/rom_segs.h +++ b/src/arch/x86/include/arch/rom_segs.h diff --git a/src/arch/i386/include/arch/romcc_io.h b/src/arch/x86/include/arch/romcc_io.h index 79ea26550e..79ea26550e 100644 --- a/src/arch/i386/include/arch/romcc_io.h +++ b/src/arch/x86/include/arch/romcc_io.h diff --git a/src/arch/i386/include/arch/smp/atomic.h b/src/arch/x86/include/arch/smp/atomic.h index 18bbae27cb..18bbae27cb 100644 --- a/src/arch/i386/include/arch/smp/atomic.h +++ b/src/arch/x86/include/arch/smp/atomic.h diff --git a/src/arch/i386/include/arch/smp/mpspec.h b/src/arch/x86/include/arch/smp/mpspec.h index bc09f485d8..bc09f485d8 100644 --- a/src/arch/i386/include/arch/smp/mpspec.h +++ b/src/arch/x86/include/arch/smp/mpspec.h diff --git a/src/arch/i386/include/arch/smp/spinlock.h b/src/arch/x86/include/arch/smp/spinlock.h index 5c1dd94c36..5c1dd94c36 100644 --- a/src/arch/i386/include/arch/smp/spinlock.h +++ b/src/arch/x86/include/arch/smp/spinlock.h diff --git a/src/arch/i386/include/arch/stages.h b/src/arch/x86/include/arch/stages.h index 00d2a93ea3..00d2a93ea3 100644 --- a/src/arch/i386/include/arch/stages.h +++ b/src/arch/x86/include/arch/stages.h diff --git a/src/arch/i386/include/bitops.h b/src/arch/x86/include/bitops.h index 9206465c77..9206465c77 100644 --- a/src/arch/i386/include/bitops.h +++ b/src/arch/x86/include/bitops.h diff --git a/src/arch/i386/include/bootblock_common.h b/src/arch/x86/include/bootblock_common.h index 895a185c6f..895a185c6f 100644 --- a/src/arch/i386/include/bootblock_common.h +++ b/src/arch/x86/include/bootblock_common.h diff --git a/src/arch/i386/include/div64.h b/src/arch/x86/include/div64.h index 3634f6dd14..3634f6dd14 100644 --- a/src/arch/i386/include/div64.h +++ b/src/arch/x86/include/div64.h diff --git a/src/arch/i386/include/stddef.h b/src/arch/x86/include/stddef.h index e4fc019c87..e4fc019c87 100644 --- a/src/arch/i386/include/stddef.h +++ b/src/arch/x86/include/stddef.h diff --git a/src/arch/i386/include/stdint.h b/src/arch/x86/include/stdint.h index b393cc10e0..b393cc10e0 100644 --- a/src/arch/i386/include/stdint.h +++ b/src/arch/x86/include/stdint.h diff --git a/src/arch/x86/init/Makefile.inc b/src/arch/x86/init/Makefile.inc new file mode 100644 index 0000000000..263c58e891 --- /dev/null +++ b/src/arch/x86/init/Makefile.inc @@ -0,0 +1 @@ +# If you add something to this file, enable it in src/arch/x86/Makefile.inc first. diff --git a/src/arch/i386/init/bootblock_normal.c b/src/arch/x86/init/bootblock_normal.c index 08651c32bb..08651c32bb 100644 --- a/src/arch/i386/init/bootblock_normal.c +++ b/src/arch/x86/init/bootblock_normal.c diff --git a/src/arch/i386/init/bootblock_simple.c b/src/arch/x86/init/bootblock_simple.c index e8994ee092..e8994ee092 100644 --- a/src/arch/i386/init/bootblock_simple.c +++ b/src/arch/x86/init/bootblock_simple.c diff --git a/src/arch/i386/init/crt0_romcc_epilogue.inc b/src/arch/x86/init/crt0_romcc_epilogue.inc index 3bd1b36992..3bd1b36992 100644 --- a/src/arch/i386/init/crt0_romcc_epilogue.inc +++ b/src/arch/x86/init/crt0_romcc_epilogue.inc diff --git a/src/arch/i386/init/entry.S b/src/arch/x86/init/entry.S index af29296403..af29296403 100644 --- a/src/arch/i386/init/entry.S +++ b/src/arch/x86/init/entry.S diff --git a/src/arch/i386/init/ldscript.ld b/src/arch/x86/init/ldscript.ld index 149f048638..149f048638 100644 --- a/src/arch/i386/init/ldscript.ld +++ b/src/arch/x86/init/ldscript.ld diff --git a/src/arch/i386/init/ldscript_apc.lb b/src/arch/x86/init/ldscript_apc.lb index 789a168e0e..789a168e0e 100644 --- a/src/arch/i386/init/ldscript_apc.lb +++ b/src/arch/x86/init/ldscript_apc.lb diff --git a/src/arch/i386/init/ldscript_failover.lb b/src/arch/x86/init/ldscript_failover.lb index 7e48dc1a25..7e48dc1a25 100644 --- a/src/arch/i386/init/ldscript_failover.lb +++ b/src/arch/x86/init/ldscript_failover.lb diff --git a/src/arch/i386/init/ldscript_fallback_cbfs.lb b/src/arch/x86/init/ldscript_fallback_cbfs.lb index 480fd32d5d..480fd32d5d 100644 --- a/src/arch/i386/init/ldscript_fallback_cbfs.lb +++ b/src/arch/x86/init/ldscript_fallback_cbfs.lb diff --git a/src/arch/i386/init/prologue.inc b/src/arch/x86/init/prologue.inc index 8947f20de3..8947f20de3 100644 --- a/src/arch/i386/init/prologue.inc +++ b/src/arch/x86/init/prologue.inc diff --git a/src/arch/i386/lib/Makefile.inc b/src/arch/x86/lib/Makefile.inc index 7660d4c336..43ac4693f7 100644 --- a/src/arch/i386/lib/Makefile.inc +++ b/src/arch/x86/lib/Makefile.inc @@ -10,4 +10,4 @@ ramstage-$(CONFIG_IOAPIC) += ioapic.c romstage-y += printk_init.c romstage-y += cbfs_and_run.c -$(obj)/arch/i386/lib/console.ramstage.o :: $(obj)/build.h +$(obj)/arch/x86/lib/console.ramstage.o :: $(obj)/build.h diff --git a/src/arch/i386/lib/c_start.S b/src/arch/x86/lib/c_start.S index 94ce4a70c3..94ce4a70c3 100644 --- a/src/arch/i386/lib/c_start.S +++ b/src/arch/x86/lib/c_start.S diff --git a/src/arch/i386/lib/cbfs_and_run.c b/src/arch/x86/lib/cbfs_and_run.c index 5e3d8fe922..5e3d8fe922 100644 --- a/src/arch/i386/lib/cbfs_and_run.c +++ b/src/arch/x86/lib/cbfs_and_run.c diff --git a/src/arch/i386/lib/cpu.c b/src/arch/x86/lib/cpu.c index 3732ae296e..3732ae296e 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/x86/lib/cpu.c diff --git a/src/arch/i386/lib/exception.c b/src/arch/x86/lib/exception.c index 20917b6f40..20917b6f40 100644 --- a/src/arch/i386/lib/exception.c +++ b/src/arch/x86/lib/exception.c diff --git a/src/arch/i386/lib/id.inc b/src/arch/x86/lib/id.inc index 443dbad38a..443dbad38a 100644 --- a/src/arch/i386/lib/id.inc +++ b/src/arch/x86/lib/id.inc diff --git a/src/arch/i386/lib/id.lds b/src/arch/x86/lib/id.lds index d646270daf..d646270daf 100644 --- a/src/arch/i386/lib/id.lds +++ b/src/arch/x86/lib/id.lds diff --git a/src/arch/i386/lib/ioapic.c b/src/arch/x86/lib/ioapic.c index e39fe8fd0a..e39fe8fd0a 100644 --- a/src/arch/i386/lib/ioapic.c +++ b/src/arch/x86/lib/ioapic.c diff --git a/src/arch/i386/lib/pci_ops_auto.c b/src/arch/x86/lib/pci_ops_auto.c index 92eedd30fb..92eedd30fb 100644 --- a/src/arch/i386/lib/pci_ops_auto.c +++ b/src/arch/x86/lib/pci_ops_auto.c diff --git a/src/arch/i386/lib/pci_ops_conf1.c b/src/arch/x86/lib/pci_ops_conf1.c index 36db54c21b..36db54c21b 100644 --- a/src/arch/i386/lib/pci_ops_conf1.c +++ b/src/arch/x86/lib/pci_ops_conf1.c diff --git a/src/arch/i386/lib/pci_ops_conf2.c b/src/arch/x86/lib/pci_ops_conf2.c index 839f5b44c7..839f5b44c7 100644 --- a/src/arch/i386/lib/pci_ops_conf2.c +++ b/src/arch/x86/lib/pci_ops_conf2.c diff --git a/src/arch/i386/lib/pci_ops_mmconf.c b/src/arch/x86/lib/pci_ops_mmconf.c index 7d8fb329d0..7d8fb329d0 100644 --- a/src/arch/i386/lib/pci_ops_mmconf.c +++ b/src/arch/x86/lib/pci_ops_mmconf.c diff --git a/src/arch/i386/lib/printk_init.c b/src/arch/x86/lib/printk_init.c index 2f7f751832..2f7f751832 100644 --- a/src/arch/i386/lib/printk_init.c +++ b/src/arch/x86/lib/printk_init.c diff --git a/src/arch/i386/lib/stages.c b/src/arch/x86/lib/stages.c index a6a232a04a..a6a232a04a 100644 --- a/src/arch/i386/lib/stages.c +++ b/src/arch/x86/lib/stages.c diff --git a/src/arch/i386/lib/walkcbfs.S b/src/arch/x86/lib/walkcbfs.S index 395c46e20c..395c46e20c 100644 --- a/src/arch/i386/lib/walkcbfs.S +++ b/src/arch/x86/lib/walkcbfs.S diff --git a/src/arch/i386/llshell/console.inc b/src/arch/x86/llshell/console.inc index 84f62e3448..84f62e3448 100644 --- a/src/arch/i386/llshell/console.inc +++ b/src/arch/x86/llshell/console.inc diff --git a/src/arch/i386/llshell/llshell.inc b/src/arch/x86/llshell/llshell.inc index a66ac150b5..a66ac150b5 100644 --- a/src/arch/i386/llshell/llshell.inc +++ b/src/arch/x86/llshell/llshell.inc diff --git a/src/arch/i386/llshell/pci.inc b/src/arch/x86/llshell/pci.inc index 7cb741008e..7cb741008e 100644 --- a/src/arch/i386/llshell/pci.inc +++ b/src/arch/x86/llshell/pci.inc diff --git a/src/arch/i386/llshell/ramtest.inc b/src/arch/x86/llshell/ramtest.inc index c02cf451ec..c02cf451ec 100644 --- a/src/arch/i386/llshell/ramtest.inc +++ b/src/arch/x86/llshell/ramtest.inc diff --git a/src/arch/i386/llshell/readme.coreboot b/src/arch/x86/llshell/readme.coreboot index ae7dcbecd0..ae7dcbecd0 100644 --- a/src/arch/i386/llshell/readme.coreboot +++ b/src/arch/x86/llshell/readme.coreboot diff --git a/src/cpu/via/model_c7/model_c7_init.c b/src/cpu/via/model_c7/model_c7_init.c index 68b5ed0451..bc326164a1 100644 --- a/src/cpu/via/model_c7/model_c7_init.c +++ b/src/cpu/via/model_c7/model_c7_init.c @@ -213,7 +213,7 @@ static struct device_operations cpu_dev_ops = { .init = model_c7_init, }; -/* Look in arch/i386/lib/cpu.c:cpu_initialize. If there is no CPU with an exact +/* Look in arch/x86/lib/cpu.c:cpu_initialize. If there is no CPU with an exact * ID, the cpu mask (stepping) is masked out and the check is repeated. This * allows us to keep the table significantly smaller. */ diff --git a/src/include/lib.h b/src/include/lib.h index 2a2b73a514..424f653eb2 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -32,7 +32,7 @@ unsigned long log2(unsigned long x); /* Defined in src/lib/lzma.c */ unsigned long ulzma(unsigned char *src, unsigned char *dst); -/* Defined in src/arch/i386/boot/gdt.c */ +/* Defined in src/arch/x86/boot/gdt.c */ void move_gdt(void); /* Defined in src/lib/ramtest.c */ diff --git a/src/mainboard/amd/dbm690t/dsdt.asl b/src/mainboard/amd/dbm690t/dsdt.asl index 30c6e9478e..1b24e1830b 100644 --- a/src/mainboard/amd/dbm690t/dsdt.asl +++ b/src/mainboard/amd/dbm690t/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1123,7 +1123,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/amd/mahogany/dsdt.asl b/src/mainboard/amd/mahogany/dsdt.asl index 9c46930d1d..33c46204c2 100644 --- a/src/mainboard/amd/mahogany/dsdt.asl +++ b/src/mainboard/amd/mahogany/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1120,7 +1120,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/amd/mahogany_fam10/dsdt.asl b/src/mainboard/amd/mahogany_fam10/dsdt.asl index e14467d668..692699db5b 100644 --- a/src/mainboard/amd/mahogany_fam10/dsdt.asl +++ b/src/mainboard/amd/mahogany_fam10/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/amd/pistachio/dsdt.asl b/src/mainboard/amd/pistachio/dsdt.asl index dfdf463dd7..bd5f73ea74 100644 --- a/src/mainboard/amd/pistachio/dsdt.asl +++ b/src/mainboard/amd/pistachio/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1122,7 +1122,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/amd/serengeti_cheetah/ap_romstage.c b/src/mainboard/amd/serengeti_cheetah/ap_romstage.c index 6b0a685295..b3d375edd4 100644 --- a/src/mainboard/amd/serengeti_cheetah/ap_romstage.c +++ b/src/mainboard/amd/serengeti_cheetah/ap_romstage.c @@ -12,7 +12,7 @@ #include <cpu/x86/lapic.h> #include <pc80/mc146818rtc.h> #include "pc80/serial.c" -#include "./arch/i386/lib/printk_init.c" +#include "./arch/x86/lib/printk_init.c" #include "console/console.c" #include "lib/uart8250.c" diff --git a/src/mainboard/amd/tilapia_fam10/dsdt.asl b/src/mainboard/amd/tilapia_fam10/dsdt.asl index d3f06d3103..3170a0b89c 100644 --- a/src/mainboard/amd/tilapia_fam10/dsdt.asl +++ b/src/mainboard/amd/tilapia_fam10/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/asrock/939a785gmh/dsdt.asl b/src/mainboard/asrock/939a785gmh/dsdt.asl index 027bd8d4b1..70fca4d4d4 100644 --- a/src/mainboard/asrock/939a785gmh/dsdt.asl +++ b/src/mainboard/asrock/939a785gmh/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ #include "northbridge/amd/amdk8/util.asl" Name(HPBA, 0xFED00000) /* Base address of HPET table */ @@ -460,7 +460,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/asus/m4a78-em/dsdt.asl b/src/mainboard/asus/m4a78-em/dsdt.asl index d3f06d3103..3170a0b89c 100644 --- a/src/mainboard/asus/m4a78-em/dsdt.asl +++ b/src/mainboard/asus/m4a78-em/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/asus/m4a785-m/dsdt.asl b/src/mainboard/asus/m4a785-m/dsdt.asl index d3f06d3103..3170a0b89c 100644 --- a/src/mainboard/asus/m4a785-m/dsdt.asl +++ b/src/mainboard/asus/m4a785-m/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/dell/s1850/romstage.c b/src/mainboard/dell/s1850/romstage.c index b43be3789d..0a051d2140 100644 --- a/src/mainboard/dell/s1850/romstage.c +++ b/src/mainboard/dell/s1850/romstage.c @@ -142,7 +142,7 @@ static inline void bmc_foad(void) /* end IPMI garbage */ -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c b/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c index ef2b0f2d12..88b7ca1608 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c @@ -37,7 +37,7 @@ #include "pc80/serial.c" #include "lib/uart8250.c" -#include "arch/i386/lib/printk_init.c" +#include "arch/x86/lib/printk_init.c" #include "console/vtxprintf.c" #include "console/console.c" diff --git a/src/mainboard/gigabyte/m57sli/ap_romstage.c b/src/mainboard/gigabyte/m57sli/ap_romstage.c index 40a13dacf4..ff3ac11a86 100644 --- a/src/mainboard/gigabyte/m57sli/ap_romstage.c +++ b/src/mainboard/gigabyte/m57sli/ap_romstage.c @@ -35,7 +35,7 @@ #include "pc80/serial.c" #include "lib/uart8250.c" -#include "arch/i386/lib/printk_init.c" +#include "arch/x86/lib/printk_init.c" #include "console/vtxprintf.c" #include "console/console.c" diff --git a/src/mainboard/gigabyte/ma785gmt/dsdt.asl b/src/mainboard/gigabyte/ma785gmt/dsdt.asl index 1321e38ecb..608513d0c3 100644 --- a/src/mainboard/gigabyte/ma785gmt/dsdt.asl +++ b/src/mainboard/gigabyte/ma785gmt/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/gigabyte/ma78gm/dsdt.asl b/src/mainboard/gigabyte/ma78gm/dsdt.asl index aeb8c0a95a..03d8fcd3b0 100644 --- a/src/mainboard/gigabyte/ma78gm/dsdt.asl +++ b/src/mainboard/gigabyte/ma78gm/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/iei/kino-780am2-fam10/dsdt.asl b/src/mainboard/iei/kino-780am2-fam10/dsdt.asl index e613b99b21..8dd0e21f75 100644 --- a/src/mainboard/iei/kino-780am2-fam10/dsdt.asl +++ b/src/mainboard/iei/kino-780am2-fam10/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/intel/jarrell/romstage.c b/src/mainboard/intel/jarrell/romstage.c index c6fbc323d3..b816775861 100644 --- a/src/mainboard/intel/jarrell/romstage.c +++ b/src/mainboard/intel/jarrell/romstage.c @@ -37,7 +37,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7520/raminit.c" #include "lib/generic_sdram.c" #include "debug.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/intel/mtarvon/romstage.c b/src/mainboard/intel/mtarvon/romstage.c index 68e94ec40e..f1e7676c54 100644 --- a/src/mainboard/intel/mtarvon/romstage.c +++ b/src/mainboard/intel/mtarvon/romstage.c @@ -50,7 +50,7 @@ static inline int spd_read_byte(u16 device, u8 address) #include "northbridge/intel/i3100/raminit.c" #include "lib/generic_sdram.c" #if 0 /* skip_romstage doesn't compile with gcc */ -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" #endif void main(unsigned long bist) diff --git a/src/mainboard/intel/truxton/romstage.c b/src/mainboard/intel/truxton/romstage.c index f57c36b44d..af7d1bf209 100644 --- a/src/mainboard/intel/truxton/romstage.c +++ b/src/mainboard/intel/truxton/romstage.c @@ -48,7 +48,7 @@ static inline int spd_read_byte(u16 device, u8 address) #include "northbridge/intel/i3100/raminit_ep80579.c" #include "lib/generic_sdram.c" #include "../../intel/jarrell/debug.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" #define SERIAL_DEV PNP_DEV(0x4e, I3100_SP1) diff --git a/src/mainboard/intel/xe7501devkit/irq_tables.c b/src/mainboard/intel/xe7501devkit/irq_tables.c index 951b08f5f8..f3c1c8ef2a 100644 --- a/src/mainboard/intel/xe7501devkit/irq_tables.c +++ b/src/mainboard/intel/xe7501devkit/irq_tables.c @@ -31,7 +31,7 @@ const struct irq_routing_table intel_irq_routing_table = { 0xB1, // Checksum of the entire structure (causes 8-bit sum == 0) { // NOTE: For 82801, a nonzero link value is a pointer to a PIRQ[n]_ROUT register in PCI configuration space - // This was determined from linux-2.6.11/arch/i386/pci/irq.c + // This was determined from linux-2.6.11/arch/x86/pci/irq.c // bitmap of 0xdcf8 == routable to IRQ3-IRQ7, IRQ10-IRQ12, or IRQ14-IRQ15 // ICH-3 doesn't allow SERIRQ or PCI message to generate IRQ0, IRQ2, IRQ8, or IRQ13 // Not sure why IRQ9 isn't routable (inherited from Tyan S2735) diff --git a/src/mainboard/jetway/pa78vm5/dsdt.asl b/src/mainboard/jetway/pa78vm5/dsdt.asl index 8b20ee033a..38de9b9f27 100644 --- a/src/mainboard/jetway/pa78vm5/dsdt.asl +++ b/src/mainboard/jetway/pa78vm5/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1162,7 +1162,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/kontron/kt690/dsdt.asl b/src/mainboard/kontron/kt690/dsdt.asl index 4d320b3ab3..20ecb5be0e 100644 --- a/src/mainboard/kontron/kt690/dsdt.asl +++ b/src/mainboard/kontron/kt690/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1123,7 +1123,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/nokia/ip530/irq_tables.c b/src/mainboard/nokia/ip530/irq_tables.c index d5f4cb4da4..21c8805ebd 100644 --- a/src/mainboard/nokia/ip530/irq_tables.c +++ b/src/mainboard/nokia/ip530/irq_tables.c @@ -81,7 +81,7 @@ unsigned long write_pirq_routing_table(unsigned long addr) /** * TODO: This stub function is here until the point is solved in the - * main code of coreboot. see also arch/i386/boot/pirq_tables.c + * main code of coreboot. see also arch/x86/boot/pirq_tables.c */ void pirq_assign_irqs(const unsigned char pIntAtoD[4]) { diff --git a/src/mainboard/nvidia/l1_2pvv/ap_romstage.c b/src/mainboard/nvidia/l1_2pvv/ap_romstage.c index dbb626bbe2..6efcb980a3 100644 --- a/src/mainboard/nvidia/l1_2pvv/ap_romstage.c +++ b/src/mainboard/nvidia/l1_2pvv/ap_romstage.c @@ -35,7 +35,7 @@ #include "pc80/serial.c" #include "lib/uart8250.c" -#include "arch/i386/lib/printk_init.c" +#include "arch/x86/lib/printk_init.c" #include "console/vtxprintf.c" #include "console/console.c" diff --git a/src/mainboard/supermicro/h8dme/ap_romstage.c b/src/mainboard/supermicro/h8dme/ap_romstage.c index da4180b4bb..9b3f9c87fc 100644 --- a/src/mainboard/supermicro/h8dme/ap_romstage.c +++ b/src/mainboard/supermicro/h8dme/ap_romstage.c @@ -37,7 +37,7 @@ #include "console/console.c" #include "lib/uart8250.c" #include "console/vtxprintf.c" -#include "./arch/i386/lib/printk_init.c" +#include "./arch/x86/lib/printk_init.c" #include <cpu/amd/model_fxx_rev.h> #include "northbridge/amd/amdk8/raminit.h" diff --git a/src/mainboard/supermicro/h8dmr/ap_romstage.c b/src/mainboard/supermicro/h8dmr/ap_romstage.c index da4180b4bb..9b3f9c87fc 100644 --- a/src/mainboard/supermicro/h8dmr/ap_romstage.c +++ b/src/mainboard/supermicro/h8dmr/ap_romstage.c @@ -37,7 +37,7 @@ #include "console/console.c" #include "lib/uart8250.c" #include "console/vtxprintf.c" -#include "./arch/i386/lib/printk_init.c" +#include "./arch/x86/lib/printk_init.c" #include <cpu/amd/model_fxx_rev.h> #include "northbridge/amd/amdk8/raminit.h" diff --git a/src/mainboard/supermicro/x6dai_g/romstage.c b/src/mainboard/supermicro/x6dai_g/romstage.c index 01484c85ec..87992cc6e5 100644 --- a/src/mainboard/supermicro/x6dai_g/romstage.c +++ b/src/mainboard/supermicro/x6dai_g/romstage.c @@ -41,7 +41,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7525/raminit.c" #include "lib/generic_sdram.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/supermicro/x6dhe_g/romstage.c b/src/mainboard/supermicro/x6dhe_g/romstage.c index 4068985bf9..2fb9f229e3 100644 --- a/src/mainboard/supermicro/x6dhe_g/romstage.c +++ b/src/mainboard/supermicro/x6dhe_g/romstage.c @@ -45,7 +45,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7520/raminit.c" #include "lib/generic_sdram.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/supermicro/x6dhe_g2/romstage.c b/src/mainboard/supermicro/x6dhe_g2/romstage.c index b8fc164f2e..177abb4aff 100644 --- a/src/mainboard/supermicro/x6dhe_g2/romstage.c +++ b/src/mainboard/supermicro/x6dhe_g2/romstage.c @@ -42,7 +42,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7520/raminit.c" #include "lib/generic_sdram.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/supermicro/x6dhr_ig/romstage.c b/src/mainboard/supermicro/x6dhr_ig/romstage.c index 13226f35e5..e85ea5ab18 100644 --- a/src/mainboard/supermicro/x6dhr_ig/romstage.c +++ b/src/mainboard/supermicro/x6dhr_ig/romstage.c @@ -44,7 +44,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7520/raminit.c" #include "lib/generic_sdram.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/supermicro/x6dhr_ig2/romstage.c b/src/mainboard/supermicro/x6dhr_ig2/romstage.c index 82aa6c9916..91e96a061b 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/romstage.c +++ b/src/mainboard/supermicro/x6dhr_ig2/romstage.c @@ -44,7 +44,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) #include "northbridge/intel/e7520/raminit.c" #include "lib/generic_sdram.c" -#include "arch/i386/lib/stages.c" +#include "arch/x86/lib/stages.c" static void main(unsigned long bist) { diff --git a/src/mainboard/technexion/tim5690/dsdt.asl b/src/mainboard/technexion/tim5690/dsdt.asl index ad900abd95..409d9418b9 100644 --- a/src/mainboard/technexion/tim5690/dsdt.asl +++ b/src/mainboard/technexion/tim5690/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1123,7 +1123,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/technexion/tim8690/dsdt.asl b/src/mainboard/technexion/tim8690/dsdt.asl index fb26e6d335..5fd3e3eca6 100644 --- a/src/mainboard/technexion/tim8690/dsdt.asl +++ b/src/mainboard/technexion/tim8690/dsdt.asl @@ -27,7 +27,7 @@ DefinitionBlock ( 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ - /* #include "../../../arch/i386/acpi/debug.asl" */ /* Include global debug methods if needed */ + /* #include "../../../arch/x86/acpi/debug.asl" */ /* Include global debug methods if needed */ /* Data to be patched by the BIOS during POST */ /* FIXME the patching is not done yet! */ @@ -1123,7 +1123,7 @@ DefinitionBlock ( /* South Bridge */ Scope(\_SB) { /* Start \_SB scope */ - #include "../../../arch/i386/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ + #include "../../../arch/x86/acpi/globutil.asl" /* global utility methods expected within the \_SB scope */ /* _SB.PCI0 */ /* Note: Only need HID on Primary Bus */ diff --git a/src/mainboard/via/epia-m700/romstage.c b/src/mainboard/via/epia-m700/romstage.c index 1040a1247e..84d4035086 100644 --- a/src/mainboard/via/epia-m700/romstage.c +++ b/src/mainboard/via/epia-m700/romstage.c @@ -424,7 +424,7 @@ void main(unsigned long bist) /* * There are two function definitions of console_init(), while the - * src/arch/i386/lib is the right one. + * src/arch/x86/lib is the right one. */ console_init(); diff --git a/src/mainboard/via/epia-m700/wakeup.c b/src/mainboard/via/epia-m700/wakeup.c index bae0fd4b32..f904dc2377 100644 --- a/src/mainboard/via/epia-m700/wakeup.c +++ b/src/mainboard/via/epia-m700/wakeup.c @@ -323,7 +323,7 @@ void acpi_jump_wake(u32 vector) * ----------------------------------------------------------------------- */ /* - * arch/i386/boot/a20.c + * arch/x86/boot/a20.c * * Enable A20 gate (return -1 on failure) */ diff --git a/src/northbridge/amd/amdfam10/acpi.c b/src/northbridge/amd/amdfam10/acpi.c index 7e57cce0ab..79294272b9 100644 --- a/src/northbridge/amd/amdfam10/acpi.c +++ b/src/northbridge/amd/amdfam10/acpi.c @@ -26,7 +26,7 @@ #include <cpu/amd/amdfam10_sysconf.h> #include "amdfam10.h" -//it seems some functions can be moved arch/i386/boot/acpi.c +//it seems some functions can be moved arch/x86/boot/acpi.c unsigned long acpi_create_madt_lapic_nmis(unsigned long current, u16 flags, u8 lint) { diff --git a/src/northbridge/amd/amdk8/acpi.c b/src/northbridge/amd/amdk8/acpi.c index 7a5d1c276e..ba04da3f36 100644 --- a/src/northbridge/amd/amdk8/acpi.c +++ b/src/northbridge/amd/amdk8/acpi.c @@ -33,7 +33,7 @@ #include <cpu/amd/amdk8_sysconf.h> #include "acpi.h" -//it seems some functions can be moved arch/i386/boot/acpi.c +//it seems some functions can be moved arch/x86/boot/acpi.c unsigned long acpi_create_madt_lapic_nmis(unsigned long current, u16 flags, u8 lint) { |