Skip to content

Commit

Permalink
refactor: change document file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ljy2855 committed Nov 26, 2024
1 parent 5468863 commit b2c76f2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions study/0. boot.md โ†’ study/os_concepts/0.boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,23 @@
3. Kernel
4. Upstart

[๊ฐœ๋…์— ๋Œ€ํ•œ ๊ตฌ์ฒด์ ์ธ ์„ค๋ช…์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. ๊ตฌํ˜„๊ณผ ๊ด€๋ จ๋œ ๋™์ž‘ ์›๋ฆฌ, ์ฃผ์š” ๊ฐœ๋…, ๊ด€๋ จ ์šฉ์–ด ๋“ฑ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.]
ํ•ด๋‹น ๋ถ€ํŒ… ํ”„๋กœ์„ธ์Šค๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ํŒŒ์ผ์‹œ์Šคํ…œ ์ ‘๊ทผ, ์œ ์ € ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰์ด ๊ฐ€๋Šฅํ•œ idle ์ƒํƒœ๋กœ ์ „ํ™˜๋œ๋‹ค.

- [์ฃผ์š” ํŠน์ง• 1]
- [์ฃผ์š” ํŠน์ง• 2]
### BIOS

์˜ˆ:
์ปดํ“จํ„ฐ์— ์ „์›์ด ๊ณต๊ธ‰๋˜๋ฉด ๋ฉ”์ธ๋ณด๋“œ์˜ ROM์—์„œ ์‹คํ–‰๋˜๋Š” firmware์ด๋‹ค. ๋ถ€ํŒ…์—์„œ BIOS์˜ ์—ญํ• ์€ disk์ƒ์— MBR์— ์žˆ๋Š” boot loader๋ฅผ ํ˜ธ์ถœํ•˜์—ฌ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ์ด๋‹ค.

![๋ถ€ํŒ… ๋””์Šคํฌ](assets/mbr.png)

### Boot Loader

boot loader๋Š”

[๊ฐœ๋…์— ๋Œ€ํ•œ ๊ตฌ์ฒด์ ์ธ ์„ค๋ช…์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. ๊ตฌํ˜„๊ณผ ๊ด€๋ จ๋œ ๋™์ž‘ ์›๋ฆฌ, ์ฃผ์š” ๊ฐœ๋…, ๊ด€๋ จ ์šฉ์–ด ๋“ฑ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.]

### Kernel

- ์Šค๋ ˆ๋“œ(Thread): Pintos์—์„œ ๋ชจ๋“  ์‹คํ–‰ ๋‹จ์œ„๋Š” ์Šค๋ ˆ๋“œ๋กœ ๊ตฌํ˜„๋ฉ๋‹ˆ๋‹ค. ๊ฐ ์Šค๋ ˆ๋“œ๋Š” ๊ณ ์œ ํ•œ ์Šคํƒ๊ณผ ์ปจํ…์ŠคํŠธ๋ฅผ ๊ฐ€์ง€๋ฉฐ, ์—ฌ๋Ÿฌ ์Šค๋ ˆ๋“œ๊ฐ€ CPU๋ฅผ ๊ณต์œ ํ•ฉ๋‹ˆ๋‹ค.
### Upstart

### ref

Expand Down
Binary file added study/os_concepts/assets/mbr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit b2c76f2

Please sign in to comment.