Skip to content

Commit 99c6c42

Browse files
committed
Fixes on part9
1 parent a0944fb commit 99c6c42

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

part9.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ vmx_longjmpはvmx_setjmpと対になっている関数で、POSIX APIのsetjmp/l
5858
intel/ディレクトリにはIntel VT-xに依存したコード群が置かれています。
5959
今回はゲストマシン実行ループの中心となるvmx_runと、VMExitのハンドラ関数であるvmx_exit_processを解説します。
6060

61+
### リスト1 sys/amd64/vmm/intel/vmx.c
6162
```
62-
リスト1 sys/amd64/vmm/intel/vmx.c
63-
6463
......(省略)......
6564
1197: static int
6665
1198: vmx_exit_process(struct vmx *vmx, int vcpu, struct vm_exit *vmexit)
@@ -156,9 +155,8 @@ vmx_support.SはC言語で記述できない、コンテキストの退避/復
156155
今回は、vmx_setjmp・vmx_longjmpを解説します。
157156

158157

158+
### リスト2 sys/amd64/vmm/intel/vmx_support.S
159159
```
160-
リスト2 sys/amd64/vmm/intel/vmx_support.S
161-
162160
......(省略)......
163161
100: /*
164162
101: * int vmx_setjmp(ctxp)
@@ -264,9 +262,8 @@ vmx_support.SはC言語で記述できない、コンテキストの退避/復
264262
vmm.cは、Intel VT-xとAMD-Vの2つの異なるハードウェア仮想化支援機能のラッパー関数を提供しています。
265263
今回はvmx_runのラッパー関数のvm_runを解説します。
266264

265+
### リスト3 sys/amd64/vmm/vmm.c
267266
```
268-
リスト3 sys/amd64/vmm/vmm.c
269-
270267
......(省略)......
271268
672: int
272269
673: vm_run(struct vm *vm, struct vm_run *vmrun)
@@ -301,6 +298,3 @@ VMX non root modeからvmm.koへVMExitしてきたときの処理について、
301298
Copyright (c) 2014 Takuya ASADA. 全ての原稿データ は
302299
クリエイティブ・コモンズ 表示 - 継承 4.0 国際
303300
ライセンスの下に提供されています。
304-
305-
参考文献
306-
========

0 commit comments

Comments
 (0)