# rustos **Repository Path**: rogerskelamen/rustos ## Basic Information - **Project Name**: rustos - **Description**: 用来存储学习blog-os时的代码,原教学文档地址:https://os.phil-opp.com/zh-CN/ - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-25 - **Last Updated**: 2024-07-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 1. Build freestanding executable program This means: - no syscall - no program memory model - no ... # 2. The three big deal of bootloader 1. boot the computer first stage bootloader: find a <512 bytes program second stage bootloader: load a much bigger program to wake the computer 2. change mode of CPU(x86 specification) 16 bit real mode -> 32 bit protected mode -> 64 bit long mode 3. get memory map read memory map and deliver it to kernel