mirror of
https://github.com/MintCN/linux-insides-zh.git
synced 2026-04-26 03:30:30 +08:00
Update Booting/linux-bootstrap-2md.md
This commit is contained in:
@@ -349,6 +349,7 @@ ENDPROC(memset)
|
||||
在计算了堆栈结束地址之后,代码计算了堆的结束地址:
|
||||
|
||||
```c
|
||||
|
||||
//heap_end = heap_end_ptr + 512
|
||||
heap_end = (char *)((size_t)boot_params.hdr.heap_end_ptr + 0x200);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user