From 794bd3859395cf5f8bfecda7be7625b70b42a032 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 23 Nov 2021 19:29:51 +0000 Subject: [PATCH] - refactored network git-svn-id: http://moon:8086/svn/mips@204 a8ebac50-d88d-4704-bea3-6648445a41b3 --- src/Makefile | 2 +- src/{ => common/network}/arp.c | 0 src/{ => common/network}/arp.h | 0 src/{ => common/network}/dhcp.c | 0 src/{ => common/network}/dhcp.h | 0 src/{ => common/network}/emac.c | 0 src/{ => common/network}/emac.h | 0 src/{ => common/network}/ethernet.c | 0 src/{ => common/network}/ethernet.h | 0 src/{ => common/network}/icmp.c | 0 src/{ => common/network}/icmp.h | 0 src/{ => common/network}/ipv4.c | 0 src/{ => common/network}/ipv4.h | 0 src/{ => common/network}/marvell_88e1111.c | 0 src/{ => common/network}/marvell_88e1111.h | 0 src/{ => common/network}/mii-bitbang.c | 0 src/{ => common/network}/mii-bitbang.h | 0 src/{ => common/network}/udp.c | 0 src/{ => common/network}/udp.h | 0 src/{test_gpio.c => test_emac.c} | 0 20 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => common/network}/arp.c (100%) rename src/{ => common/network}/arp.h (100%) rename src/{ => common/network}/dhcp.c (100%) rename src/{ => common/network}/dhcp.h (100%) rename src/{ => common/network}/emac.c (100%) rename src/{ => common/network}/emac.h (100%) rename src/{ => common/network}/ethernet.c (100%) rename src/{ => common/network}/ethernet.h (100%) rename src/{ => common/network}/icmp.c (100%) rename src/{ => common/network}/icmp.h (100%) rename src/{ => common/network}/ipv4.c (100%) rename src/{ => common/network}/ipv4.h (100%) rename src/{ => common/network}/marvell_88e1111.c (100%) rename src/{ => common/network}/marvell_88e1111.h (100%) rename src/{ => common/network}/mii-bitbang.c (100%) rename src/{ => common/network}/mii-bitbang.h (100%) rename src/{ => common/network}/udp.c (100%) rename src/{ => common/network}/udp.h (100%) rename src/{test_gpio.c => test_emac.c} (100%) diff --git a/src/Makefile b/src/Makefile index 6213a4a..f36fcb7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,7 +5,7 @@ include $(MIPS_HOME)/make/mips_app.mk PROG-ml402 = $(addprefix $(BUILD_DIR)/, hello.elf testbench.elf test_irq.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf life.elf r3.elf gunzip.elf basic_math.elf jman_patches.elf jman_patchmeshes.elf jman_polys.elf test_hpi.elf test_vga.elf test_fft.elf flashtest.elf test_emac_sim.elf) PROG-denano = $(addprefix $(BUILD_DIR)/, hello.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf testbench_denano.elf) -PROG-sim = $(addprefix $(BUILD_DIR)/, hello.elf test_exception_sim.elf) +PROG-sim = $(addprefix $(BUILD_DIR)/, hello.elf test_exception_sim.elf test_emac_sim.elf) all: $(PROG-$(BOARD)) diff --git a/src/arp.c b/src/common/network/arp.c similarity index 100% rename from src/arp.c rename to src/common/network/arp.c diff --git a/src/arp.h b/src/common/network/arp.h similarity index 100% rename from src/arp.h rename to src/common/network/arp.h diff --git a/src/dhcp.c b/src/common/network/dhcp.c similarity index 100% rename from src/dhcp.c rename to src/common/network/dhcp.c diff --git a/src/dhcp.h b/src/common/network/dhcp.h similarity index 100% rename from src/dhcp.h rename to src/common/network/dhcp.h diff --git a/src/emac.c b/src/common/network/emac.c similarity index 100% rename from src/emac.c rename to src/common/network/emac.c diff --git a/src/emac.h b/src/common/network/emac.h similarity index 100% rename from src/emac.h rename to src/common/network/emac.h diff --git a/src/ethernet.c b/src/common/network/ethernet.c similarity index 100% rename from src/ethernet.c rename to src/common/network/ethernet.c diff --git a/src/ethernet.h b/src/common/network/ethernet.h similarity index 100% rename from src/ethernet.h rename to src/common/network/ethernet.h diff --git a/src/icmp.c b/src/common/network/icmp.c similarity index 100% rename from src/icmp.c rename to src/common/network/icmp.c diff --git a/src/icmp.h b/src/common/network/icmp.h similarity index 100% rename from src/icmp.h rename to src/common/network/icmp.h diff --git a/src/ipv4.c b/src/common/network/ipv4.c similarity index 100% rename from src/ipv4.c rename to src/common/network/ipv4.c diff --git a/src/ipv4.h b/src/common/network/ipv4.h similarity index 100% rename from src/ipv4.h rename to src/common/network/ipv4.h diff --git a/src/marvell_88e1111.c b/src/common/network/marvell_88e1111.c similarity index 100% rename from src/marvell_88e1111.c rename to src/common/network/marvell_88e1111.c diff --git a/src/marvell_88e1111.h b/src/common/network/marvell_88e1111.h similarity index 100% rename from src/marvell_88e1111.h rename to src/common/network/marvell_88e1111.h diff --git a/src/mii-bitbang.c b/src/common/network/mii-bitbang.c similarity index 100% rename from src/mii-bitbang.c rename to src/common/network/mii-bitbang.c diff --git a/src/mii-bitbang.h b/src/common/network/mii-bitbang.h similarity index 100% rename from src/mii-bitbang.h rename to src/common/network/mii-bitbang.h diff --git a/src/udp.c b/src/common/network/udp.c similarity index 100% rename from src/udp.c rename to src/common/network/udp.c diff --git a/src/udp.h b/src/common/network/udp.h similarity index 100% rename from src/udp.h rename to src/common/network/udp.h diff --git a/src/test_gpio.c b/src/test_emac.c similarity index 100% rename from src/test_gpio.c rename to src/test_emac.c