Code Monkey home page Code Monkey logo

valkyrie's Introduction

學號 GitHub 帳號 姓名 Email
309551004 aesophor 王冠中 [email protected]

看起來是在寫 kernel,但其實都在自幹 STL...


Progress Overview

  • Lab1: Hello World
  • Lab2: Booting (bootloader)
  • Lab3: Allocator (pmm)
  • Lab4: Exception and Interrupt Handling
  • Lab5: Multitasking
  • Lab6: Virtual Filesystem
  • Lab7: Filesystem Meets Hardware
  • Lab8: Virtual Memory (vmm)

Kernel Features

  • I/O: MiniUART - supports sync/async I/O
  • ARM Mailbox API
  • Exception & interrupt handling - top/bottom halves, tasklets
  • Buddy allocator
  • Dynamic allocator - my own optimized SLOB allocator (a simplified ptmalloc)
  • Boot memory allocator
  • User / Kernel threads
  • Multitasking - sys_fork(), sys_exec(), sys_wait(), sys_exit()
  • User tasks preemption
  • Kernel preemption - protect critical sections
  • POSIX signals and custom signal handlers - sys_kill(), sys_signal(), sys_rt_sigreturn()
  • Wait Queues
  • tmpfs
  • Virtual filesystem - vfs_open(), vfs_close(), vfs_write(), vfs_read()
  • System-wide opened file table, Per-process file descriptor tables
  • POSIX file I/O - sys_read(), sys_write(), sys_open(), sys_close()
  • Multi-level VFS
  • Procfs
  • ...

Kernel C++20 STL Progress

  • Algorithm
  • Concepts
  • Functional
  • Iterator
  • UniquePtr + make_unique<>()
  • SharedPtr + make_shared<>() + *_pointer_cast<>()
  • WeakPtr
  • List
  • String
  • Vector (?)
  • Deque (the performance is shit ...)
  • Utility (move and forward)
  • ...

Build and Deploy

License

Available under the MIT License

valkyrie's People

Contributors

aesophor avatar p870613 avatar t0037799 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.