函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:real_trim_memory

函数原型:static u64 __init real_trim_memory(unsigned long start_pfn, unsigned long limit_pfn)

返回类型:u64

参数:

类型参数名称
unsigned longstart_pfn
unsigned longlimit_pfn
856  trim_start等于start_pfn
857  trim_start左移等于PAGE_SHIFT determines the page size
859  trim_size等于limit_pfn
860  trim_size左移等于PAGE_SHIFT determines the page size
861  trim_size减等于trim_start
863  返回:e820__range_update(trim_start, trim_size, E820_TYPE_RAM, E820_TYPE_RESERVED)
调用者
名称描述
mtrr_trim_uncached_memorymtrr_trim_uncached_memory - trim RAM not covered by MTRRs*@end_pfn: ending page frame number* Some buggy BIOSes don't setup the MTRRs properly for systems with certain* memory configurations