git: firmware - Import FreeBSD's firmware API.

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 14 09:57:09 PDT 2010


commit 32e913d7589f41134a0edb9188a872dca759988f
Author: Joe Talbott <josepht at neptune.xenno.com>
Date:   Wed Mar 31 19:39:44 2010 -0400

    firmware - Import FreeBSD's firmware API.
    
    This should be considered experimental.  When porting code from
    FreeBSD instances of #include <sys/firmware.h> should be converted
    to #include <sys/fbsd_firmware.h>.  I have also taken out some of
    the firmware file locking code.

Summary of changes:
 sys/Makefile             |    2 +-
 sys/conf/kmod.mk         |   33 +++-
 sys/firmware/Makefile    |    8 +
 sys/kern/kern_linker.c   |   46 ++++
 sys/kern/subr_firmware.c |  553 ++++++++++++++++++++++++++++++++++++++++++++++
 sys/sys/fbsd_firmware.h  |   64 ++++++
 sys/sys/linker.h         |    7 +
 sys/tools/fw_stub.awk    |  230 +++++++++++++++++++
 8 files changed, 941 insertions(+), 2 deletions(-)
 create mode 100644 sys/firmware/Makefile
 create mode 100644 sys/kern/subr_firmware.c
 create mode 100644 sys/sys/fbsd_firmware.h
 create mode 100644 sys/tools/fw_stub.awk

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32e913d7589f41134a0edb9188a872dca759988f


-- 
DragonFly BSD source repository





More information about the Commits mailing list