cvs commit: src/include/arpa src/usr.sbin/acpi/acpidump src/sys/bus/usb src/sys/i386/include src/sys/sys

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Aug 23 09:04:29 PDT 2004


joerg       2004/08/23 09:03:44 PDT

DragonFly src repository

  Modified files:
    include/arpa         inet.h 
    usr.sbin/acpi/acpidump acpi.c 
    sys/bus/usb          usb_port.h 
    sys/i386/include     endian.h 
    sys/sys              endian.h param.h 
  Log:
  Improve the endian support for DragonFly by providing functions to convert
  16/32/64 bit variables and parts of byte streams between host order and
  big / little endian.
  
  Reduce the namespace pollution for normal usage, e.g. of sys/types.h.
  The duplication of ntohl and friends in arpa/inet.h and sys/param.h comes
  from byteorder(3) showing sys/param.h as header file and SUS requiring
  arpa/inet.h to provide this functions.
  
  Remove local hacks in acpidump and usb_port.h.
  
  The prototype of ntohl and friends is in sync with SUS, warnings e.g. for
  implicit sign casts or use of int/long will be handled separately.
  
  Written-by:	Hitten Pandya and Joerg Sonnenberger
  Inspired-by:	FreeBSD
  
  Revision  Changes    Path
  1.4       +15 -0     src/include/arpa/inet.h
  1.2       +0 -19     src/usr.sbin/acpi/acpidump/acpi.c
  1.10      +0 -1      src/sys/bus/usb/usb_port.h
  1.4       +116 -55   src/sys/i386/include/endian.h
  1.3       +145 -9    src/sys/sys/endian.h
  1.17      +13 -0     src/sys/sys/param.h


http://www.dragonflybsd.org/cvsweb/src/include/arpa/inet.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/acpi/acpidump/acpi.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_port.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/endian.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/endian.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/param.h.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list