Commit Graph

163 Commits

Author SHA1 Message Date
K. Lange
236c8bacb3 modules: Reimplement loadable kernel modules 2021-07-17 18:55:54 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
229c4f9631 atapi: Add timeout checks to resolve boot failures in newer QEMUs 2021-05-31 09:24:06 +09:00
K. Lange
046ec9538f vmware: initialize vmware_mouse_byte or it resolves incorrectly by linker 2020-04-24 21:53:20 +09:00
K. Lange
4f0c5d8b49 vgalog: fix incomplete initializer 2020-03-28 23:56:08 +09:00
K. Lange
c75d31d7ca portio: /dev/port is a block device, not a character device (it support seek) 2019-12-17 11:57:07 +09:00
K. Lange
52d65d3099 debug_sh: fix bad format string in pci command 2019-02-15 11:03:18 +09:00
K. Lange
ed6c60d51f procfs: fix BAR5 typo 2019-02-15 10:57:57 +09:00
K. Lange
1ff5347405 kernel: move PCI device names out of kernel, into lspci 2019-02-11 12:55:24 +09:00
K. Lange
96fe218d2f ata: apply same change for atapi 2018-12-28 09:49:58 +09:00
K. Lange
d922943547 ata: fix disk size and small reads 2018-12-28 09:37:17 +09:00
K. Lange
cf073fa36f ata: provide /dev/cdrom* as o=r 2018-12-27 21:15:23 +09:00
K. Lange
979f31bc46 tarfs: minor speedup, assuming well-ordered archives 2018-12-20 19:06:46 +09:00
K. Lange
f5d81ed9dd tarfs: allocation cleanups 2018-12-12 10:54:49 +09:00
K. Lange
662ad3b407 kernel: remove calls to calloc (they confuse the tracker) 2018-12-12 10:31:42 +09:00
K. Lange
09f031e6a5 tarfs: replace static objects for thread safety 2018-12-11 23:16:29 +09:00
K. Lange
9bd27895bc ps2kbd: why are we giving current_process this 2018-12-11 23:16:29 +09:00
K. Lange
f993a753cb tarfs: new filesystem driver for read-only ustar mounting 2018-12-11 12:26:02 +09:00
K. Lange
5bf2cd5ea2 tmpfs: probably off-by-one, let's be safe 2018-12-11 12:20:08 +09:00
K. Lange
097cbb4018 procfs: irq isr, irr, imr status 2018-12-03 12:50:33 +09:00
K. Lange
131262bb1f kernel: change some log levels 2018-12-03 11:22:33 +09:00
K. Lange
f991448918 debug_sh: /dev/ttyS* are real pty's these days 2018-12-03 11:13:39 +09:00
K. Lange
d258287644 procfs: must only look at extended_entries if set 2018-12-03 09:53:10 +09:00
K. Lange
931d3d3b13 pcspkr: accept -1 and 0 as special lengths 2018-11-29 20:55:30 +09:00
K. Lange
4788ff3cc8 beep: fix some durations 2018-11-29 18:30:59 +09:00
K. Lange
367e3afd94 pcspkr: beep duration should be ms not 10ms? 2018-11-29 17:26:55 +09:00
K. Lange
29c78bb789 tmpfs: refuse to make empty directories 2018-11-28 15:39:15 +09:00
K. Lange
aca47b862b toggle-relative-mouse: add query option 'get' 2018-11-27 20:40:46 +09:00
K. Lange
a97c3ab361 ata: fixup read/write on big disks 2018-11-23 12:34:23 +09:00
K. Lange
de7463d141 kernel: 64-bit offsets for VFS 2018-11-23 09:56:44 +09:00
K. Lange
f3c6507e4a kernel: move truncate to a separate method called after open 2018-11-21 21:54:31 +09:00
K. Lange
df449d4b94 net: actually attempt to close sockets 2018-11-09 15:55:26 +09:00
K. Lange
c2e0255066 iso9660: permissions shouuld be 0555 2018-11-07 10:55:53 +09:00
K. Lange
758a8b6cf4 tmpfs: mount through startup, not on module load 2018-10-31 18:18:11 +09:00
K. Lange
be97496bed tmpfs: update mtime with just an open w/ append? 2018-10-31 11:39:56 +09:00
K. Lange
730fd9d64c tmpfs: /var as a protected tmpfs 2018-10-31 10:51:08 +09:00
K. Lange
f9a64b6ac7 debug_sh: cleanup 2018-10-30 16:56:28 +09:00
K. Lange
886f5797fb kernel: add modes and offsets to file descriptors 2018-10-29 20:57:17 +09:00
K. Lange
81ba10fe3f serial: new direct tty serial driver 2018-10-29 19:55:55 +09:00
K. Lange
4d854b156c lfbvideo: allow display initialize to be triggered by ioctl 2018-10-27 16:18:09 +09:00
K. Lange
3d2e94d387 procfs: indicate stopped (T) in status 2018-10-26 20:50:11 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
092ca7c196 tty: ascii DELETE for backspace; no serial conversion 2018-10-26 13:39:03 +09:00
K. Lange
b721c7483c debug_sh: use current process fd 0, 1 for shell, don't implement bad readline 2018-10-25 23:23:29 +09:00
K. Lange
076d7d59d8 debug_sh: command to set kernel args 2018-10-25 23:23:29 +09:00
K. Lange
6898766fa0 lfbvideo: re-add old kludge vidmem locator as an option 2018-10-21 20:56:01 +09:00
K. Lange
30b0b9477b e1000: add mobile chipset pci id 2018-10-21 20:31:48 +09:00
K. Lange
68f59d27f7 procfs: /proc/self as a dynamic symlink 2018-10-11 19:52:11 +09:00
K. Lange
0ef0c0cd8f linker scripts have no effect on object files 2018-10-07 12:06:17 +09:00
K. Lange
31214693dd Fixes to build kernel and modules with clang 2018-10-07 11:53:07 +09:00
K. Lange
36e9046ae8 Allow modules to install procfs entries 2018-09-30 16:09:19 +09:00
K. Lange
c4c8b42c53 vmware module description update 2018-09-29 11:53:01 +09:00
K. Lange
94483a0e71 Vmware driver cleanup 2018-09-29 11:44:08 +09:00
K. Lange
37e30140ec Experimental vmware display resizing 2018-09-29 01:13:32 +09:00
K. Lange
de94682728 Only the kill syscall should care about user permissions for signals 2018-09-28 23:59:12 +09:00
K. Lange
8b07197870 linear framebuffer driver cleanup, add /proc/framebuffer 2018-09-28 21:15:30 +09:00
K. Lange
376e7989e8 Remove garbage fire lfb locator hack 2018-09-28 20:29:40 +09:00
K. Lange
c1e42d2e07 add /dev/port 2018-09-28 13:59:14 +09:00
K. Lange
cde409ae87 Add more stuff to procfs/status 2018-09-22 17:33:51 +09:00
K. Lange
053d49a231 Also calculate rough percentage
As this includes shm, it overestimates and values may add up to more than 100%
2018-09-14 21:11:26 +09:00
K. Lange
01f3383f8a Similarly, shm usage info 2018-09-14 20:44:57 +09:00
K. Lange
5fa5d2020d Make some virtual memory size info available in procfs 2018-09-14 20:40:05 +09:00
K. Lange
c23a0594f3 Fix more procfs stuff 2018-09-12 20:34:25 +09:00
K. Lange
e264fb3ab6 Make buffer allocations for some /proc things dynamic 2018-09-12 17:23:43 +09:00
K. Lange
5a6cc6868a add /proc/pci, lspci 2018-09-12 11:45:52 +09:00
K. Lange
b9e0a85817 Don't show /dev/cdrom0 if it's empty (for now) 2018-09-11 17:43:34 +09:00
K. Lange
cec9d43bcf [e1000] Write MAC into receive address field (fixes net in bochs) 2018-09-11 15:22:54 +09:00
K. Lange
5ddce4e51d Fix warning from bad terminal callbacks in vgalog.ko 2018-09-02 00:14:10 +09:00
K. Lange
036096d9c9 skip over padding bytes in deps in /proc/modules 2018-08-27 11:21:58 +09:00
K. Lange
cdccc913ab Allow seamless and pointer integration to be turned off 2018-08-23 12:51:32 +09:00
K. Lange
8bf3e55f4e Add module README 2018-08-21 16:45:13 +09:00
K. Lange
864cbdb868 Fix debug shell not being able to start a shell by allowing system() in kernel to take an env 2018-08-14 11:33:02 +09:00
K. Lange
91a88aef37 add /proc/pat 2018-08-06 17:06:49 +09:00
K. Lange
7bfec745d9 [experimental] Enable write-combining in video memory with PAT? 2018-08-06 16:32:06 +09:00
K. Lange
cd7609c420 vbox SetPointerShape support 2018-08-04 08:46:13 +09:00
K. Lange
2f7a7572f1 That's not mouse integration... 2018-08-04 08:04:16 +09:00
K. Lange
888b4a0c75 Basic VirtualBox Seamless display driver 2018-08-03 19:29:37 +09:00
K. Lange
119a4c8dfc vgalog also uses termemu 2018-08-02 13:13:12 +09:00
K. Lange
53b3d3781d Fix up AC97 driver? 2018-07-21 21:44:38 +09:00
K. Lange
fd1e9e059c Only ack when status says we should 2018-07-21 20:22:33 +09:00
K. Lange
d0f57d10cb Show more PCI info in debug shell 2018-07-21 19:17:23 +09:00
K. Lange
5f96a5e82a cleanup piix command 2018-07-21 17:18:48 +09:00
K. Lange
f10a54dd2b PIIX PIRQ handling? 2018-07-21 16:57:36 +09:00
K. Lange
ce64860d8d consistent log levels for e1000 2018-07-21 16:06:45 +09:00
K. Lange
095d087e1d IRQ stuff 2018-07-21 16:02:39 +09:00
K. Lange
c2b8449fd7 Reduce tmpfs debug message levels 2018-07-21 12:21:54 +09:00
K. Lange
8f5d2b3172 Actually retreive stride/pitch info 2018-07-21 11:57:20 +09:00
K. Lange
3bafe770a1 Fix missing frees when reading over max offset in procfs 2018-07-20 20:19:28 +09:00
K. Lange
74a1cde590 add /proc/loader 2018-07-20 19:39:12 +09:00
K. Lange
e67470f77b More procfs functionality 2018-07-20 19:24:37 +09:00
K. Lange
eb1c435697 Remove unused debugshell dep for pcspkr 2018-07-20 19:07:23 +09:00
K. Lange
5eddf74c68 symlink stuff 2018-07-18 15:43:17 +09:00
K. Lange
35a2a4bc5c more filesystem permission things, add rm 2018-07-18 15:35:52 +09:00
K. Lange
e7ccc61d62 Support mode setting from EFI 2018-07-12 10:53:36 +09:00
K. Lange
16e1386c86 Lots of fixes 2018-07-11 10:55:49 +09:00
K. Lange
f42f907241 EFI simple file system boot 2018-07-11 10:23:56 +09:00
K. Lange
555b6fa027 set irq for vbox to 10 if it is unset? 2018-07-07 00:57:48 +09:00
K. Lange
0d295aff28 Fix net reads when len < available packet size 2018-07-01 10:02:33 +09:00
K. Lange
8c3d99da3c logtoserial can now take strings 2018-06-26 16:58:31 +09:00
K. Lange
df8db37ad3 Fix scroll wheel initialization in ps/2 mouse 2018-06-05 22:56:57 +09:00