tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
dev
/
wscons
/
at
master
35 files
ascii.h
Add missing comments for CAN and SUB, for consistency.
9 years ago
files.wscons
Handle touchpad input in wsmouse.
9 years ago
unicode.h
import newer wscons source from netbsd. art@ said it will make his life easier in alpha rhands@ said it is not used in powerpc for now bjc@ said that it would make vax port easier mickey@ said other platforms can use it, and it's faster
26 years ago
wscons_callbacks.h
UTF-8 support for wsdisplay emulation modes. Both vt100 and sun emulation will now recognize xterm-compatible escape sequences ESC % G and ESC % @ to enter and leave UTF-8 mode, respectively.
12 years ago
wscons_features.h
Disable double width and height escape sequences under SMALL_KERNEL.
3 years ago
wsconsio.h
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
wsdisplay.c
Switch to console before suspending in DUMBFB mode. Fixes frame buffer corruption and a few other bugs/races after wakeup on Apple Silicon laptops and Lenovo x13s.
3 years ago
wsdisplay_compat_usl.c
The "USL" VT switch and keyboard ioctls are a hack and don't follow the proper BSD way where the third argument is always a pointer and data is transferred between userland and kernel using copyin(9) and copyout(9). Intead an int is encoded in the thirs argument. This works on 32-bit architectures and little-endian 64-bit architectures. But not on big-endian 64-bit architectures. Deal with this by handling the argument as long (which matches the size of a pointer).
5 years ago
wsdisplay_usl_io.h
Remove 'option COMPAT_PCVT' now that X doen't use it anymore. An X server built after april 3 is needed to be able to start X with the new kernel. ok kettenis@
10 years ago
wsdisplayvar.h
Fix various typos in wscons(4) comments.
5 years ago
wsemul_dumb.c
change wsdisplay attribute type from long to uint32_t
5 years ago
wsemul_subr.c
Replace old'n'wrong UTF-8 logic with a better one borrowed from Citrus; issue reported by Crystal Kolipe on tech@
3 years ago
wsemul_sun.c
Correctly account the number of bytes processed when outputting UTF-8 encoded characters.
3 years ago
wsemul_vt100.c
Correctly account the number of bytes processed when outputting UTF-8 encoded characters.
3 years ago
wsemul_vt100_chars.c
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
11 years ago
wsemul_vt100_keys.c
Add Backtab key, based on a change from Crystal Kolipe kolipe.c at exoticsilicon dot com.
3 years ago
wsemul_vt100_subr.c
Add a few missing bounds checks when processing terminal escape sequences. Without them, the kernel could be made to crash or reboot after receiving some specially crafted terminal escape sequences.
3 years ago
wsemul_vt100var.h
Replace old'n'wrong UTF-8 logic with a better one borrowed from Citrus; issue reported by Crystal Kolipe on tech@
3 years ago
wsemulconf.c
Fix two out-of-bounds array accesses in ioctl code pats. One found by johnc@armadilloaerospace.com and another one spotted by matthieu@.
6 years ago
wsemulvar.h
Replace old'n'wrong UTF-8 logic with a better one borrowed from Citrus; issue reported by Crystal Kolipe on tech@
3 years ago
wsevent.c
Remove unused device poll functions.
3 years ago
wseventvar.h
Remove unused device poll functions.
3 years ago
wskbd.c
Move the code handling brightness keys into a task, since with inteldrm(4) it requires a process context. ok kettenis@
3 years ago
wskbdraw.h
Report the compose key on sun keyboards in raw mode as a different keycode from right alt. ok krw@ shadchin@ deraadt@
15 years ago
wskbdutil.c
Prevent a double free by assigning the new keymap and corresponding size after the allocation and initialization is done. Otherwise, a race is possible if malloc ends up sleeping.
4 years ago
wskbdvar.h
Currently, wskbd_set_mixervolume() only adjusts the volume of the first attached audio device, i.e. audio0. This approach does not work well while using additional audio devices equipped with physical volume keys since those would only affect the volume of audio0.
4 years ago
wsksymdef.h
Add Backtab key, based on a change from Crystal Kolipe kolipe.c at exoticsilicon dot com.
3 years ago
wsksymvar.h
Prevent a double free by assigning the new keymap and corresponding size after the allocation and initialization is done. Otherwise, a race is possible if malloc ends up sleeping.
4 years ago
wsmouse.c
Fix a bug in the initialization mechanism of wsmouse.
3 years ago
wsmoused.h
Stop supporting wsmoused and X in parallel. This code is racy and known to break mice upon resume.
11 years ago
wsmouseinput.h
Include wstpad allocations when cleaning up wsmouse resources.
5 years ago
wsmousevar.h
Remove remnants of old versions.
8 years ago
wsmux.c
Remove unused device poll functions.
3 years ago
wsmuxvar.h
Serialize access to the list of attached child devices belonging to a wsmux. When invoking wsevsrc_* functions on a attached child device, underlying driver can sleep; this introduces a race where another thread is able to modify the list leading to all kinds of corruptions.
7 years ago
wstpad.c
Reorganize the handling of tap inputs.
3 years ago