{"id":37669988,"url":"https://github.com/jlam55555/hmmos","last_synced_at":"2026-01-16T12:02:24.012Z","repository":{"id":245773636,"uuid":"818789405","full_name":"jlam55555/hmmos","owner":"jlam55555","description":"System for operating","archived":false,"fork":false,"pushed_at":"2025-12-31T00:03:26.000Z","size":6319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-03T21:23:38.946Z","etag":null,"topics":["educational-project","operating-system"],"latest_commit_sha":null,"homepage":"http://lambdalambda.ninja/hmmos/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlam55555.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-22T21:50:10.000Z","updated_at":"2025-12-30T22:16:34.000Z","dependencies_parsed_at":"2024-06-24T03:40:35.616Z","dependency_job_id":"616d6487-aaf0-47c9-9d1b-695b30d29fed","html_url":"https://github.com/jlam55555/hmmos","commit_stats":null,"previous_names":["jlam55555/hmmos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jlam55555/hmmos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlam55555%2Fhmmos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlam55555%2Fhmmos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlam55555%2Fhmmos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlam55555%2Fhmmos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlam55555","download_url":"https://codeload.github.com/jlam55555/hmmos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlam55555%2Fhmmos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["educational-project","operating-system"],"created_at":"2026-01-16T12:02:23.859Z","updated_at":"2026-01-16T12:02:23.961Z","avatar_url":"https://github.com/jlam55555.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HmmOS\nSecond attempt at writing an OS, this time a little more from scratch\nnow that I have a slightly better idea of what the bootloader does.\n\nFocusing on x86 first, will maybe update this to be for x86_64 later.\n\nHigh-level roadmap for HmmOS:\n- Bootloader\n  - [X] Simple boot protocol with bootloader requests\n  - [X] Kernel loader\n\t- [X] With FAT32 support\n\t- [ ] With ELF support\n- Memory management\n  - [X] Page frame allocator\n  - [X] vmalloc\n  - [ ] Slab allocator\n- Userspace processes\n  - [X] Kernel threads\n  - [X] Thread scheduling\n  - [X] ELF loader\n  - [ ] Syscalls\n  - [ ] Shared libraries\n  - Sample programs\n    - [ ] Shell\n\t- [ ] Simple libc implementation\n- Filesystem\n  - Filesystem drivers\n    - [X] FAT32\n\t- [ ] ext2\n  - [X] VFS layer\n    - [ ] LRU page cache\n- Device drivers (very simple)\n  - [X] Serial port\n  - [X] BIOS text mode display\n  - [X] ACPI\n  - [X] AHCI (SATA)\n  - [ ] TTY\n  - [ ] Keyboard\n  - [ ] Graphics\n  - [ ] UDP\n  - [ ] TCP\n- SMP\n  - [ ] Locking primitives\n- Tooling\n  - [X] Debugging in GDB\n  - [X] clang+gcc tooling\n  - [X] Testing in QEMU w/ optional KVM virtualization\n  - [X] Unit test framework\n  - [ ] Kernel module system with dependencies\n\n## Setup\nThis project is mainly built with clang/LLVM toolchains in mind. This\nincludes `clang`, `lld`, `clangd`, and `clang-format`. You'll need at\nleast version 14.\n\nGNU `binutils` is needed where LLVM is lacking (i.e. `as` for GNU AT\u0026T\nasm syntax + `objdump` and friends). GNU `mtools` is also required to\nbuild the binary.\n\nThis will be tested with `qemu` with QEMU and KVM emulation.\n\nVersions:\n```\n$ as --version\nGNU assembler (GNU Binutils for Debian) 2.40\nCopyright (C) 2023 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or later.\nThis program has absolutely no warranty.\nThis assembler was configured for a target of `x86_64-linux-gnu'.\n$\n$ clang --version\nDebian clang version 14.0.6\nTarget: x86_64-pc-linux-gnu\nThread model: posix\nInstalledDir: /usr/bin\n$\n$ qemu-system-i386 --version\nQEMU emulator version 7.2.13 (Debian 1:7.2+dfsg-7+deb12u7)\nCopyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers\n$\n$ mtools --version\nmtools (GNU mtools) 4.0.32\nconfigured with the following options: enable-xdf disable-vold disable-new-vold disable-debug enable-raw-term\n$\n$ uname -a\nLinux jebian 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux\n```\n\n## Getting started\nBuild the bootloader and run it in QEMU. Make sure to have `qemu` and\nGNU `make` installed, and `doxygen` if you want to generate documentation.\n```\n$ # Run the kernel\n$ make run\n$\n$ # Run tests\n$ make run TEST=all\n$ make run TEST=\u003ctestselection\u003e\n$\n$ # Generate documentation\n$ make docs\n```\n\n### Debugging in GDB\n```\n$ # Compile with debug symbols enabled and start running in QEMU.\n$ # This doesn't actually start until `make gdb` is called.\n$ make runi\n$\n$ # Start gdb and connect to the previous session, loading the debug\n$ # symbols compiled from the last run to `make runi`. Make sure to\n$ # run this with the same compile options (e.g., OPT=*, DEBUG=*) as\n$ # in `make runi`.\n$ make gdb\n```\n\n## Misc.\nName courtesy of \\@Victoooooor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlam55555%2Fhmmos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlam55555%2Fhmmos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlam55555%2Fhmmos/lists"}