About this Tiny-OS This is a project I wrote from scratch with "Operating System Truth Restore" of course, the code in it is now the last version of the code. Except for the last three functions in this book, Exec Wait Exit and pipelines, the rest are all implemented. All implementations are recorded in the blog. CSDN: (https://love6.blog.csdn.net)
It records my implementation process in detail in each chapter and also erratizes the errors in this book.
It's not easy to implement this project. It took me about 40 days to do it.
From morning to night, I kept reading and typing code to finally come true
Debug and debugging are common for a few days. Of course, it is still very happy.
Although most of the code is the code in the book, it is exciting to be able to understand most of the code and type it again and achieve it correctly.
These codes are now open source and hope they will be helpful to all those who are interested in learning the operating system haha
I just counted the number of lines of code, including the number of lines of MakeFile and header files, it is about 7800 lines. If you throw away those lines of only core code, it is about 6000 lines, haha, I didn't expect that it would be difficult for me to persist in writing so many lines.
Then ReadMe wrote this first, but I didn’t expect that it also uses MarkDown’s syntax as the first project uploaded on GitHub. I’m quite happy. Goodbye to everyone!
Hope u can enjoy this tiny os~ Sharing and Getting.
The full process of recording blog links are as follows:
Chapter 1 of "Operating System Truth Restore"---- Install Vmware Station Install Ubuntu Loading and Configure Bochs Install Vmware tools Start your adventure on sailing!
Chapter 2 of "Operating System Truth Restore" ---- The prototype of the happy writing of the MBR main guide record has been revealed!
Chapter 3 of "Operating System Truth Restore"-------- Improve MBR. Taste the compilation first bitter and then sweet, and then fight against MBR!
Chapter 4 of "Operating System Truth Restore" ------------------------------------------------------------------------------------------------------------------
Chapter 5 of "Operating System Truth Restore" ---- Lightly remove physical memory capacity Enable paging and travel virtual space power axe to directly cut the kernel first to split a corner and walk around in the garden and talk about privilege level
Chapter 6 of "Operating System Truth Restore" ----- Start the C-language Function Writing Times, I'll try to pick and print functions for a while, and try to get back to the downgrade of gcc and finally taste the joy of debugging for many days.
Chapter 7 of "Operating System Truth Restore" ---- Finally, the interrupt handling, punching, kicking, operating system is becoming more mature, and the current overview of all codes
Chapter 8 of "Operating System Truth Restore" ---- Getting involved in MakeFile when you first enter the memory management system. Learn about it and talk about it.
Chapter 9 of "Operating System Truth Restore" ---- Finally, the thread is about to move the axe and starts to suddenly realize the clear idea of clearing the clouds and seeing the sun. It is necessary to solve the synchronization mechanism to relax your breath
Chapter 10 of "Operating System Truth Restore" ---- Thread printing has not been successful yet, this chapter is still required to improve the lock mechanism and strive to advance bravely on the way to the final chapter
Chapter 11 of "Operating System Truth Restore" ----- Implementing the user process to deceive the CPU through the process principle to see the end point to reach the end, and you still need to forge ahead
Chapter 12 of "Operating System Truth Restore" ---- Implementing system calls to further improve heap memory allocation and Printf function so that the user process has something to say (Part 1)
Chapter 12 of "Operating System Truth Restore" ---- Implementing system calls to further improve heap memory allocation and Printf function so that the user process has something to say (Part 2)
Chapter 13 of "Operating System Truth Restore" ----- The joy of writing hard drive software is beyond words when you finally finish writing hard drive software
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (Previous)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance Ruth takes one step at a time (Part 2)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (first one)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (second-year)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (next)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (Part 2)
Chapter 14 of "Operating System Truth Restore" ----- Implementing the file system tasks to be full of food and eat at a glance, Ruth takes one step at a time (Summary)
Chapter 15 of "Operating System Truth Restore" ----- The final chapter of the system interactive operating system forty-five days of difficulty and persistence in the end (Part 1)
Chapter 15 of "Operating System Truth Restore" ----- The final chapter of the system interactive operating system forty-five days of difficulty and persistence in the end (Part 1)
Chapter 15 of "Operating System Truth Restore" ----- The final chapter of the system interactive operating system forty-five days of difficulty and persistence in the end (Part 2)
Tiny_OS's Some Pics
System interaction

File system

Malloc & Free

Process & Thread
