mirror of
https://github.com/MintCN/linux-insides-zh.git
synced 2026-04-24 18:50:42 +08:00
Update Booting/linux-bootstrap-2.md
This commit is contained in:
4
Booting/linux-bootstrap-2.md
Executable file → Normal file
4
Booting/linux-bootstrap-2.md
Executable file → Normal file
@@ -394,9 +394,9 @@ if (cpu_level < req_level) {
|
||||
ireg.di = (size_t)&buf;
|
||||
```
|
||||
|
||||
* `ax` 固定为0xe820
|
||||
* `ax` 固定为 `0xe820`
|
||||
* `cx` 包含数据缓冲区的大小,该缓冲区将包含系统内存的信息数据
|
||||
* `edx` 必须是SMAP这个魔术数字,就是0x534d4150
|
||||
* `edx` 必须是 `SMAP` 这个魔术数字,就是 `0x534d4150`
|
||||
* `es:di` 包含数据缓冲区的地址
|
||||
* `ebx` 必须为0.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user