hamidrezakp / rust-os Goto Github PK
View Code? Open in Web Editor NEWA Educational OS written in rust
A Educational OS written in rust
We must write things that have done, read and learn.
Including Virtualization book, Os book and CS140 course.
No need to be a lot of details, but some headline and a line of explanation suffices.
We must set up the programmable interrupt controller to correctly forward hardware interrupts to the CPU. To handle these interrupts we add new entries to our interrupt descriptor table, just like we did for our exception handlers. We get periodic timer interrupts and input from the keyboard.
We must implement paging support in our kernel. It needs different techniques to make the physical page table frames accessible to the kernel. Then implement an address translation function and a function to create a new mapping.
We must adds support for heap allocation to our kernel. We implement the basic allocation interface of Rust, creates a heap memory region, and sets up an allocator crate. At the end all the allocation and collection types of the built-in alloc crate will be available to our kernel.
All of things we have developed and explanation of them.
documentations must be in wiki of repo.
All of things we have developed and explanation of them.
documentations must be in wiki of repo.
We must handle the double fault exception, which occurs when the CPU fails to invoke an exception handler. By handling this exception we avoid fatal triple faults that cause a system reset. To prevent triple faults in all cases we also set up an Interrupt Stack Table to catch double faults on a separate kernel stack.
CPU exceptions occur in various erroneous situations, for example when accessing an invalid memory address or when dividing by zero. To react to them we have to set up an interrupt descriptor table that provides handler functions. At the end, our kernel will be able to catch breakpoint exceptions and to resume normal execution afterwards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.