Commit Graph

  • fdd203d1a7 kvmclock: initial implementation Matheus 2024-09-29 11:21:46 -03:00
  • 11f76ab01d cpuid: better implementation Matheus 2024-09-29 11:21:21 -03:00
  • b8acbc5bcd timekeeper: redo timekeeping Matheus 2024-09-29 11:20:40 -03:00
  • bb910d9e20 hpet: handle it not being present Matheus 2024-09-25 23:22:08 -03:00
  • 423f50c9a7 Merge pull request #12 from d-tatianin/uacpi-update Matheus 2024-09-28 10:55:09 -03:00
  • 026fb51dc8 string: make memcpy src const 8infy 2024-09-28 15:20:32 +03:00
  • 12a2125f8e acpi: bump to latest uACPI master 8infy 2024-09-28 15:20:12 +03:00
  • 167a0dc2ba timer: get_timer_ticks and some more changes Matheus 2024-09-25 19:55:49 -03:00
  • b1aff6378f vmm: on anonymous copy-on-write, just map the page if refcount is 1 Matheus 2024-09-24 23:25:53 -03:00
  • 0585eff9a2 x86_64 cpu: find topology Matheus 2024-09-24 23:08:58 -03:00
  • ff6635487e tty: fix Matheus 2024-09-22 18:37:56 -03:00
  • 1fd2f6bc50 semaphore: semaphore_signal_limit Matheus 2024-09-22 11:39:40 -03:00
  • 284d60d680 proc: fix print Matheus 2024-09-21 23:09:07 -03:00
  • 0bff52b41e sched: finish preparing scheduler for rewrite Matheus 2024-09-21 23:06:37 -03:00
  • cc6477d46d proc: separate from sched Matheus 2024-09-21 22:43:16 -03:00
  • 77c39fdda3 timer: remove debug print Matheus 2024-09-21 21:50:09 -03:00
  • 7b86742065 timer: fix time travel Matheus 2024-09-21 21:28:41 -03:00
  • 361cf2336e xfishtank: remove imake image dep Matheus 2024-09-21 20:14:18 -03:00
  • 5df1428050 ports: imlib2 xfishtank Matheus 2024-09-21 20:07:18 -03:00
  • 6d436b1a9a timer: limit Matheus 2024-09-21 19:26:21 -03:00
  • 100c045e36 apic: modify apic timer calibration a bit Matheus 2024-09-21 19:07:28 -03:00
  • 49dbac8e55 acpi: fix use of unitialized mutex Matheus 2024-09-21 18:34:36 -03:00
  • 78e5b111cf ext2: fix ext2_write Matheus 2024-09-21 18:21:18 -03:00
  • 710aae754e pread/pwrite: pass buffer directly Matheus 2024-09-21 17:48:02 -03:00
  • 304538b1b2 sockfs: rename socket_{read,write} to socket_{recv,send} Matheus 2024-09-21 17:12:44 -03:00
  • c29532a2c4 block: properly wind back iovec iterator now Matheus 2024-09-21 17:07:52 -03:00
  • 67546178f5 iovec: iovec_iterator_total_offset Matheus 2024-09-21 17:07:29 -03:00
  • f1ee575ed1 vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec Matheus 2024-09-21 16:56:43 -03:00
  • e8c2f1fbf3 devfs: use iovec_iterator internally Matheus 2024-09-21 13:53:39 -03:00
  • 01c883917f iovec: redo iovec_iterator_next_page Matheus 2024-09-21 12:57:07 -03:00
  • 15f2cd0cc5 iovec: iovec_iterator_memset and fix iovec_iterator_copy_*_buffer Matheus 2024-09-21 12:07:13 -03:00
  • 09836801a3 usercopy: usercopy_memset and possibly user helper macro Matheus 2024-09-21 12:05:44 -03:00
  • fb2fa68752 sockets: use new iovec interface Matheus 2024-09-21 10:53:49 -03:00
  • 3868b667cb open: fix use of possibly null variable Matheus 2024-09-20 18:58:29 -03:00
  • dce1edad26 iovec: initial implementation Matheus 2024-09-20 12:51:36 -03:00
  • 9015014804 recvmsg: fix return of ctrl length and flags Matheus 2024-09-19 17:24:34 -03:00
  • 87ef9ba76b localsocket: fix use of unitialized variable Matheus 2024-09-19 17:23:43 -03:00
  • 0a7bd14049 read/write: dont copy to a buffer Matheus 2024-09-18 22:44:18 -03:00
  • 570d51dcf1 udp: prepare for copyless read/write Matheus 2024-09-18 21:59:16 -03:00
  • 5dfd2c3d6f block: directly do DMA into page cache Matheus 2024-09-18 21:43:11 -03:00
  • c76b37693b vmm: allow vmm_getphysical to return a page held Matheus 2024-09-18 21:27:36 -03:00
  • 611f13b562 kernel: do preparation work for copyless read/write Matheus 2024-09-18 21:17:37 -03:00
  • 1140244816 ringbuffer: add a RINGBUFFER_USER_COPY_FAILED macro Matheus 2024-09-18 19:30:59 -03:00
  • 7eb9955a96 vfs: vfs_read/vfs_write: accept user addresses Matheus 2024-09-18 19:18:15 -03:00
  • 947623b5f6 fs: fix some sync locking issues Matheus 2024-09-18 19:04:59 -03:00
  • 7460e8b707 ringbuffer: handle user addresses Matheus 2024-09-18 19:01:01 -03:00
  • a63f8c37cc ringbuffer: documentation and ringbuffer_remove Matheus 2024-09-18 18:49:26 -03:00
  • d5a4f2a4ad vmmcache: redo how vnode locking is expected Matheus 2024-09-18 18:03:07 -03:00
  • 216a2e8d01 syscallog: hold a lock to synchronize logging in smp Matheus 2024-09-17 23:23:50 -03:00
  • a56bfd2134 scheduler: sched_reschedule_on_cpu Matheus 2024-09-17 23:23:11 -03:00
  • 698b45d31d poll: fix issue with revents being 0 Matheus 2024-09-17 22:29:20 -03:00
  • 749f945205 scheduler: slightly redo how the preemption dpc is enqueued and add a skeleton for a rescheduling ipi Matheus 2024-09-17 22:29:06 -03:00
  • 199ce85249 remove unescessary package Matheus 2024-09-17 16:59:08 -03:00
  • 5e8e54e553 semaphore: fix bug Matheus 2024-09-16 22:55:02 -03:00
  • 5ef9fb0cb3 vmm: fix logic errors Matheus 2024-09-16 22:18:13 -03:00
  • 3254cc8061 Makefile: remove .d files on clean-kernel Matheus 2024-09-16 21:56:33 -03:00
  • 0fd089e79b print: add mutex for smp Matheus 2024-09-16 21:37:29 -03:00
  • f47236f7eb vmm: redo tlb shootdowns Matheus 2024-09-16 21:37:10 -03:00
  • 80abd907a8 smp: smp_cpus Matheus 2024-09-16 21:36:16 -03:00
  • 55c89ea1da apic: misc changes Matheus 2024-09-16 21:35:56 -03:00
  • 8a6b010a31 x86_64 syscall: remove unescessary mov from entry Matheus 2024-09-16 17:34:32 -03:00
  • 0a49ca75b5 mmu: arch_mmu_invalidate() -> arch_mmu_invalidate_range() Matheus 2024-09-16 17:34:05 -03:00
  • a30f8ce5d9 interrupt: change panic message and fix id issue Matheus 2024-09-16 17:11:39 -03:00
  • 9974746c6c cpu: _bsp() -> get_bsp() Matheus 2024-09-15 22:52:24 -03:00
  • 34207e5ef1 ps2mouse: fix typo in last commit Matheus 2024-09-15 21:02:16 -03:00
  • 12b307554d ps2mouse: change printf message Matheus 2024-09-15 20:49:09 -03:00
  • 16b6c86a5f cpu: rename _cpu() to current_cpu() Matheus 2024-09-15 19:03:09 -03:00
  • 56d665d5a0 kernel: fix remaining _cpu() races Matheus 2024-09-15 18:39:59 -03:00
  • 32392573cc cpu: change all _cpu()->vmmctx to current_vmm_context Matheus 2024-09-15 18:07:05 -03:00
  • e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race Matheus 2024-09-15 17:47:26 -03:00
  • d1c0f2a5fd kernel-src/Makefile: add -MMD to CFLAGS and add header dependencies Matheus 2024-09-15 15:48:35 -03:00
  • 5382a8249b x86_64 cpu: change how the current cpu pointer is found Matheus 2024-09-15 15:26:40 -03:00
  • 560e3c0aa1 devfs: checks and fixes Matheus 2024-09-14 17:37:23 -03:00
  • f04b7901e8 tmpfs: set default root mode to 0755 Matheus 2024-09-14 17:34:24 -03:00
  • 1ad1e9fb3c apic: leave more time to calibrate Matheus 2024-09-13 20:03:53 -03:00
  • 31c7cf881c signal: add signal_returnmask and other fixes Matheus 2024-09-12 22:08:57 -03:00
  • cf3e58ffe1 elf: switch first and last page protection Matheus 2024-09-12 20:53:41 -03:00
  • 3c924116ee timer: fix overflow bug Matheus 2024-09-12 20:21:06 -03:00
  • 6e1343d5cc sleep: fix errno and check if remaining is null Matheus 2024-09-12 20:19:30 -03:00
  • 62b28a8e2a fs: check if directory is empty on unlink Matheus 2024-09-11 20:31:42 -03:00
  • 3037ad150b string: strerror Matheus 2024-09-11 20:30:39 -03:00
  • 14b2321af7 libiconv,libintl: minor changes to recipes Matheus 2024-09-11 19:46:08 -03:00
  • 84ce545cf6 vmmcache: make dirty page list FIFO Matheus 2024-09-11 19:45:35 -03:00
  • e8d28adabe Makefile: fix img Matheus 2024-09-10 18:39:41 -03:00
  • 9cb9e7b5d6 signal: remove debug print Matheus 2024-09-09 23:54:13 -03:00
  • 84c1b50dc7 limine: fix build Matheus 2024-09-09 23:45:27 -03:00
  • 57b6d7c1a1 signal: fix sigaltstack Matheus 2024-09-09 23:43:51 -03:00
  • c12f724d64 Merge pull request #11 from techflashYT/limine-bump Matheus 2024-09-09 23:42:12 -03:00
  • 827ee5afe7 Bump Limine to v8.0.10 Techflash 2024-09-09 19:37:43 -07:00
  • c086b9625a scheduler: fix issue with threads being lost Matheus 2024-09-09 21:22:19 -03:00
  • caec7d4daa sigsuspend: proper behaviour Matheus 2024-09-09 18:05:54 -03:00
  • 85cbdc05c1 syscalls: killthread Matheus 2024-09-09 18:03:49 -03:00
  • a432610644 qemu: fix assert failure Matheus 2024-09-09 18:02:47 -03:00
  • ca04805517 syscalls: sigpending Matheus 2024-09-08 23:14:18 -03:00
  • 61e3866ffd ports: add base Matheus 2024-09-08 22:15:31 -03:00
  • cb1da228b2 ports: many new ports Matheus 2024-09-08 18:53:24 -03:00
  • b1fff0e09f signal: fix bug Matheus 2024-09-08 18:52:34 -03:00
  • 9afe726bd7 syscalls: sigtimedwait Matheus 2024-09-08 15:42:08 -03:00
  • 909ef74597 signals: signal_wait Matheus 2024-09-08 15:41:54 -03:00
  • b6806c6065 event: support multiple attachments per event Matheus 2024-09-08 15:31:16 -03:00