Commit Graph

1210 Commits

Author SHA1 Message Date
K. Lange
e87f09a1b4 piix4: move to module, only load in virtualbox 2021-09-09 12:22:30 +09:00
K. Lange
637529efff tmpfs: finer-grained locks, use global mmu mapping 2021-09-08 22:02:54 +09:00
K. Lange
3af34cce04 ipv4: try to arp local stuff? 2021-09-08 19:33:20 +09:00
K. Lange
fd10920585 net: e1000 receive fixes? 2021-09-08 19:11:28 +09:00
K. Lange
a941c3a20d pci: Implement PIIX4 PIRQ remapping 2021-09-06 21:03:00 +09:00
K. Lange
8a944f4a83 smp: Co-opt Multiboot's config_table member to sneak ACPI tables to kernel 2021-09-06 19:46:36 +09:00
K. Lange
42146f042c procfs: cleanup /proc/idle format 2021-09-05 14:16:15 +09:00
K. Lange
3a08644de6 kernel: Higher resolution CpuPermille 2021-09-05 14:05:37 +09:00
K. Lange
2c45d0b5d0 kernel: times() can take NULL 2021-09-05 13:48:17 +09:00
K. Lange
bafc85f675 kernel: more sensible idle tracking 2021-09-05 11:35:38 +09:00
K. Lange
780aa1b534 top: Track multiple slices of usage, show averages 2021-09-05 11:04:47 +09:00
K. Lange
bb7b9c26d7 kernel: track idle task usage 2021-09-03 16:44:49 +09:00
K. Lange
f41c0717b5 kernel: Track relative CPU usage over one-second spans 2021-09-03 10:17:10 +09:00
K. Lange
efec80cb38 times: rudimentary support for process times 2021-09-02 23:08:18 +09:00
K. Lange
6eaeff3451 smp: Force userspace preemption on other cores. 2021-09-02 21:38:30 +09:00
K. Lange
1d4fbc41b3 kernel: Should not need to use temporary buffer for fxsave/rstr 2021-09-02 18:04:44 +09:00
K. Lange
98bcb40671 nproc: Expose processor count and use it to pick between yielding and non-yielding spin locks 2021-09-02 17:27:21 +09:00
K. Lange
783e6d69d6 chown: fixup semantics, support names in command 2021-09-02 15:10:12 +09:00
K. Lange
4dc97e7bf1 v1.99.5 2021-09-01 20:32:09 +09:00
K. Lange
a77d0ef85a smp: Memory invalidation fixes 2021-09-01 19:55:00 +09:00
K Lange
403b1ecfcb serial: should be owned by 'dialout' group 2021-08-31 22:40:49 +09:00
K. Lange
8984cc8f71 groups: First pass at support for supplementary group lists 2021-08-31 20:46:48 +09:00
K. Lange
8775a28209 groups: Initial support for gids. 2021-08-31 19:47:04 +09:00
K. Lange
afdf9671a6 vfs: Allow 'filesystems' that are partition mappers to not return a node 2021-08-31 16:56:18 +09:00
K. Lange
61b7444192 kernel: restore debug prints for a page fault in the kernel, since SMP failures are rare now 2021-08-20 17:14:40 +09:00
K. Lange
a34dadba37 kernel: fix getpgid(pid != 0) 2021-08-20 17:10:35 +09:00
K. Lange
7609912b03 v1.99.4 2021-08-20 09:24:28 +09:00
K. Lange
17dfed4cfd kernel: use that new sleep_on_unlocking in ringbuffers 2021-08-16 18:29:08 +09:00
K. Lange
c130197ab8 kernel: fixup lock ordering around process_timeout_sleep 2021-08-16 17:20:28 +09:00
K. Lange
91efdaa9f7 xhci: convert to module 2021-08-08 16:37:19 +09:00
K. Lange
ced8bcba96 kernel: restore fprintf() for printing to vfs nodes (character devices) 2021-08-08 16:36:57 +09:00
K. Lange
7c7ec4689a xhci: cleanup 2021-08-04 19:35:55 +09:00
K. Lange
82714d4183 xhci: userspace-queryable debug interface 2021-08-01 17:28:52 +09:00
K. Lange
22a6c0ca3a text: Add some macros so we can more easily swap out the bitmap font 2021-07-22 17:06:43 +09:00
K. Lange
f57679e0b4 v1.99.3 2021-07-19 20:10:12 +09:00
K. Lange
6b308e5fc1 i965: Send mode change signal? 2021-07-19 19:50:41 +09:00
K. Lange
d406a6948f modules: track loaded sizes so we can free modules later 2021-07-19 10:28:26 +09:00
K. Lange
9ad39394e4 modules: list modules in /proc/modules 2021-07-17 20:18:02 +09:00
K. Lange
236c8bacb3 modules: Reimplement loadable kernel modules 2021-07-17 18:55:54 +09:00
K. Lange
8e4640e1d7 xhci: start on controller driver 2021-07-14 10:44:46 +09:00
K. Lange
a96089e9d9 sysfunc: actually bother validating some values 2021-07-12 06:28:17 +09:00
K. Lange
a2d63a6125 ps2hid: Fixup initialization sequence; unbreaks scrollwheel in vbox 2021-07-08 18:46:04 +09:00
K. Lange
2891185341 net: disable debug prints during TCP connection 2021-07-07 19:13:33 +09:00
K. Lange
62128bd1aa kernel: (needs review) let threads sleep on their own children? 2021-06-23 22:42:48 +09:00
K. Lange
a1065c7c47 vfs: ramdisk length needs to be updated on the *original* node 2021-06-22 07:42:10 +09:00
K. Lange
40821160c1 vfs: copied nodes should get their own refcounts 2021-06-22 07:41:55 +09:00
K. Lange
a99b958c18 v1.99.2 2021-06-20 21:25:14 +09:00
K. Lange
3fb82c1e85 net: return eof when socket is closed and no data is available 2021-06-19 15:50:14 +09:00
K. Lange
653d6a7035 net: select random sequence number to start 2021-06-19 13:11:43 +09:00
K. Lange
8b6d3784ea tcp: fixup connect retry 2021-06-18 21:42:52 +09:00
K. Lange
ac7c4cd2c5 net: don't dynamically allocate hashmaps and lists? 2021-06-18 21:42:35 +09:00
K. Lange
e6721fc10f pex: don't leave invalid connections with the server read/write methods? 2021-06-18 21:41:44 +09:00
K. Lange
d5358b7e97 net: fix bad copy in ICMP ECHO 2021-06-18 21:41:17 +09:00
K. Lange
886d1afe9e net: various 2021-06-18 20:08:33 +09:00
K. Lange
71bd62d516 net: actually try to figure out destination hardware addresses 2021-06-18 18:54:34 +09:00
K. Lange
d8dc85e507 net: don't duplicate struct layout in e1000 device object 2021-06-18 15:20:22 +09:00
K. Lange
1467ec050e net: various improvements to still terrible network stack 2021-06-16 23:14:58 +09:00
K. Lange
8b1973d31e pci: handle setups without a host bridge? 2021-06-15 21:18:14 +09:00
K. Lange
83987b292c v1.99.1 2021-06-15 19:50:33 +09:00
K. Lange
87d6784633 net: silence the network stack unless MISAKA_DEBUG_NET is defined 2021-06-15 19:29:57 +09:00
K. Lange
a4436581ed net: hack up some fin packets 2021-06-15 19:19:54 +09:00
K. Lange
c38143fa81 net: silence more debug messages 2021-06-15 17:16:09 +09:00
K. Lange
fc9ca3d955 net: try to get the package manager working 2021-06-15 17:04:02 +09:00
K. Lange
ef1026fb40 net: complete most of a TCP stream? 2021-06-14 21:35:28 +09:00
K. Lange
23e1b8811e net: we really need some proper blocking queue primitives 2021-06-14 20:13:14 +09:00
K. Lange
ccc6379c39 net: tcp: basic syn/ack receipt? 2021-06-14 18:55:03 +09:00
K. Lange
80564085e1 e1000: should probably keep using whatever was in the card after reset 2021-06-14 18:54:51 +09:00
K. Lange
fdc1f653d6 net: more tcp; timeout nameserver lookups 2021-06-14 15:00:46 +09:00
K. Lange
4d8ee9840a net: hacked up udp stuff, dns resolver 2021-06-14 14:18:23 +09:00
K. Lange
cea3703f3e net: initialize e1000e better? 2021-06-14 11:58:28 +09:00
K. Lange
914dc15f02 lfbvideo: Ensure we map enough space for large preset video modes 2021-06-13 15:59:14 +09:00
K. Lange
2eb83c5ecd ps2hid: give up on PS/2 if trying to empty input buffer doesn't work after 1024 tries 2021-06-13 15:59:14 +09:00
K. Lange
f1efda9e2a net: respond to pings? 2021-06-10 20:48:48 +09:00
K. Lange
394e4e3e0c net: more cleanup 2021-06-10 20:20:55 +09:00
K. Lange
8531fe709e terminal-vga: recover vga text mode operation 2021-06-10 09:35:48 +09:00
K. Lange
72968ed85c net: arp fixups 2021-06-10 09:09:52 +09:00
K. Lange
341c5ec7aa net: pack that? 2021-06-09 19:44:52 +09:00
K. Lange
081ac1c160 net: add arp? 2021-06-09 19:41:35 +09:00
K. Lange
b7332545d1 net: initialize that list earlier 2021-06-09 08:44:42 +09:00
K. Lange
edc06e5f0c net: initial raw socket implementation 2021-06-09 08:23:34 +09:00
K. Lange
0f837c312e net: fixups for dhclient, multiple nics 2021-06-07 19:12:02 +09:00
K Lange
a0140f557b net: more interface properties 2021-06-07 04:57:45 +09:00
K. Lange
66ff044897 net: add netmask, examine more stuff from DHCP 2021-06-06 22:01:15 +09:00
K. Lange
698a3c0cb7 kernel: change signatures for vfs interfaces to match reality 2021-06-06 20:28:21 +09:00
K Lange
5106daf9f6 net: add methods to configure addresses 2021-06-06 18:34:24 +09:00
K. Lange
5ed9033d15 kernel: opportunistically map stack space 2021-06-06 15:54:30 +09:00
K. Lange
b04164b19d net: wip stuff for sockets 2021-06-06 14:22:14 +09:00
K. Lange
9eea7c0677 stat: fix size definitions 2021-06-05 18:01:48 +09:00
K. Lange
d9e462633f kernel: make an attempt to clean up processes in SMP 2021-06-04 21:51:45 +09:00
K. Lange
39a267e871 kernel: Release SHM while we're at it... 2021-06-04 21:13:42 +09:00
K. Lange
e7ded7a2d0 kernel: close file descriptors >STDERR_FILENO on exec like toaru32 did 2021-06-04 21:11:01 +09:00
K. Lange
1b8d5b5d32 misc: cleanup 2021-06-04 20:38:27 +09:00
K. Lange
413d22f6f2 fbterm: Don't fill screen on startup, we don't set up memory caching for this nicely 2021-06-04 17:53:23 +09:00
K. Lange
35c83a19f1 kernel: fix missing lock during wakeup from signal delivery 2021-06-04 15:32:07 +09:00
K. Lange
f6d9027bc9 i965: add a leading comment block 2021-06-04 09:20:23 +09:00
K. Lange
2b40fe9551 i965: register names 2021-06-03 21:50:32 +09:00
K. Lange
d5f3a41675 i965: modeset a thinkpad 2021-06-03 21:02:09 +09:00
K. Lange
826006692a kernel: begin work on re-adding module loading 2021-06-03 21:01:57 +09:00
K. Lange
efe72fa8ab smp: do not try to send IPIs when we have one core and no lapic 2021-06-03 21:01:23 +09:00
K. Lange
6e3e7c7e0c ksym: start organizing kernel symbols for linking 2021-06-03 21:00:56 +09:00
K. Lange
8239270074 fbterm: Make sure we're drawing with stride, not width 2021-06-03 21:00:20 +09:00
K. Lange
afd23c0beb smp: ACPI checksups are more of a suggestion 2021-06-03 18:41:41 +09:00
K. Lange
3a69b8b5d7 pex: maybe finally fix this 2021-06-02 18:35:50 +09:00
K. Lange
e22d6d84a4 kernel: add 'assert()' 2021-06-02 18:35:03 +09:00
K. Lange
bbea3a7b09 lfbvideo: set some more bits on bochs 2021-06-02 16:28:21 +09:00
K. Lange
301539e9ca lfbvideo: Use MMIO interface to configure qemu/bochs; vbox is still port i/o 2021-06-02 13:14:26 +09:00
K. Lange
bdf088b3a6 pex: don't shove packets onto the pipes, shove packet pointers so we can read them atomically 2021-06-02 07:37:01 +09:00
K. Lange
0913598bb0 process: okay don't mark stack protectors nx... 2021-06-02 07:11:19 +09:00
K. Lange
f52e4b8f3d process: (temp) avoid freeing processes that are still someone's last 2021-06-01 22:41:41 +09:00
K. Lange
7f2fff3979 process: Set up stack protectors for kernel stacks 2021-06-01 22:41:05 +09:00
K. Lange
8ba4b13f72 process: try to fix up some locks, again 2021-06-01 22:40:13 +09:00
K. Lange
b0ca69afbb idt: Track core interrupt registers because arch_fatal() usually happens with bad stack data 2021-06-01 22:39:30 +09:00
K. Lange
839dda7d41 mmu: Try to perform really bad TLB shootdowns? 2021-06-01 22:37:54 +09:00
K. Lange
e9d34d669b mmu: be annoying about making sure we aren't leaking pages? 2021-06-01 22:36:54 +09:00
K. Lange
01070fb2d0 smp: add a procfs entry to see what other cores are up to 2021-06-01 19:37:03 +09:00
K. Lange
aa52db5018 smp: fix wakeups doing bad EOI write 2021-06-01 19:36:46 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
0977eca9b5 v1.14.0 2021-04-22 20:07:34 +09:00
K. Lange
b081668712 boot: Fixes to boot processes on multiple platforms. 2021-04-22 19:46:51 +09:00
K. Lange
32c0b670b7 kernel: make sure signal handlers get the right GS descriptor 2021-02-16 19:17:44 +09:00
K. Lange
230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange
1c2de4d888 v1.13.3 2021-01-30 22:00:36 +09:00
K. Lange
d66dfde98d v1.13.2 2021-01-26 09:13:04 +09:00
K. Lange
f59aab9c43 v1.13.1 2020-12-08 22:13:00 +09:00
K. Lange
0a01944f00 v1.13.0 2020-07-27 10:21:50 +09:00
K. Lange
f6b99561e5 kernel: bump version to 1.12.0 2020-03-29 20:32:38 +09:00
K. Lange
a995110217 kernel: set version to 1.11.0 2019-12-25 10:24:45 +09:00
K. Lange
0fbf35438a terminal: use an async thread to handle input 2019-12-23 17:01:57 +09:00
K. Lange
eebf910db2 kernel: seek: return an error on bad whence 2019-12-15 17:08:21 +09:00
K. Lange
efba52c3dd kernel: return an appropriate error when trying to seek things that shouldn't seek 2019-12-15 17:01:18 +09:00
K. Lange
80a8ac743b kernel: don't ignore seek calls on first three fds; why were we doing this at all 2019-12-15 15:51:37 +09:00
K. Lange
a6251137f0 kernel: add fswait3 and hack around terminals blocking on their own reads 2019-12-05 17:42:46 +09:00
K. Lange
b2f4900472 v1.10.13 2019-11-03 15:43:37 +09:00
K. Lange
8a91bc8ce7 v1.10.12 2019-09-06 11:01:19 +09:00
K. Lange
50f5ebaeca kernel: kill(0) sends to process group 2019-08-21 17:48:56 +09:00
K. Lange
90bcdfee58 v1.10.11 2019-06-30 22:43:19 +09:00
K. Lange
330f935342 kernel: limit maximum recursion depth for interpreters 2019-06-25 21:20:12 +09:00
K. Lange
64ae6e55a5 v1.10.10 2019-06-25 20:50:20 +09:00
K. Lange
302b772afa kernel: add basic bounds check to TOARU_SYS_FUNC_SETHEAP 2019-06-25 20:36:26 +09:00
K. Lange
f1892b70dd v1.10.9 2019-02-27 21:38:49 +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
8e190f584d v1.10.8 2019-01-21 21:53:19 +09:00
K. Lange
d6f13f56f3 v1.10.7 2019-01-11 20:57:17 +09:00
K. Lange
1bc4018e27 kernel: store text addr for modules for debug purposes 2018-12-28 09:37:53 +09:00
K. Lange
a17d73cc25 v1.10.6 2018-12-27 21:47:09 +09:00
K. Lange
c87a195ffe kernel: fix mkdir -p 2018-12-27 21:15:47 +09:00
K. Lange
68dea41b97 v1.10.5 2018-12-26 23:33:07 +09:00
K. Lange
40be4f1703 vfs: handle odd edge case in mkdir correctly 2018-12-26 16:14:28 +09:00
K. Lange
3c21515808 vfs: don't bail early on mkdir for existing paths, let the fs do that 2018-12-26 13:40:39 +09:00
K. Lange
80c5f30d7b v1.10.4 2018-12-24 22:44:51 +09:00