very bad os
  • C 96%
  • Assembly 1.8%
  • Makefile 1.6%
  • Shell 0.4%
  • Linker Script 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Shaw b753afd4fb sched: properly implement blocking for read
This is a milestone update, as userspace applications are now able to
properly read from TTY devices, be blocked while waiting, and write the
output back. Userspace development will move much faster now that these
kinks have been worked out.

This version will be tagged as vbos v0.01

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-17 22:19:25 -04:00
dev sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
fs dev: remove console driver, merge into serial 2024-06-17 20:32:44 -04:00
include sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
init sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
lib dev: remove console driver, merge into serial 2024-06-17 20:32:44 -04:00
mem sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
sched sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
usr.bin sched: properly implement blocking for read 2024-06-17 22:19:25 -04:00
.gitignore syscall: imeplement basic file IO syscalls 2023-11-27 02:48:52 -05:00
COPYING Add license 2023-02-28 22:22:56 -05:00
linker.ld mem: fixed memory mapping bugs with kmap 2023-03-04 22:42:08 -05:00
Makefile Makefile: print message before action 2024-06-17 20:25:28 -04:00
README.md README: add note about AUR GCC maintainership 2024-06-15 18:56:03 -04:00

vbos - very bad os - now with executables!

"Don't reinvent the wheel" - Some idiot, probably

For-fun operating system created by me!

Compilation

You will need to acquire a copy of x86_64-elf-gcc. This can be done by either compiling it yourself, or through your distribution's package manager. A version of x86_64-elf-gcc is available in the AUR that I maintain.

Installation

You will need to deploy limine onto a filesystem image, the limine barebones project will suffice for creating this. In addition, you must also have an ext2 filesystem image.

NOTE: For versions of limine >=5.x, multiple images must be used. Limine will no longer accept ext2 filesystems for booting kernel images, and this OS as of yet only supports ext2.

Be sure to set SERIAL=yes at the top of your limine.cfg as well as the KERNEL_CMDLINE= parameter root= as your root filesystem (not necessarily the boot filesystem). Booting without the root= parameter will cause a panic giving you a list of available block devices to mount. Only ext2 is supported for mounting filesystems.

If you wish to use a partition scheme, it must be GPT. If not, mounting the bare block device should (probably) work fine.

License

This project is licensed under SPDX-License-Identifier: GPL-2.0-only, a copy of which can be found in the COPYING file. All source files, except for limine.h are released under this license.

Copyright 2023-2024 Michael Shaw.