Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_e820_entry

Proto:static int add_e820_entry(struct boot_params *params, struct e820_entry *entry)

Type:int

Parameter:

TypeParameterName
struct boot_params *params
struct e820_entry *entry
292  nr_e820_entries = 0x1e8
293  If nr_e820_entries >= This is the maximum number of entries in struct boot_params::e820_table* (the zeropage), which is part of the x86 boot protocol ABI: Then Return 1
296  memcpy( & 0x2d0 [nr_e820_entries], entry, sizeof(structe820_entry))
297  0x1e8 ++
298  Return 0
Caller
NameDescribe
memmap_entry_callback
crash_setup_memmap_entriesPrepare memory map for crash dump kernel