summaryrefslogtreecommitdiffstats
path: root/sys/modules/cloudabi64
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-10-22 09:07:53 +0000
committered <ed@FreeBSD.org>2015-10-22 09:07:53 +0000
commit7fb0afec66034c72011184b7e167248af15d3e68 (patch)
treee5c6fe17118c05c548cf2fbc3ab609e172a23a04 /sys/modules/cloudabi64
parentd6bf3fbf0a8d1c754366da7669285be065d0bd96 (diff)
downloadFreeBSD-src-7fb0afec66034c72011184b7e167248af15d3e68.zip
FreeBSD-src-7fb0afec66034c72011184b7e167248af15d3e68.tar.gz
Refactoring: move out generic bits from cloudabi64_sysvec.c.
In order to make it easier to support CloudABI on ARM64, move out all of the bits from the AMD64 cloudabi_sysvec.c into a new file cloudabi_module.c that would otherwise remain identical. This reduces the AMD64 specific code to just ~160 lines. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D3974
Diffstat (limited to 'sys/modules/cloudabi64')
-rw-r--r--sys/modules/cloudabi64/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/cloudabi64/Makefile b/sys/modules/cloudabi64/Makefile
index a340e50..3aee96d 100644
--- a/sys/modules/cloudabi64/Makefile
+++ b/sys/modules/cloudabi64/Makefile
@@ -4,8 +4,8 @@
.PATH: ${.CURDIR}/../../${MACHINE}/cloudabi64
KMOD= cloudabi64
-SRCS= cloudabi64_fd.c cloudabi64_poll.c cloudabi64_sock.c \
- cloudabi64_syscalls.c cloudabi64_sysent.c cloudabi64_sysvec.c \
- cloudabi64_thread.c
+SRCS= cloudabi64_fd.c cloudabi64_module.c cloudabi64_poll.c \
+ cloudabi64_sock.c cloudabi64_syscalls.c cloudabi64_sysent.c \
+ cloudabi64_sysvec.c cloudabi64_thread.c
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud