Write Your Own Operating System From Scratch - Step by Step

所在平台: Udemy

课程主页: https://www.udemy.com/course/writing-your-own-operating-system-from-scratch/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:从零开始编写自己的操作系统——循序渐进 课程概述:欢迎参加编写自己的64位操作系统课程。本课程将教您如何从零开始构建一个简单的操作系统,涵盖x86架构和低级编程的基础知识。我们将一步步带您完成构建一个小型工作系统的过程。 课程的第一部分教授您构建x86架构内核所需的基本知识,包括处理器模式、分页、异常和中断处理等内容。在这一部分中,我们将学习如何准备模式切换,从实模式切换到保护模式,再到长模式。我们的内核将运行在64位模式下,完成切换后,我们将学习如何处理异常和中断,以及如何在内核模式和用户模式之间切换。 课程的第二部分将教您如何构建内核模块,例如进程、内存管理和中断处理等。在这一部分中,我们将学习如何编写键盘驱动程序和控制台,并通过控制台与操作系统内核进行交互。完成这一部分后,您将了解如何编写用户程序并使其在您自己的操作系统中运行。 在本课程中,您将学习: - 如何为x86架构构建简单的操作系统 - 理解实模式、保护模式和长模式 - 如何在64位模式下处理中断和异常 - 如何使用汇编代码和C代码编写操作系统内核 - 如何编写打印函数,将字符输出到屏幕 - 如何构建基于x86分页机制的内存管理器 - 如何为进程管理器编写定时器处理程序 - 如何构建进程管理器以调度进程并在不同状态(睡眠、就绪、被杀死)之间切换 - 如何实现系统调用模块以使用户程序在系统中运行 - 如何编写PS/2键盘驱动程序 - 如何编写简单的控制台并通过命令与操作系统内核交互 - 如何编写支持读取FAT16文件系统的简单文件系统模块 课程结束时,您将能够开发自己的64位操作系统。

课程评论(0条)

课程详情

Welcome to write your own 64-bit operating system course.This course teaches you how to build a simple operating system from scratch. It covers basics about the x86 architecture and low-level programming. In this course, we will take you through the process of building a small working system step by step.The first part of the course teaches all you need to know (processor modes, paging, exceptions and interrupts handling, etc.) before you can build the kernel on the x86 architecture. In this part, we will see how to prepare for mode switching. We switch from real mode to protected mode and then jump to long mode. Our kernel is running in 64-bit mode. After we switch to 64-bit mode, we will see how to handle exceptions and interrupts, how to switch between kernel mode and user mode.The second part of the course teaches you how to build kernel modules such as processes, memory management, interrupt handling, etc. In this part, we will see how to write a keyboard driver and a console, how to interact with the OS kernel using the console. After finishing this part, you should know how to write user programs and make them run in your own operating system.In this course you will learn: How to build a simple operating system for the x86 architecture. Understand real mode Understand protected mode and long mode How to handle interrupts and exceptions in the 64-bit mode How to write OS kernel with the assembly code and C code Be able to write print function to print characters on the screen Be able to build a memory manager using x86 paging mechanism How to write timer handler for the process manager How to build a process manager to schedule processes and change them among different states (sleep, ready, killed) How to implement system call module to make user programs running in the system Write a keyboard driver (PS/2) Write a simple console and interact with OS kernel using commands Be able to write a simple file system module which supports reading fat16 system.At the end of the course, you should be able to develop your own 64-bit operating system.

课程标签

0人关注该课程

主题相关的课程