Commit Graph

  • 2f8e93faa3 Makefile: qemu targets and fixes Matheus 2023-04-08 01:56:25 -03:00
  • 4669717305 quality of life Matheus 2023-04-08 01:17:33 -03:00
  • df84704797 initial commit Matheus 2023-04-08 01:11:30 -03:00
  • 2c8eb7d92b Merge pull request #3 from duch3201/main Matheus 2023-04-07 13:00:03 -03:00
  • b9fc4015e9 fixed hashes, changed single quotes to double quotes duch3201 2023-04-06 20:13:45 +02:00
  • 90d7c1bf82 fixed the hashes duch3201 2023-04-06 19:59:08 +02:00
  • f9c1d81da4 Update pkgconfig _Ghost_ 2023-04-06 14:10:54 +02:00
  • a30f8e04cf Update pkgconfig _Ghost_ 2023-04-06 13:57:12 +02:00
  • 0525ce5bac fix builds and update mlibc Matheus 2023-04-02 20:33:28 -03:00
  • 2060685043 makefile: fix jinx not being curl'd into a file Matheus 2023-02-12 18:48:54 -03:00
  • 646017faa0 jinx: ace of penguins port Matheus 2023-02-12 17:16:33 -03:00
  • 95291753eb jinx: libpng port Matheus 2023-02-12 17:16:15 -03:00
  • 2411b31fa0 block: hook more calls to devman Matheus 2023-02-11 15:23:14 -03:00
  • b4c26b9b67 makefile: no longer hardcode jinx version and add boot order Matheus 2023-02-11 15:19:24 -03:00
  • b713f1dc45 nvme: fix use of non zero'd admin queue and wrong phase checking Matheus 2023-02-10 01:52:38 -03:00
  • d12f5d2144 nvme: hook to block abstraction and fixes Matheus 2023-02-10 01:07:48 -03:00
  • 9d2d5d9fd6 block: initial implementation Matheus 2023-02-10 01:07:33 -03:00
  • 2b74b267b6 devman: add block device major define Matheus 2023-02-10 01:06:51 -03:00
  • 3a2829986d devman: fix read/write error handling Matheus 2023-02-10 01:06:22 -03:00
  • 4076007123 stdio.h: add missing func prototypes Matheus 2023-02-10 01:05:55 -03:00
  • ff59122dc2 nvme: more work on initialisation and read function Matheus 2023-02-08 22:12:55 -03:00
  • 6bf042e417 nvme: software progress reset and namespace list Matheus 2023-02-05 15:48:42 -03:00
  • d4f8ed68de nvme: identify command and structs Matheus 2023-02-04 01:26:30 -03:00
  • fae8fa47b2 pci: fix warnings on header Matheus 2023-02-04 00:25:20 -03:00
  • a6f37a6a85 nvme: initial worker thread implementation Matheus 2023-01-10 02:17:36 -03:00
  • 1fe865d141 pci: MSI-X support Matheus 2023-01-10 02:15:41 -03:00
  • 85b65fd118 x86_64 isr and idt: nvme Matheus 2023-01-10 01:55:35 -03:00
  • e7467e5ce8 vmm: make sure there is a thread in the struct in the dealwithrequest call Matheus 2023-01-08 19:30:31 -03:00
  • c08644d7fb scheduler: make timer request start on sched_init rather than sched_runinit Matheus 2023-01-08 19:30:03 -03:00
  • 6a8abf28a8 ringbuffer: datacount function Matheus 2023-01-08 19:29:17 -03:00
  • b405e35fe7 pmm: add macros related to the HHDM Matheus 2023-01-08 19:26:28 -03:00
  • 087005c99d main: reorder sched initialization Matheus 2023-01-08 19:26:12 -03:00
  • bdf75e7985 jinx: fix mpfr source recipe fetching a version it wasn't supposed to Matheus 2023-01-08 12:27:32 -03:00
  • 79f01b07af jinx: hardcode to version 0.0.20 (commit 4c399d071759e811dc0bae01f92163412742c0f1) Matheus 2023-01-07 18:49:34 -03:00
  • ff0110f609 jinx: xf86-input-mouse port Matheus 2023-01-07 18:28:06 -03:00
  • 60fca9c5f2 ps2mouse: fix delta calculation Matheus 2023-01-07 16:44:23 -03:00
  • b9d1263c5f ps2mouse: send packets to generic interface Matheus 2023-01-05 23:29:19 -03:00
  • b980ab94c2 generic mouse interface Matheus 2023-01-05 23:29:03 -03:00
  • 2b4e97735b ps2 mouse: initial implementation Matheus 2023-01-05 22:58:23 -03:00
  • fc097489a1 assert.h: inital implementation Matheus 2023-01-05 22:57:36 -03:00
  • e3d9c849af ps2: controller initialization Matheus 2023-01-05 19:38:58 -03:00
  • 78362d9a0a time.h: difference in ms Matheus 2023-01-05 19:38:41 -03:00
  • adbf3d0353 math.h: long absolute Matheus 2023-01-05 19:37:46 -03:00
  • e685f48381 distro files and init: set term var in init and fix prompt size Matheus 2023-01-05 01:43:50 -03:00
  • 78b9724b38 poll syscall: add volatile keyword to fd count to prevent a loop from being optimized out Matheus 2023-01-02 23:42:25 -03:00
  • 5fb8398c1a x86_64 isrs: set ss to correct value somewhere else in the code Matheus 2023-01-02 23:37:04 -03:00
  • d711d1de62 context: set ss to proper user value Matheus 2023-01-02 23:36:36 -03:00
  • 8dedf83226 Makefile: fix test target Matheus 2023-01-02 16:21:12 -03:00
  • 41a1921e2d remake the syscall logger Matheus 2023-01-02 16:19:03 -03:00
  • a5c2f96ce1 stdio: sprintf Matheus 2023-01-02 16:18:52 -03:00
  • 5897c19dde jinx: remove a few printfs in the xf86-input-keyboard port Matheus 2023-01-01 12:20:50 -03:00
  • cc59678fc4 keyboard: fix poll missing an argument Matheus 2023-01-01 12:20:19 -03:00
  • 970f50766a jinx: update mlibc port to have multithreading support Matheus 2023-01-01 10:50:19 -03:00
  • a7aa6fbdfd syscalls: syscall_threadexit Matheus 2023-01-01 10:47:38 -03:00
  • d5c65a749f scheduler: fix thread array stuff and fix stupid thing Matheus 2023-01-01 10:37:24 -03:00
  • 76435ad9a1 waitpid: remake the thread deallocation loop and fix a few stupid mistakes Matheus 2023-01-01 10:30:15 -03:00
  • 814ee1f69a scheduler: dequeue takes a state argument and releases a threadexit lock Matheus 2022-12-31 19:52:19 -03:00
  • bbcda47dcd syscalls: new thread syscall Matheus 2022-12-31 18:17:20 -03:00
  • 2a5fdd86f5 scheduler: getnextpid() and fix tid not being assigned properly to new threads Matheus 2022-12-31 18:16:52 -03:00
  • 5d62629d6f futex: fix issues that prevented it from working properly Matheus 2022-12-31 18:15:46 -03:00
  • 2f28713dae scheduler: lock proc when adding a new thread Matheus 2022-12-31 12:56:32 -03:00
  • 5ea50fee28 sched: use THREAD_DEFAULT_KSTACK_SIZE rather than hardcoding 10*PAGE_SIZE Matheus 2022-12-31 01:12:13 -03:00
  • 646f5001d0 Makefile: saner qemu flags Matheus 2022-12-30 20:36:23 -03:00
  • 6d073b850e kernel: commandline support Matheus 2022-12-30 03:28:30 -03:00
  • 23f2ef05b9 kernel: env support Matheus 2022-12-30 03:28:06 -03:00
  • bc7906bde4 hashtables: isset() Matheus 2022-12-30 03:26:57 -03:00
  • eac050f724 gitignore: add jinx folders and a few others Matheus 2022-12-28 20:39:06 -03:00
  • 360774bff7 jinx: fix doomgeneric port Matheus 2022-12-28 20:33:04 -03:00
  • 59e7ee24a3 jinx: temporarily disable doomgeneric port Matheus 2022-12-27 20:34:46 -03:00
  • a605b498ae jinx: fix gcc-cross build() make command Matheus 2022-12-27 19:49:39 -03:00
  • 7e975a3837 add a function that gets called after every system call and make all threads quit on program exit Matheus 2022-12-25 15:46:37 -03:00
  • 0cf4287719 syscalls: fix issue with poll Matheus 2022-12-24 13:21:40 -03:00
  • 1637df09de extras: framebuffer image viewer Matheus 2022-12-23 23:03:35 -03:00
  • f882b1ad10 syscalls: make more system calls use ustring functions Matheus 2022-12-23 21:37:14 -03:00
  • 1ead72d897 syscalls: make a bunch of system calls use the new user memory operations Matheus 2022-12-15 10:19:58 -03:00
  • 30dd3d6ca3 ustring: more functions Matheus 2022-12-15 08:36:33 -03:00
  • caa87bff4e u_strlen: fix it not looping Matheus 2022-12-15 08:00:54 -03:00
  • ce474c670b vmm: dealwithrequest returns an errno rather than a bool Matheus 2022-12-13 23:43:26 -03:00
  • 881acb984d x86_64 interrupts: gpf isr and add support for the user safe memops Matheus 2022-12-13 23:42:50 -03:00
  • c17a2f4c6c kernel: user safe strlen Matheus 2022-12-13 23:41:40 -03:00
  • 9fc62579ea pci: msi stuff Matheus 2022-11-24 19:16:37 -03:00
  • 8e481f5d91 pci: legacy_write and pci_setcommand Matheus 2022-11-24 18:43:02 -03:00
  • a0b0217856 nvme: controller initialization Matheus 2022-11-24 18:28:00 -03:00
  • b64edd7765 math.h: intpow Matheus 2022-11-24 18:27:12 -03:00
  • 05439a4e3b nvme: detection Matheus 2022-11-22 13:38:02 -03:00
  • a7b5a775fa pci: helper functions and a fix in get_devicecs() Matheus 2022-11-22 13:37:42 -03:00
  • 140e14fd64 Makefile: add support for an nvme drive Matheus 2022-11-22 13:36:50 -03:00
  • 715ecb7140 Makefiles: fix several bad OBJPATHs Matheus 2022-11-21 20:20:43 -03:00
  • 8d8b319319 sched: handle thread death in a less hacky way Matheus 2022-11-21 20:12:47 -03:00
  • e550d94c91 vmm: fix request edge case in multithreaded applications Matheus 2022-11-21 20:02:01 -03:00
  • 33f5a3d674 pci: fix allocating enumerations and add a way to get enumerations Matheus 2022-11-21 19:57:04 -03:00
  • 51c6aebf35 x86_64 regs: func to get stack pointer Matheus 2022-11-20 20:13:26 -03:00
  • d2c89f01e6 scheduler: sched_die() and new thread state Matheus 2022-11-20 20:13:07 -03:00
  • fcbce08dd2 x86_64 syscall: fix comment Matheus 2022-11-20 20:12:39 -03:00
  • 75491f602f x86_64 interrupts: push interrupt numbers and also add an isr for #NM Matheus 2022-11-20 20:12:06 -03:00
  • 60569cf68b ports: make port Matheus 2022-11-20 20:10:34 -03:00
  • aa779745f3 ports: fix host gcc job count Matheus 2022-11-20 19:55:40 -03:00
  • cf3c200863 Makefile: add USE_E9 to the preprocessor flags and make the relevant files understand it Matheus 2022-11-04 16:02:29 -03:00
  • 62f51d638f x86_64: e9out device Matheus 2022-11-04 15:48:02 -03:00
  • f85f79f223 keyboard: poll Matheus 2022-10-27 18:21:46 -03:00