Commit Graph

266 Commits

Author SHA1 Message Date
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Matheus 28a2c6ea80 vfs: fix use of non zero'd memory 2025-02-15 23:20:36 -03:00
Matheus b1e87c57e9 syscalls: shutdown 2025-02-08 20:24:43 -03:00
Matheus 73929bfd57 localsocket: fix cmsg 2025-02-08 20:23:02 -03:00
Matheus 8c42826cf1 Merge pull request #16 from Qwinci/openjdk-work
Add openjdk17 port
2025-01-13 11:46:23 -03:00
Qwinci ae2f69d3b8 elf: add AT_EXECFN 2025-01-13 16:28:15 +02:00
Matheus 6245a3d19f kernel: add ubsan bindings, fix some UB reported by it 2024-12-31 11:20:27 -03:00
Matheus 936180e228 signal: ucontext and a fix 2024-12-25 20:23:32 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus 3152d1bc3c topology: system cpu topology 2024-10-05 11:32:39 -03:00
Matheus 8232f34493 timekeeper: ticks_per_us (mhz) -> hz 2024-10-02 21:49:05 -03:00
Matheus a2f133b346 timekeeper: try to sync base time between cpus 2024-10-02 19:43:32 -03:00
Matheus b8acbc5bcd timekeeper: redo timekeeping 2024-09-29 11:20:40 -03:00
Matheus 167a0dc2ba timer: get_timer_ticks and some more changes 2024-09-25 19:55:49 -03:00
Matheus 0bff52b41e sched: finish preparing scheduler for rewrite 2024-09-21 23:06:37 -03:00
Matheus cc6477d46d proc: separate from sched 2024-09-21 22:43:16 -03:00
Matheus 6d436b1a9a timer: limit 2024-09-21 19:26:21 -03:00
Matheus 304538b1b2 sockfs: rename socket_{read,write} to socket_{recv,send} 2024-09-21 17:12:44 -03:00
Matheus 67546178f5 iovec: iovec_iterator_total_offset 2024-09-21 17:07:29 -03:00
Matheus f1ee575ed1 vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec 2024-09-21 16:56:43 -03:00
Matheus e8c2f1fbf3 devfs: use iovec_iterator internally 2024-09-21 13:53:39 -03:00
Matheus 01c883917f iovec: redo iovec_iterator_next_page 2024-09-21 12:57:07 -03:00
Matheus 15f2cd0cc5 iovec: iovec_iterator_memset and fix iovec_iterator_copy_*_buffer 2024-09-21 12:07:13 -03:00
Matheus 09836801a3 usercopy: usercopy_memset and possibly user helper macro 2024-09-21 12:05:44 -03:00
Matheus fb2fa68752 sockets: use new iovec interface 2024-09-21 10:53:49 -03:00
Matheus dce1edad26 iovec: initial implementation 2024-09-20 12:51:36 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus d5a4f2a4ad vmmcache: redo how vnode locking is expected 2024-09-18 18:03:07 -03:00
Matheus a56bfd2134 scheduler: sched_reschedule_on_cpu 2024-09-17 23:23:11 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus 31c7cf881c signal: add signal_returnmask and other fixes 2024-09-12 22:08:57 -03:00
Matheus caec7d4daa sigsuspend: proper behaviour 2024-09-09 18:05:54 -03:00
Matheus 909ef74597 signals: signal_wait 2024-09-08 15:41:54 -03:00
Matheus b6806c6065 event: support multiple attachments per event 2024-09-08 15:31:16 -03:00
Matheus 24be70ac29 signals: fix sigset 2024-09-05 18:23:13 -03:00
Matheus 2e302a4d38 signal: way to signal all processes 2024-09-05 16:36:52 -03:00
Matheus c2e50547cc signal: do auth check 2024-09-05 16:24:18 -03:00
Matheus ee254a81e9 vfs: vfs_iscacheable 2024-09-04 21:33:59 -03:00
Matheus e75aab367d mmap: check if mapping a character device is actually possible 2024-09-03 18:41:56 -03:00
Matheus d9131dc162 pci: msi support, switch to use PCI_{READ,WRITE}* macros 2024-09-02 19:47:21 -03:00
Matheus 6193310f21 tty: misc changes 2024-09-01 23:38:34 -03:00
Matheus 5793dda4d9 acpi: /dev/acpi 2024-09-01 21:41:08 -03:00
Matheus 75def3edfa Merge pull request #8 from d-tatianin/uacpi-integration
uACPI integration
2024-09-01 19:32:10 -03:00
8infy db55f99e23 Integrate uACPI & remove own ACPI parsing code
This commit adds uACPI as a submodule and removes all handwritten table
parsing code as well as struct definitions, since they now work via
uACPI. There's also now an ability to shut down by using the power
button.
2024-09-01 23:12:44 +03:00
8infy 0854d08020 interrupt: add a new 'priv' field
This field is needed for interrupt handlers that need context in order
to know what to do.
2024-09-01 19:37:22 +03:00
Matheus 997fbc4e2e socket: handle control data, change recv and send arguments 2024-09-01 13:20:12 -03:00
Matheus 29d459bdab file: fd_insert 2024-09-01 13:11:27 -03:00
Matheus fe6d72a7c3 sock: copy msgctrl to msg header 2024-08-31 20:30:06 -03:00
Matheus 6911bd6da4 net: reserved bind port check 2024-08-30 23:19:26 -03:00
Matheus 3ec2d2f5f1 auth: network 2024-08-30 23:00:11 -03:00