Find a file
Andreas Kling 60d25f0f4a Kernel: Introduce threads, and refactor everything in support of it.
The scheduler now operates on threads, rather than on processes.
Each process has a main thread, and can have any number of additional
threads. The process exits when the main thread exits.

This patch doesn't actually spawn any additional threads, it merely
does all the plumbing needed to make it possible. :^)
2019-03-23 22:03:17 +01:00
AK Kernel: Introduce threads, and refactor everything in support of it. 2019-03-23 22:03:17 +01:00
Applications FileManager: Add basic thumbnailing of PNG images. 2019-03-23 12:37:33 +01:00
Base Base: Import some 32x32 icons. 2019-03-23 12:38:41 +01:00
Kernel Kernel: Introduce threads, and refactor everything in support of it. 2019-03-23 22:03:17 +01:00
LibC Use 64-bit integers inside Stopwatch to enable longer timings. 2019-03-21 13:41:36 +01:00
LibGUI GItemView: Implement up/down/left/right keyboard navigation. 2019-03-23 04:05:58 +01:00
LibM More compat work. Rename libraries from LibFoo.a => libfoo.a 2019-02-26 13:30:57 +01:00
Meta Meta: Tweak ReadMe and add a new screenshot. 2019-03-20 15:52:37 +01:00
Servers Use the PNG loader for all images, and get rid of the .rgb files. 2019-03-22 00:21:03 +01:00
SharedGraphics Kernel: Introduce threads, and refactor everything in support of it. 2019-03-23 22:03:17 +01:00
Userland LibGUI: Add a setting to make GLabel stretch its icon. 2019-03-22 04:20:48 +01:00
.gitignore Move over to building all of userspace with i686-pc-serenity-g++. 2019-02-22 14:45:14 +01:00
ReadMe.md Meta: Tweak ReadMe and add a new screenshot. 2019-03-20 15:52:37 +01:00

Serenity

x86 Unix-like operating system for IBM PC-compatibles.

About

I always wondered what it would be like to write my own operating system, but I never took it seriously. Until now.

I've grown tired of cutesy and condescending software that doesn't take itself or the user seriously. This is my effort to bring back the feeling of computing I once knew.

Roughly speaking, the goal here is a marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix. This is a system by me, for me, based on the things I like.

Screenshot

Screenshot as of cdb82f6

Current features

  • Pre-emptive multitasking
  • Compositing window server
  • IPv4 networking with ARP, TCP, UDP and ICMP
  • ext2 filesystem
  • Unix-like libc and userland
  • mmap()
  • /proc filesystem
  • Local sockets
  • Pseudoterminals
  • Event-driven GUI library
  • Text editor
  • IRC client
  • DNS lookup
  • Other stuff I can't think of right now...

How do I build and run this?

You need a freestanding cross-compiler for the i686-elf target (for the kernel) and another cross-compiler for the i686-pc-serenity target (for all the userspace stuff.) It's probably possible to coerce it into building with vanilla gcc/clang if you pass all the right compiler flags, but I haven't been doing that for a while.

There's a helpful guide on building a GCC cross-compiler on the OSDev wiki.

I've only tested this on an Ubuntu 18.10 host with GCC 8.2.0, so I'm not sure it works anywhere else.

If you'd like to run it, here's how you'd get it to boot:

cd Kernel
./makeall.sh
./run            # Runs in QEMU
./run b          # Runs in bochs (limited networking support)

Author

License

Undecided. Probably something close to 2-clause BSD.