summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/sctermvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Do not try to work around ``poor (un)sign extension code''robert2002-10-201-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creation by GCC-2.6.3. Casting pointers to unsigned char to volatile pointers to unsigned char seemed to produce better results on the ia32 architecture with old versions of GCC. The current FreeBSD system compiler GCC-3.2.1 emits better sign extension code for non-volatile variables: volatile char c; int i = c; is compiled to: ... movb -1(%ebp), %al movbsl %al, %eax movl %eax, -8(%ebp) ... char c; int i = c; is compiled to: ... movbsl -1(%ebp), %eax movl %eax, -8(%ebp) ... The same holds for zero-extension of dereferenced pointers to volatile unsigned char. When compiled on alpha or sparc64, the code produced for the two examples above does not differ.
* Fix off by one error for ESC[1J.yokota2001-07-201-1/+1
| | | | | PR: kern/18381 MFC after: 10 days
* Fix the TAB not cause scrolling when entered at the end of the last line.ache2000-05-291-3/+8
| | | | | | | | It may cause misterious chars appearse in the middle of the scrolled lines. The bug trigger: enter grep P_32 /usr/include/*.h command and see misterious "db.\" filename.
* This is the 3rd stage of syscons code reorganization.yokota2000-01-151-0/+437
- Split terminal emulation code from the main part of the driver so that we can have alternative terminal emulator modules if we like in the future. (We are not quite there yet, though.) - Put sysmouse related code in a separate file, thus, simplifying the main part of the driver. As some files are added to the source tree, you need to run config(8) before you compile a new kernel next time. You shouldn't see any functional change by this commit; this is only internal code reorganization.
OpenPOWER on IntegriCloud