Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 06:02:00 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_linker.c kern_module.c src/sys/sys module.h
Message-ID:  <199905081302.GAA02001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/05/08 06:02:00 PDT

  Modified files:
    sys/kern             kern_linker.c kern_module.c 
    sys/sys              module.h 
  Log:
  First stages of a module dependency cleanup.  This part fixes a
  particularly annoying hack, namely having the linker bash the moduledata
  to set the container pointer, preventing it being const.  In the process,
  a stack of warnings were fixed and will probably allow a revisit of the
  const C_SYSINIT() changes.  This explicitly registers modules in files or
  preload areas with the module system first, and let them initialize via
  SYSINIT/DECLARE_MODULE later in their SI_ORDER_xxx order.  The kludge of
  finding the containing file is no longer needed since the registration
  of modules onto the modules list is done in the context of initializing
  the linker file.
  
  Revision  Changes    Path
  1.32      +12 -5     src/sys/kern/kern_linker.c
  1.17      +33 -21    src/sys/kern/kern_module.c
  1.11      +3 -4      src/sys/sys/module.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905081302.GAA02001>