1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-08 23:01:05 +00:00

changed first sentence in Heap API section as requested

This commit is contained in:
ruthgrace 2015-10-25 14:05:08 -04:00
parent fc954dd0ff
commit c942db56cc

View File

@ -58,7 +58,7 @@ If you read source code of the kernel, you'll see these very often and so it wil
Heap API 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 ```C
#define RESET_HEAP() ((void *)( HEAP = _end )) #define RESET_HEAP() ((void *)( HEAP = _end ))