Commit Graph

211 Commits

Author SHA1 Message Date
Matheus 6d04deeac9 kernel: expose threads to userspace (newthread and threadexit syscalls) 2024-04-14 16:12:52 -03:00
Matheus 2cb94c2c2e scheduler: handle userland thread exit 2024-04-14 14:00:11 -03:00
Matheus d33ef16f87 scheduler: sched_stopotherthreads() 2024-04-14 13:21:54 -03:00
Matheus d3b17b90b9 exit syscall: stop other threads 2024-04-14 13:12:28 -03:00
Matheus 55f407da08 scheduler: handle interruptions in sched_yield() when sleeping as to prevent lost wakeup 2024-04-14 12:42:43 -03:00
Matheus f19f784694 poll: fix interruptible sleep 2024-04-14 12:06:08 -03:00
Matheus 77105115f9 local sockets: initial implementation 2024-04-13 21:00:10 -03:00
Matheus 5197cdba2a syscalls: accept connect listen 2024-04-13 20:58:03 -03:00
Matheus 4a15120f7a net: remove doarp flag from netdev 2024-04-10 19:53:42 -03:00
Matheus a79b6240ed net: loopback device 2024-04-09 22:24:13 -03:00
Matheus dbb5ff27fd socket: SIOCSIFADDR ioctl 2024-04-07 23:40:51 -03:00
Matheus bba08c0b3e socket: SIOCADDRT ioctl 2024-04-07 21:44:07 -03:00
Matheus 989621840e sock: check if hdr->addr should actually be free()'d 2024-04-07 21:43:25 -03:00
Matheus 1ee2013600 udp: socket implementation 2024-04-07 16:39:20 -03:00
Matheus d49de825cc socket: initial implementation 2024-04-07 16:38:30 -03:00
Matheus 890bc57aa3 abi: add networking definitions 2024-04-07 16:36:25 -03:00
Matheus bb63689e64 vmm: add vmm_apinit() to vmm.h 2024-04-07 16:35:40 -03:00
Matheus e17583de1b poll: use spinlocks rather than mutexes for use in higher IPLs 2024-04-07 16:34:40 -03:00
Matheus ae1186c835 netdev: add a way to get it by name and show it in /dev 2024-04-07 16:33:42 -03:00
Matheus 219635a48a ringbuffer: ringbuffer_truncate 2024-04-07 16:31:17 -03:00
Matheus ef23d4b405 ipv4: routing table 2024-04-02 20:47:37 -03:00
Matheus 0a96bcf68d eth: process function 2024-03-30 18:40:25 -03:00
Matheus 52ab80bc9a scheduler: better define wakeup reasons 2024-03-30 18:39:26 -03:00
Matheus 84c20586c2 timer: fix an issue related to removing entries 2024-03-30 18:38:46 -03:00
Matheus de3226d23b cpu: more byte swap functions 2024-03-30 18:38:12 -03:00
Matheus 685e0abeec vionet: initial tx only implementation 2024-03-29 13:40:38 -03:00
Matheus 91f69e184d cpu: byte ordering swapping functions 2024-03-29 13:37:11 -03:00
Matheus 87b0ff64b2 virtio: feature negotiation 2024-03-29 13:36:48 -03:00
Matheus 2030ca8c5b pci: busmaster flag 2024-03-29 13:36:11 -03:00
Matheus 69978904b8 virtio: vioqueue_t 2023-12-31 16:10:32 -03:00
Matheus 4f6c825d48 pci: macros to make it easier to read from config space 2023-12-31 15:48:18 -03:00
Matheus d49ca437ed kernel: virtio 2023-12-31 15:48:01 -03:00
Matheus 57c94ebf15 smp: let other processors run threads 2023-11-30 17:54:32 -03:00
Matheus 12872ae17f mmu: tlb shootdown 2023-11-30 17:50:23 -03:00
Matheus b1b598950c apic: send ipi 2023-11-30 17:49:09 -03:00
Matheus 6d8c0c30cf scheduler: sched_usleep 2023-10-15 20:58:10 -03:00
Matheus 676be91ac0 pci: add is64bits and physical address to pcibar_t 2023-10-15 20:57:09 -03:00
Matheus 1eb6f1fa75 kernel: urandom device 2023-10-01 23:31:41 -03:00
Matheus e5c4b0f3cd smp: processor wakeup 2023-10-01 21:51:09 -03:00
Matheus ba16aa366f logging: make term and printf smp safe 2023-10-01 19:09:28 -03:00
Matheus 1bb152b446 pipefs: use poll internally rather than keeping the old events 2023-09-30 12:49:38 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus fe303aec69 devfs: maxseek 2023-09-09 00:30:43 -03:00
Matheus cb8324b070 kernel: add e9 device for debugging 2023-09-07 15:59:58 -03:00
Matheus 35fe8f2d6b pipefs: add proper poll support 2023-09-07 15:49:42 -03:00
Matheus 832deafb60 ports: add working xz patch 2023-09-07 15:49:25 -03:00
Matheus ff2e6fa964 time: fix diff 2023-08-16 20:55:02 -03:00
Matheus 536db45418 x86_64 pci: properly map ECAM and fix access to it 2023-08-07 21:30:24 -03:00
Matheus ff52baf4f4 kernel: move fnv1a hash from hashtable.c to util.h 2023-08-07 20:28:07 -03:00
Matheus 30851d4971 ports: tar and xz 2023-08-02 21:27:24 -03:00