Commit Graph

821 Commits

Author SHA1 Message Date
Vlad-Robert Baciu 6df7c4ebd5 Use IA32_APIC_BASE MSR to get LAPIC address instead of the MADT 2025-01-11 18:46:27 +02:00
Matheus 6245a3d19f kernel: add ubsan bindings, fix some UB reported by it 2024-12-31 11:20:27 -03:00
Matheus 4ee5fa42ae alloc: optimize 2024-12-28 22:50:08 -03:00
Matheus d1ba5a94f4 uacpi: update 2024-12-28 22:02:07 -03:00
Matheus c47f0e5ea7 pushlock: initial implementation 2024-12-28 00:16:42 -03:00
Matheus 75a24d3026 signal: put a dummy siginfo on the stack 2024-12-25 22:01:33 -03:00
Matheus 0ed09edb63 signal: return from ucontext context 2024-12-25 21:58:39 -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 48643c4868 kernel: phase out interruptible mutexes in preparation for new lock 2024-12-24 20:18:59 -03:00
Matheus d8e5c4d5cc uacpi glue: optimizations 2024-12-17 23:20:02 -03:00
Matheus c932c8d27c uacpi: update 2024-12-17 22:34:12 -03:00
Matheus 709ee55af4 interrupt: optimize 2024-12-17 22:21:10 -03:00
Matheus 67cd6cafeb vfs: properly handle empty paths 2024-12-13 21:50:00 -03:00
8infy c63fa414a6 uacpi: update to latest 2024-11-30 01:33:23 +03:00
Matheus e0f1fd3e03 tsc: fix it being broken when max base leaf < 0x15 2024-10-28 16:24:43 -03:00
Matheus 27fabb033b ext2: fix symlink() 2024-10-14 20:52:40 -03:00
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