git: kernel - Force word-writes in syscons code (Intel hw character mode emulation)

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 2 14:09:29 PDT 2012


commit 011ed8de98e08b4b3cb1dbd4e3bfb084e25b8a73
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 2 14:07:10 2012 -0700

    kernel - Force word-writes in syscons code (Intel hw character mode emulation)
    
    * Observed on the Intel D2500HN.  The system console in character map mode
      fails utterly when a normal bcopy() is used to move stuff around.  Employ
      a specialized bcopy that uses 16-bit writes to work around the problem.
    
    * Just do this generally, we don't care about syscons performance.
    
    * This is possibly due to a hardware/text-mode emulation in the Intel D2500HN
      and it will probably show up in the future as well.  This could be related
      to complaints about UEFI BIOSs (which the D2500HN mobo from Intel supports)
      not handling text mode, but it handles it just fine if we only use 16-bit
      writes.

Summary of changes:
 sys/dev/misc/syscons/scvtb.c |   56 +++++++++++++++++++++++++++++++++--------
 1 files changed, 45 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/011ed8de98e08b4b3cb1dbd4e3bfb084e25b8a73


-- 
DragonFly BSD source repository



More information about the Commits mailing list