kernel - Force word-writes in syscons code (Intel hw character mode emulation)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Nov 2012 21:07:10 +0000 (14:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Nov 2012 21:07:10 +0000 (14:07 -0700)
commit011ed8de98e08b4b3cb1dbd4e3bfb084e25b8a73
tree4acc500af97c1fe7d97fe01f2550cc451538348e
parent55f2ab5b6f5aa742283d8ddb021eaf1241be8034
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.
sys/dev/misc/syscons/scvtb.c