Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 19:44:44 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_module.c src/sys/sys module.h
Message-ID:  <200604171944.k3HJijcW016931@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-04-17 19:44:44 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_module.c 
    sys/sys              module.h 
  Log:
  Add a new module_file() function that returns the linker_file_t associated
  with a given module_t.  I use this in some the MOD_LOAD event handler for
  some test kernel modules to ask the kernel linker to look up the linker
  sets in my test modules. (I use linker sets to generate the list of
  possible events that I then signal to execute via a sysctl.  On non-amd64,
  ld(8) would resolve the entire linker set, but on amd64 I have to ask the
  kernel linker to do it for me, and having the kernel linker do it works on
  all archs.)
  
  Revision  Changes    Path
  1.49      +7 -0      src/sys/kern/kern_module.c
  1.22      +1 -0      src/sys/sys/module.h



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