Commit Graph

230 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 a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus e0f1fd3e03 tsc: fix it being broken when max base leaf < 0x15 2024-10-28 16:24:43 -03:00
Matheus 3152d1bc3c topology: system cpu topology 2024-10-05 11:32:39 -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 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 0585eff9a2 x86_64 cpu: find topology 2024-09-24 23:08:58 -03:00
Matheus 0bff52b41e sched: finish preparing scheduler for rewrite 2024-09-21 23:06:37 -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 e8c2f1fbf3 devfs: use iovec_iterator internally 2024-09-21 13:53:39 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus 611f13b562 kernel: do preparation work for copyless read/write 2024-09-18 21:17:37 -03:00
Matheus 216a2e8d01 syscallog: hold a lock to synchronize logging in smp 2024-09-17 23:23:50 -03:00
Matheus f47236f7eb vmm: redo tlb shootdowns 2024-09-16 21:37:10 -03:00
Matheus 80abd907a8 smp: smp_cpus 2024-09-16 21:36:16 -03:00
Matheus 55c89ea1da apic: misc changes 2024-09-16 21:35:56 -03:00
Matheus 8a6b010a31 x86_64 syscall: remove unescessary mov from entry 2024-09-16 17:34:32 -03:00
Matheus 0a49ca75b5 mmu: arch_mmu_invalidate() -> arch_mmu_invalidate_range() 2024-09-16 17:34:05 -03:00
Matheus 9974746c6c cpu: _bsp() -> get_bsp() 2024-09-15 22:52:24 -03:00
Matheus 34207e5ef1 ps2mouse: fix typo in last commit 2024-09-15 21:02:16 -03:00
Matheus 12b307554d ps2mouse: change printf message
this commit was written and pushed from inside Astral
2024-09-15 20:49:09 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 56d665d5a0 kernel: fix remaining _cpu() races 2024-09-15 18:39:59 -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 5382a8249b x86_64 cpu: change how the current cpu pointer is found 2024-09-15 15:26:40 -03:00
Matheus 1ad1e9fb3c apic: leave more time to calibrate 2024-09-13 20:03:53 -03:00
Matheus 3037ad150b string: strerror 2024-09-11 20:30:39 -03:00
Matheus 85cbdc05c1 syscalls: killthread 2024-09-09 18:03:49 -03:00
Matheus ca04805517 syscalls: sigpending 2024-09-08 23:14:18 -03:00
Matheus 9afe726bd7 syscalls: sigtimedwait 2024-09-08 15:42:08 -03:00
Matheus f012085496 syscalls: sigsuspend 2024-09-08 10:57:21 -03:00
Matheus 42cfd8c5a5 kernel: remove old TODOs 2024-09-07 11:49:46 -03:00
Matheus d65c29197d ps2: improvements 2024-09-05 23:13:29 -03:00
Matheus d65bec9c66 {set,get}itimer: fix logging and getitimer 2024-09-05 18:21:27 -03:00
Matheus 5793dda4d9 acpi: /dev/acpi 2024-09-01 21:41:08 -03:00
Matheus 443295e279 kernel: misc changes 2024-09-01 20:38:13 -03:00