函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\crash.c Create Date:2022-07-27 09:36:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:add_e820_entry

函数原型:static int add_e820_entry(struct boot_params *params, struct e820_entry *entry)

返回类型:int

参数:

类型参数名称
struct boot_params *params
struct e820_entry *entry
292  nr_e820_entries等于E820数目
293  如果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:则返回:1
296  memcpy( & 0x2d0 [nr_e820_entries], entry, sizeof(structe820_entry))
297  E820数目自加
298  返回:0
调用者
名称描述
memmap_entry_callback
crash_setup_memmap_entriesPrepare memory map for crash dump kernel