Commit graph

2849 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
2883ecb5ff Schedule interactive threads fairly under load.
Preempted threads are now removed from the runnable list until every
other thread has been preempted or the system goes idle. This ensures
threads that roundtrip to other threads get a full chance to perform
their work cooperatively without being starved by CPU intensive threads
whenever they yield.
2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
2710f60690 Kinda fix pager(1) man bullet points. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
c4e0a79bc1 Fix ESP endian. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
8f466ecc13 Support booting with EFI. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
d1574c1682 Add kernel(7) --firmware option. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
9a0670f055 Add fatfs(8). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
18aab49cad Add getty(8). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
5a877ea44b Add terminal and interrupt support to com(4). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
365ada713e Add nyan(1). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
3ba95b7415 Work around pty deadlock. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
1e4acb7401 Add cdrom mounting live environment. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
1e9cd96738 Revert "Parallelize driver initialization."
This reverts commit 0fef08bbc4.
2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
e0d5ebc747 Parallelize driver initialization. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
762f4feb75 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.
2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
8bb8718327 Decrease PS/2 timeouts. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
0e12ffcf60 Add uptime(1) -pr options. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
eef9932761 Add iso9660 filesystem implementation. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
0135f8a6fa Add kernel virtual address space usage debug information. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
59c69f4ee9 Debug TCP socket state listing. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
718fae5b87 Add kernel heap allocation tracing debug facility. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
56517529c0 Trianglix 4. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
e664dd5998 Add tix-check(8). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
561771df54 Volatile release. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
4e56ca101c Add tix-upgrade(8). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
c9ca26f108 Add tix-repository(8).
Support renaming, splitting, and deleting ports via RENAMES.

Unify on RUNTIME_DEPS for runtime dependencies.
2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
ea2e033ad6 Add signify port. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
07694a1ee1 Add pty(1). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
74aa386f39 Add getaddrinfo(1). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
36d95209dc Enable stack smash protection by default. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
359b1a8642 Enable undefined behavior sanitization by default. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
77ad36cda8 Handle SIGWINCH in editor(1). 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
faf0acef59 Implement SIGWINCH. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
1f840b1e36 Separate filesystem socket namespace inside chroots. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
8b0911c672 Fix SIGHUP not being sent to only the foreground process group. 2024-06-18 22:17:06 +02:00
Jonas 'Sortie' Termansen
b6f2333bdd Fix editor(1) crashing on resolution changes. 2024-06-18 21:53:50 +02:00
Jonas 'Sortie' Termansen
da24b330e0 Fix buffer overflow in init(8) tokenizer. 2024-05-25 19:50:46 +02:00
Jonas 'Sortie' Termansen
29b375dcb1 Refactor init(8) communications. 2024-05-22 13:53:34 +02:00
Jonas 'Sortie' Termansen
6cc934aa70 Add libsqlite3 port. 2024-05-22 13:27:34 +02:00
Jonas 'Sortie' Termansen
6ef4f49dad Add unix(4) SO_ERROR. 2024-05-22 13:27:34 +02:00
Jonas 'Sortie' Termansen
153cd1817b Remove unused <sortix/types.h>. 2024-05-22 13:27:34 +02:00
Jonas 'Sortie' Termansen
03329cae6a Process editor(1) input immediately. 2024-05-22 13:26:56 +02:00
Jonas 'Sortie' Termansen
22b59a8f6f Fix display(8) windows receiving handled keystrokes. 2024-05-22 13:26:56 +02:00
Jonas 'Sortie' Termansen
493b838dbf Fix extfs(8) mount warnings. 2024-05-22 13:26:56 +02:00
Jonas 'Sortie' Termansen
27275e151d Fix bugs in glob(3). 2024-05-22 13:26:56 +02:00
Jonas 'Sortie' Termansen
a7f5ac82aa Update to git-2.43.0. 2024-03-25 23:22:34 +01:00
Jonas 'Sortie' Termansen
531d0dcc03 Update to vim-9.0. 2024-03-25 23:22:34 +01:00
Jonas 'Sortie' Termansen
117f9a9888 Update to nginx-1.25.3. 2024-03-25 23:22:34 +01:00
Jonas 'Sortie' Termansen
e6aa160df4 Update to nasm-2.16.01. 2024-03-25 23:22:34 +01:00
Jonas 'Sortie' Termansen
71bdc34ab7 Update to openssh-9.6p1. 2024-03-25 23:22:34 +01:00
Jonas 'Sortie' Termansen
2026a283ab Update to xorriso-1.5.6. 2024-03-25 23:22:34 +01:00