Mark c2db4e94a6 proc: fix gs/fs-related bug in exception handler
1. %rip -> %rsp (misspelt a register name, damn)
2. Rename swapgs_if_needed to iret_swapgs_if_needed for clarification
3. Add iret_swapgs_if_needed before iret from exception handler
2020-10-18 23:48:27 +03:00
2020-08-11 17:00:14 +03:00
2020-10-18 20:20:18 +03:00
2020-08-07 13:02:29 +03:00
2020-10-04 15:48:11 +03:00
2020-08-07 13:02:29 +03:00
2020-08-07 13:01:24 +03:00
2020-07-05 14:10:23 +03:00

Yggdrasil x86-64 kernel

(I still need refactoring, huh.)

Yggdrasil is the name for my kernel development project which tries to follow the Unix principles (yet another POSIX OS?) and is loosely inspired by stuff like Linux, BSD and other *nixes I've laid my hands on so far.

alt text

Building

See Building Guide

What works

  • Preemptive multitasking (kernel/user)
  • VFS implementation with non-resident ("mapper") filesystem support
  • ext2 driver supporting both read/write (pending rewrite though), directories and symlinks
  • VT100 basic control sequences for color/cursor control in tty.
  • tar-based initrd with programs and other files for userspace
  • Over 50 system calls for POSIX-like interface: fork()/execve()/read()/write()/...

What works: devices

  • RTL8139 Network Controller - both Tx/Rx
  • AHCI SATA controllers (Read/Write)

Credits

  • Linux for default8x16 font
S
Description
x86-64 operating system kernel
Readme 2.5 MiB
Languages
C 99.4%
Assembly 0.4%
Objective-C 0.2%