Commit graph

2764 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
147b33c26b fixup! Add display server. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
a78704f7e6 fixup! Add display server. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
bdd859c748 fixup! Add display server. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
eb9fb7b0fc fixup! Add display server. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
684a141953 fixup! Add display server. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
7420fbee78 Add nyan(1). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
ba0d740c7d Draft video-player. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
30766d4f7e Aurora procedural wallpaper. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
4417a53fb6 Work around pty deadlock. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
6bfcfe0c9d Add cdrom mounting live environment. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
b83dda7128 Revert "Parallelize driver initialization."
This reverts commit 0fef08bbc4.
2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
d327f346f8 Parallelize driver initialization. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
ee58bde6a1 Speed up ata(4) 400 ns waits.
Waiting for any non-zero duration currently waits for at least one timer
cycle (10 ms), which is especially expensive during early boot.

The current workaround of simply reading the status 14 times seems really
suspicious although the osdev wiki documents it, but let's see how well it
works on real hardware, it's probably good enough.

Try to determine the initial selected drive to save one drive selection.
2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
f37756c9b9 Decrease PS/2 timeouts. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
8849315c55 Add uptime(1) -pr options. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
7db03d1200 Add iso9660 filesystem implementation. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
bdaee031f1 Add kernel virtual address space usage debug information. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
2ebdb1b26b Revert "Update to bison-3.8.2."
This reverts commit b82fae810b42c5426d21c4dc153b32f086dd7fde.
2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
bef4bf212b Update to bison-3.8.2. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
b1c56d0c1f Debug TCP socket state listing. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
dfda1660da Add kernel heap allocation tracing debug facility. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
1941eb6b04 Add m4, perl, and texinfo to the basic ports set. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
d5b44d34de Trianglix 4. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
a4b03b4745 Add tix-check(8). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
d9ee17d0ee Volatile release. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
10a0b51b6f Add tix-upgrade(8). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
f14dcc6953 Add display server.
Remove the obsolete dispd.
2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
d19eb24b27 Add pty(1). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
1e951aaca3 Add signify port. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
044487dae6 Add irc(1).
Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
c25c580fec Add getaddrinfo(1). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
4cc9025d8c Add host(1). 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
db743f9454 Enable stack smash protection by default. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
2cd55fe5a6 Enable undefined behavior sanitization by default. 2023-06-20 00:10:22 +02:00
Jonas 'Sortie' Termansen
f647d9c36d Switch trianglix(1) from dispd to dispmsg_issue(2). 2023-06-20 00:10:22 +02:00
Juhani Krekelä
e4ce686576 Use standard termios flags and functions in chvideomode(1).
Previously chvideomode(1) used {get,set}termmode(2) as well as
tcgetwincurpos(2), which are non-standard and only work in the kernel
terminal.

This necessitates changing the keybind for exiting the menu from esc to
Q, as there is no good standard way to disambiguate between escape
character by itself and the start of an escape sequence.
2023-06-20 01:06:20 +03:00
Juhani Krekelä
0660d420f3 Fix pagination in chvideomode(1).
Pagination code deals with two indices for video modes, one relative to
the start of video modes array and one relative to the start of current
page. Previously when displaying the list of modes, the video mode array
would be accessed using the one relative to the start of the current
page, meaning that pages 2 and onwards displayed repeats of the video
modes on page 1. This changes the the display code to use indices
relative to the start of the video modes array when accessing the array.
2023-06-14 20:05:03 +03:00
Juhani Krekelä
1773d6a131 Fix setting custom modes on command line in chvideomode(1).
Previously setting a mode from the command line would only work if it
was one of the pre-set resolutions offered by the driver. If the driver
supported custom resolutions and a user tried to set one on the command
line, chvideomode(1) would instead launch in interactive mode.
2023-06-14 01:28:11 +03:00
Jonas 'Sortie' Termansen
9d4eec4267 Add reinit support to init(8). 2023-06-08 22:50:03 +02:00
Juhani Krekelä
d671516e9c Change chvideomode(1) to use "WIDTHxHEIGHTxBPP" consistently.
Previously chvideomode(1) used "WIDTHxHEIGHTxBPP" on the command line
while interactively it used "BPP x WIDTH x HEIGHT". Change everything
to "WIDTHxHEIGHTxBPP".
2023-05-22 00:50:27 +03:00
Juhani Krekelä
f6d6b60c10 Use getopt_long(3) and err(3) family in chvideomode(1). 2023-05-18 19:20:54 +03:00
Juhani Krekelä
2c0a559309 Use getopt_long(3) and err(3) family in chkblayout(1). 2023-05-18 19:20:54 +03:00
Juhani Krekelä
66c4b7486a Move chkblayout(1) and chvideomode(1) into their own directories. 2023-05-16 02:25:18 +03:00
Juhani Krekelä
610b51ffdc Fix getopt_long(3) handling of required argument at the end of argv.
Previously if argv ended with a long option that required an argument
followed by said argument, getopt_long(3) would generate an error saying
that the option requires an argument even though it was provided. This
was because the comparison of optind against argc did not account for
the fact that optind had already been incremented, causing an
off-by-one.
2023-05-16 02:17:22 +03:00
Jonas 'Sortie' Termansen
1e17e7fab7 Add automatic installer and upgrader. 2023-05-15 23:25:19 +02:00
Jonas 'Sortie' Termansen
77c2e7f59e Fix chvideomode(1) --max- option parsing. 2023-05-15 23:24:33 +02:00
Jonas 'Sortie' Termansen
e9d9eabb6e Add non-interactive mode to disked(8). 2023-04-23 23:35:08 +02:00
Jonas 'Sortie' Termansen
b029127df5 Add passwd(1) -H option. 2023-04-23 23:35:08 +02:00
Jonas 'Sortie' Termansen
c77745e447 Change chvidemode(1) to set requested mode instead of running command. 2023-04-22 19:54:40 +02:00
Juhani Krekelä
adcf11944f Update to libressl-3.7.2. 2023-04-21 23:00:33 +03:00