comparison slides/2018/04/16/memo.txt @ 29:fc1dbdad3f63

auto-Update generated slides by script
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 25 Apr 2018 16:19:47 +0900
parents
children
comparison
equal deleted inserted replaced
28:2e1724369e51 29:fc1dbdad3f63
1 # x86
2
3 OSの起動時
4 + BOOTi
5 - Kernel Load by ARM
6 - CnPUがMemoryにアクセスする時はpagingのアルゴリズムを使うのでpagingをする必要がある
7 - PageingTable
8 - initialize ( memory,Process,IO,file...)
9 - init process(rc.d/~)
10 CPU , Memory, Device(UARTなど...結局はVM上に構築される)
11
12 ls
13 - fork
14 - exec ls <- open
15 load
16 memory空間の初期化==page tableのリセット
17 goto user mode
18 user.mode
19 opendir
20 memory allocation ( systemcall )
21 historycal : brk();
22 - 複数のprocess がactive -> task scheduler
23
24 - armのregisterはarm0~arm12
25 - 一番最初のentryはmainを誰かがよばないと行けない->assemblerレベルCRT(C runtime rootine)
26 - arm registerにいれられる値は大きさにより、サイズがでかいのはある場所に置いといてPCで計算して持っていく
27
28 define si
29 stepi
30 x/1i $pc
31 end
32
33 - initialize stack pointerがされるまでサブルーチンコールは許可されない。
34
35 実際にはkernel pagetableとuser pgage tableの2種類がある