From e9461d4fe1a9ea4febbc97e9a802e5b814badfc6 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 21 Oct 2004 19:32:15 +0000 Subject: MFR_5. Make the loadable module have the same content as the compiled-in mem device. This means the Module has MTRR for i386 and amd64. Approved by: re(scottl) --- sys/modules/mem/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile index 75d89e38c9e3..60747db9e8d0 100644 --- a/sys/modules/mem/Makefile +++ b/sys/modules/mem/Makefile @@ -8,6 +8,12 @@ SRCS= memdev.c mem.c .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" SRCS+= memutil.c .endif +.if ${MACHINE_ARCH} == "i386" +SRCS+= i686_mem.c k6_mem.c +.endif +.if ${MACHINE_ARCH} == "amd64" +SRCS+= amd64_mem.c +.endif SRCS+= bus_if.h device_if.h vnode_if.h .include -- cgit v1.2.3