Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\main.c Create Date:2022-07-28 07:27:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_heap

Proto:static void init_heap(void)

Type:void

Parameter:Nothing

119  If loadflags & CAN_USE_HEAP Then
120  asm("leal %P1(%%esp),%0":"=r"(stack_end):"i"(-STACK_SIZE))
123  Default end of heap = no heap = heap_end_ptr + 0x200
125  If Default end of heap = no heap > stack_end Then Default end of heap = no heap = stack_end
127  Else
129  puts("WARNING: Ancient bootloader, some functionality may be limited!\n")
Caller
NameDescribe
main