Commit Graph

  • ef6aae4a39 elf: increase stack size of new processes to around 8 mb Matheus 2022-10-11 23:32:55 -03:00
  • 0e4c9e17bf vmm: destroy context Matheus 2022-10-11 23:31:54 -03:00
  • 144ad8cacf pmm: optimization Matheus 2022-10-11 23:26:47 -03:00
  • defed64456 mmu: destroy ctx Matheus 2022-10-11 23:26:20 -03:00
  • 3958f6b51a README: few changes v0.0.1 Matheus 2022-10-10 20:30:06 -03:00
  • 047e25eb17 add a screenshot for the github README Matheus 2022-10-10 20:20:35 -03:00
  • c6a6e66faf mlibc port: hardcode uname version to 0.0.1 Matheus 2022-10-10 20:13:55 -03:00
  • b80a904717 distro-files: example hello world in assembly Matheus 2022-10-10 20:10:30 -03:00
  • b9650d2efd change limine background Matheus 2022-10-10 20:10:12 -03:00
  • 690badcbac jinx: gmp, mpc, mpfr, pfetch and libstdc++ ports Matheus 2022-10-10 17:11:27 -03:00
  • 0e3d6bbd08 jinx: make doomgeneric patch load back old termios state Matheus 2022-10-10 10:54:17 -03:00
  • bdc1093607 jinx: update mlibc patch to have new system calls Matheus 2022-10-10 10:53:31 -03:00
  • fc1f454956 distro-files: temporary local time Matheus 2022-10-10 10:47:05 -03:00
  • ba2ebbc7c1 syscalls: pipe2 Matheus 2022-10-10 10:46:44 -03:00
  • 85bd0c0412 pipes: initial implementation Matheus 2022-10-10 10:46:27 -03:00
  • af69128800 mmu: fix deadlock Matheus 2022-10-10 10:43:14 -03:00
  • 0bd861c19f process removal: remove a few bugs and race conditions Matheus 2022-10-08 22:03:46 -03:00
  • a17630acb7 jinx: nasm patch (I forgor) Matheus 2022-10-08 20:42:15 -03:00
  • 7051ea8d4d jinx: doomgeneric patch (I forgor) Matheus 2022-10-08 20:26:13 -03:00
  • 5f9ba737c8 jinx: add doomgeneric port Matheus 2022-09-30 20:20:10 -03:00
  • 18080b5b84 init: set up some extra envs and chdir Matheus 2022-09-30 20:19:45 -03:00
  • 51a9eb8a9c jinx: update mlibc port to have new syscalls Matheus 2022-09-30 20:18:21 -03:00
  • bbf33c1f55 keyboard: /dev/keyboard Matheus 2022-09-30 20:18:06 -03:00
  • b049f7b436 framebuffer: ioctls Matheus 2022-09-30 19:37:41 -03:00
  • c99aa48b59 consoledev: fix vmin issue Matheus 2022-09-30 19:37:30 -03:00
  • eef01078bb syscalls: fstatat Matheus 2022-09-30 17:04:18 -03:00
  • 89e57f0578 syscalls: chdir Matheus 2022-09-30 16:39:19 -03:00
  • 4afca1db07 jinx: update mlibc port to have new system calls Matheus 2022-09-29 18:53:04 -03:00
  • a30c79d951 termios: stub Matheus 2022-09-29 18:51:51 -03:00
  • 91a1781ecb syscalls: ioctl Matheus 2022-09-29 17:40:59 -03:00
  • b8d2d302fa jinx: binutils and nasm port Matheus 2022-09-27 10:35:48 -03:00
  • e1f29c259d seek: actually act properly Matheus 2022-09-27 10:35:26 -03:00
  • b3a74baaa4 jinx: update mlibc to have new system calls and add TERM=linux to /etc/profile Matheus 2022-09-24 17:35:59 -03:00
  • 9501e727be distro-files: /etc/profile ls colours Matheus 2022-09-24 17:14:04 -03:00
  • 09df11bcc4 framebuffer: support another edge case Matheus 2022-09-24 17:13:43 -03:00
  • f18e099df1 syscalls: getdirent Matheus 2022-09-24 17:13:18 -03:00
  • 943e7abf80 vfs: getdirent Matheus 2022-09-24 17:13:03 -03:00
  • ad8ec070be hashtable: get entry by offset Matheus 2022-09-24 17:12:31 -03:00
  • 619b95c7f1 framebuffer: handle an edge case Matheus 2022-09-24 15:14:20 -03:00
  • 313abaeb9a misc file bugfixes Matheus 2022-09-24 14:55:47 -03:00
  • 177928d49a framebuffer: initial implementation Matheus 2022-09-24 14:55:06 -03:00
  • 1599890ce9 devman: isseekable() Matheus 2022-09-24 14:54:26 -03:00
  • ad768d0392 pseudodevices: initial null, zero and full implementations Matheus 2022-09-24 00:45:51 -03:00
  • 951ecdffe6 mlibc port: more stubs and fix fcntl Matheus 2022-09-24 00:05:48 -03:00
  • 9c6d1157d7 fs: fix wrong mode on files Matheus 2022-09-24 00:04:30 -03:00
  • 58453f4c60 distro files: passwd, profile, shell changes and move hello.sh Matheus 2022-09-23 22:47:19 -03:00
  • 9cca7891b9 regs: set up mxcsr properly; arch_regs_firsttimesetup() Matheus 2022-09-23 21:37:04 -03:00
  • bedd2f625e interrupts: simd exception Matheus 2022-09-23 21:36:37 -03:00
  • 364e620ce9 fcntl: F_DUPFD Matheus 2022-09-23 19:38:26 -03:00
  • 9d5a139dcc dup: behave like fd_duplicate expects Matheus 2022-09-23 19:38:05 -03:00
  • 67c9a04d58 fd: change allocation to add a lowest fd option Matheus 2022-09-23 19:37:25 -03:00
  • ff6999aa81 mlibc port: add support to the new system calls Matheus 2022-09-23 00:28:39 -03:00
  • 0ececa14b1 syscall: update syscall table with new syscalls Matheus 2022-09-23 00:26:37 -03:00
  • f7fa05acbf syscalls: fcntl stub Matheus 2022-09-23 00:26:15 -03:00
  • 0ab154b051 syscalls: getpid Matheus 2022-09-23 00:26:03 -03:00
  • 284def91d3 syscalls: dup and dup2 Matheus 2022-09-23 00:25:48 -03:00
  • 8f2089f912 fd: duplicate and max_fd Matheus 2022-09-23 00:25:31 -03:00
  • 4f470fd023 open: handle O_CREAT flag Matheus 2022-09-22 20:02:21 -03:00
  • b23d4f7c5b mlibc port: libc logs go to stderr now Matheus 2022-09-22 14:52:39 -03:00
  • 7fc34a2e66 keyboard: continue the implementation; add shifting support Matheus 2022-09-22 14:37:27 -03:00
  • 1147937837 syscalls: make isatty act like posix expects Matheus 2022-09-22 14:36:55 -03:00
  • 76df387199 jinx: fix stupid bug in stat Matheus 2022-09-21 19:47:06 -03:00
  • a247137823 jinx: update mlibc to 3.0.0-rc1 Matheus 2022-09-21 17:05:13 -03:00
  • 190a57c313 lseek: return current position on SEEK_CUR offset 0 Matheus 2022-09-21 16:33:10 -03:00
  • ec67d3fe27 syscalls: isatty: act more like mlibc expects Matheus 2022-09-21 16:32:44 -03:00
  • 0b27133826 scheduler: actually run /sbin/init now Matheus 2022-09-20 20:29:16 -03:00
  • 4b939dcaab init: initial implementation Matheus 2022-09-20 20:28:58 -03:00
  • 0b7a55361d jinx: update mlibc port to include new system calls Matheus 2022-09-20 17:43:13 -03:00
  • 9ee87d97af Makefile: kclean target Matheus 2022-09-20 17:15:38 -03:00
  • 5e2059c284 fd: bugfixes Matheus 2022-09-20 17:12:54 -03:00
  • 4581b460ff syscalls: exit Matheus 2022-09-20 17:07:58 -03:00
  • ddb224c3c7 scheduler: properly open init cwd and root, sched_dequeue() Matheus 2022-09-20 17:05:46 -03:00
  • d4655a2f6c syscalls: no longer have invalid state after execve error Matheus 2022-09-20 17:00:30 -03:00
  • 44b6b26eb8 syscalls: properly free the fd on an open failure Matheus 2022-09-20 16:59:40 -03:00
  • 5f9aba07b2 syscalls: fix waitpid's behaviour Matheus 2022-09-20 16:58:59 -03:00
  • c637995d52 syscalls: waitpid Matheus 2022-09-20 10:44:37 -03:00
  • fe3a5b1a53 mlibc port: update sysdeps to have the new syscalls Matheus 2022-09-20 09:30:25 -03:00
  • 681d1a0e75 syscalls: execve Matheus 2022-09-19 22:52:11 -03:00
  • 511a5639cc scheduler: close init node Matheus 2022-09-19 22:51:55 -03:00
  • cd78bcff92 fd: fix table cloning Matheus 2022-09-19 22:51:37 -03:00
  • d7491ac8d8 jinx: add coreutils port Matheus 2022-09-19 20:53:47 -03:00
  • ae72a8c938 syscalls: assemble and pass a context to fork Matheus 2022-09-19 18:42:48 -03:00
  • 3668fa2a39 syscalls: fork Matheus 2022-09-19 18:42:19 -03:00
  • 3c3dfc8f39 vmm: address space forking Matheus 2022-09-19 18:42:05 -03:00
  • 2ab048c322 scheduler: pid allocation, thread queueing function and a few fixes Matheus 2022-09-19 18:41:25 -03:00
  • ce217ea8d8 fd: table cloning func Matheus 2022-09-19 18:37:21 -03:00
  • 0d63bfcc0e panic: don't trace non-kernel addresses and disable interrupts on panic Matheus 2022-09-19 18:36:23 -03:00
  • 3f18b6e392 isr: add the same ss fix as in the push Matheus 2022-09-19 18:35:14 -03:00
  • 55b911fcd3 arch: regs: add abstractions to manipulate errno and return regs Matheus 2022-09-19 18:34:45 -03:00
  • 16753bf16d mmu: fix a lower half strcpy and add ismapped() Matheus 2022-09-19 18:33:52 -03:00
  • 6d9672158f ist: fix struct Matheus 2022-09-19 18:32:50 -03:00
  • 6c959ef878 cpu: make timer irq use ist1 Matheus 2022-09-19 18:32:28 -03:00
  • 41d6e7230e fd: new abstraction Matheus 2022-09-18 16:21:19 -03:00
  • 73a8584a72 Makefile: add a rebuildkernel target Matheus 2022-09-17 21:54:02 -03:00
  • 4bc9a3788f scheduler: don't use the state THREAD_STATE_WAITING anymore Matheus 2022-09-17 21:53:09 -03:00
  • e3f827896c timer: don't die at a few specific edge cases anymore Matheus 2022-09-17 21:51:44 -03:00
  • 8c621a9333 consoledev: fix deadlock Matheus 2022-09-17 21:50:52 -03:00
  • 3c32cc456b made temporary tty act more normal Matheus 2022-09-17 19:27:02 -03:00
  • ce8efad5d6 Makefile: make test targets not depend on the kernel file anymore Matheus 2022-09-15 18:24:35 -03:00
  • 989ef51437 build: add a distro-files folder that is copied into the sysroot Matheus 2022-09-15 18:23:02 -03:00