Commit Graph

804 Commits

Author SHA1 Message Date
Matheus abd9cf4580 ext2: fix readlink on inode stored cases 2024-10-13 12:08:13 -03:00
Matheus 3152d1bc3c topology: system cpu topology 2024-10-05 11:32:39 -03:00
Matheus 8315d5642e spinlock: SPINLOCK_DEFINE 2024-10-05 11:31:35 -03:00
Matheus a8a40ac032 util: likely() and unlikely() macros 2024-10-05 11:31:22 -03:00
Matheus fe1e24b3ea timekeeper: remove debug print 2024-10-05 11:30:55 -03:00
Matheus 9c53d875dc kernel: fix build 2024-10-03 22:51:09 -03:00
Matheus 8232f34493 timekeeper: ticks_per_us (mhz) -> hz 2024-10-02 21:49:05 -03:00
Matheus a64b32e1aa timekeeper sources: add an option to disable each one of them 2024-10-02 19:50:05 -03:00
Matheus a2f133b346 timekeeper: try to sync base time between cpus 2024-10-02 19:43:32 -03:00
Matheus 65ef516fd8 tsc: redo calibration, directly use hpet 2024-10-02 19:42:57 -03:00
Matheus 84b6ec3061 logging: remove unescessary init 2024-09-29 16:30:23 -03:00
Matheus c3eef02d50 tsc: initial implementation of timekeeper source 2024-09-29 16:30:08 -03:00
Matheus 0fff338065 kvmclock: remove unescessary msr write 2024-09-29 11:24:03 -03:00
Matheus fdd203d1a7 kvmclock: initial implementation 2024-09-29 11:21:46 -03:00
Matheus 11f76ab01d cpuid: better implementation 2024-09-29 11:21:21 -03:00
Matheus b8acbc5bcd timekeeper: redo timekeeping 2024-09-29 11:20:40 -03:00
Matheus bb910d9e20 hpet: handle it not being present 2024-09-28 14:02:08 -03:00
8infy 026fb51dc8 string: make memcpy src const 2024-09-28 15:20:32 +03:00
8infy 12a2125f8e acpi: bump to latest uACPI master 2024-09-28 15:20:12 +03:00
Matheus 167a0dc2ba timer: get_timer_ticks and some more changes 2024-09-25 19:55:49 -03:00
Matheus b1aff6378f vmm: on anonymous copy-on-write, just map the page if refcount is 1 2024-09-24 23:25:53 -03:00
Matheus 0585eff9a2 x86_64 cpu: find topology 2024-09-24 23:08:58 -03:00
Matheus ff6635487e tty: fix 2024-09-22 18:37:56 -03:00
Matheus 1fd2f6bc50 semaphore: semaphore_signal_limit 2024-09-22 11:39:40 -03:00
Matheus 284d60d680 proc: fix print 2024-09-21 23:09:07 -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 77c39fdda3 timer: remove debug print 2024-09-21 21:50:09 -03:00
Matheus 7b86742065 timer: fix time travel 2024-09-21 21:28:41 -03:00
Matheus 6d436b1a9a timer: limit 2024-09-21 19:26:21 -03:00
Matheus 100c045e36 apic: modify apic timer calibration a bit 2024-09-21 19:07:28 -03:00
Matheus 49dbac8e55 acpi: fix use of unitialized mutex 2024-09-21 18:34:36 -03:00
Matheus 78e5b111cf ext2: fix ext2_write 2024-09-21 18:21:18 -03:00
Matheus 710aae754e pread/pwrite: pass buffer directly 2024-09-21 17:48:02 -03:00
Matheus 304538b1b2 sockfs: rename socket_{read,write} to socket_{recv,send} 2024-09-21 17:12:44 -03:00
Matheus c29532a2c4 block: properly wind back iovec iterator now 2024-09-21 17:07:52 -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 3868b667cb open: fix use of possibly null variable 2024-09-20 18:58:29 -03:00
Matheus dce1edad26 iovec: initial implementation 2024-09-20 12:51:36 -03:00
Matheus 9015014804 recvmsg: fix return of ctrl length and flags 2024-09-19 17:24:34 -03:00
Matheus 87ef9ba76b localsocket: fix use of unitialized variable 2024-09-19 17:23:43 -03:00
Matheus 0a7bd14049 read/write: dont copy to a buffer 2024-09-18 22:44:18 -03:00
Matheus 570d51dcf1 udp: prepare for copyless read/write 2024-09-18 22:22:56 -03:00
Matheus 5dfd2c3d6f block: directly do DMA into page cache 2024-09-18 21:43:11 -03:00