mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
changed first sentence in Heap API section as requested
This commit is contained in:
parent
fc954dd0ff
commit
c942db56cc
@ -58,7 +58,7 @@ If you read source code of the kernel, you'll see these very often and so it wil
|
||||
Heap API
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
After we have `vid_mode` from `boot_params.hdr` in the `set_video` function we can see a call to the `RESET_HEAP` function. `RESET_HEAP` is a macro which is defined in [boot.h](https://github.com/torvalds/linux/blob/master/arch/x86/boot/boot.h#L199). It is defined as:
|
||||
After we get `vid_mode` from `boot_params.hdr` in the `set_video` function, we can see the call to the `RESET_HEAP` function. `RESET_HEAP` is a macro which is defined in [boot.h](https://github.com/torvalds/linux/blob/master/arch/x86/boot/boot.h#L199). It is defined as:
|
||||
|
||||
```C
|
||||
#define RESET_HEAP() ((void *)( HEAP = _end ))
|
||||
|
Loading…
Reference in New Issue
Block a user