From owner-cvs-all Fri Oct 9 16:59:16 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24149 for cvs-all-outgoing; Fri, 9 Oct 1998 16:59:16 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24139; Fri, 9 Oct 1998 16:59:03 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA07790; Fri, 9 Oct 1998 16:59:01 -0700 (PDT) Date: Fri, 9 Oct 1998 16:59:01 -0700 (PDT) Message-Id: <199810092359.QAA07790@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern subr_module.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1998/10/09 16:59:01 PDT Modified files: sys/kern subr_module.c Log: Updates for alignment rounding. XXX this is highly machine dependent and should probably be moved to i386/i386/link_machdep.c (and the same for the alpha). Implement "deleting" a preloaded module by destroying it's tags. This is a hack. We cannot reuse the data, it's been destroyed by relocation, statically initialized variables have been modified, etc. Note that to reclaim the load space is going to be more machine-dependent work. Implement a relocate hook for machdep.c to call so that the physical addresses get converted to the equivalent KVM addresses. Revision Changes Path 1.2 +134 -15 src/sys/kern/subr_module.c