Загрузка...

building my own OS in c++ (week 115, kernel thread safe exit)

#livecoding #operatingsystem #coding
👉Get Rust training from Let’s Get Rusty: https://letsgetrusty.com/start-with-mark
welcome: https://offlinemark.com/welcome
discord: https://discord.gg/P6zQBsD2ng

Welcome!

I’m an aspiring systems programmer. Professionally, I used to work in infosec, but now I work on music production software & hardware.

I stream OS/kernel development every week for 2 hours.

(I’ve done this for over 75 weeks in a row! Sundays 10a-12 ET)

From February 2024 to May 2025, I streamed myself doing all the labs for MIT’s old Operating Systems Engineering course (6.828 (2018)).

Through doing this, I became very familiar with JOS, which is the x86 OS used for the course.

I had almost no experience with OS development when I started, although I did have much experience with programming and low level concepts. I did the coursework because I wanted to write my own OS, but felt I wasn’t ready.

Now, from May 2025 to present, I’m pursuing my own learning agenda with OS development, and starting my on own OS.

If this resonates with you, please subscribe and I'll see you in a stream :)

00:00:00 Start
00:03:29 Planning task construction cleanup and landing pad stack preparation
00:16:02 Refactoring task constructor to consolidate setup code into C++ constructor
01:13:00 Introducing the deferred cleanup problem for task stack destruction
01:24:18 Designing deferred cleanup solution using stack switching approach
01:52:36 Implementing stack switching with inline assembly for RSP manipulation
02:14:38 Testing and debugging the deferred cleanup implementation
02:32:34 Final verification showing successful task cleanup and empty task list
02:47:24 Stream wrap-up, future roadmap discussion, and sponsor acknowledgment

Видео building my own OS in c++ (week 115, kernel thread safe exit) канала offlinemark
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять