Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2010 18:10:13 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 io.c src/sys/amd64/include iodev.h src/sys/conf files.ia64 src/sys/dev/io iodev.c src/sys/i386/i386 io.c src/sys/i386/include iodev.h src/sys/ia64/conf DEFAULTS src/sys/ia64/ia64 iodev_machdep.c sys_machdep.c ...
Message-ID:  <201001111810.o0BIAai7004248@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2010-01-11 18:10:13 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      io.c 
    sys/amd64/include    iodev.h 
    sys/conf             files.ia64 
    sys/dev/io           iodev.c 
    sys/i386/i386        io.c 
    sys/i386/include     iodev.h 
    sys/ia64/conf        DEFAULTS 
    sys/ia64/ia64        sys_machdep.c 
    sys/ia64/include     sysarch.h 
  Added files:
    sys/ia64/ia64        iodev_machdep.c 
    sys/ia64/include     iodev.h 
  Log:
  SVN rev 202097 on 2010-01-11 18:10:13Z by marcel
  
  Use io(4) for I/O port access on ia64, rather than through sysarch(2).
  I/O port access is implemented on Itanium by reading and writing to a
  special region in memory. To hide details and avoid misaligned memory
  accesses, a process did I/O port reads and writes by making a MD system
  call. There's one fatal problem with this approach: unprivileged access
  was not being prevented. /dev/io serves that purpose on amd64/i386, so
  employ it on ia64 as well. Use an ioctl for doing the actual I/O and
  remove the sysarch(2) interface.
  
  Backward compatibility is not being considered. The sysarch(2) approach
  was added to support X11, but support for FreeBSD/ia64 was never fully
  implemented in X11. Thus, nothing gets broken that didn't need more work
  to begin with.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.3       +9 -0      src/sys/amd64/amd64/io.c
  1.3       +1 -0      src/sys/amd64/include/iodev.h
  1.104     +2 -0      src/sys/conf/files.ia64
  1.5       +1 -2      src/sys/dev/io/iodev.c
  1.3       +9 -0      src/sys/i386/i386/io.c
  1.3       +1 -0      src/sys/i386/include/iodev.h
  1.19      +1 -0      src/sys/ia64/conf/DEFAULTS
  1.1       +160 -0    src/sys/ia64/ia64/iodev_machdep.c (new)
  1.10      +0 -63     src/sys/ia64/ia64/sys_machdep.c
  1.1       +51 -0     src/sys/ia64/include/iodev.h (new)
  1.5       +0 -9      src/sys/ia64/include/sysarch.h



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