函数逻辑报告 |
Source Code:arch\x86\kernel\setup.c |
Create Date:2022-07-27 08:39:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Sandy Bridge graphics has trouble with certain ranges, exclude* them from allocation.
函数原型:static void __init trim_snb_memory(void)
返回类型:void
参数:无
| 706 | static const __initconst unsigned long bad_pages[] = {0x20050000, 0x20110000, 0x20130000, 0x20138000, 0x40004000, } |
| 715 | 如果非snb_gfx_workaround_needed()则返回 |
| 718 | printk(debug-level messages "reserving inaccessible SNB gfx pages\n") |
| 724 | 准备内存空间 |
| 727 | 如果准备内存空间则printk(warning conditions "failed to reserve 0x%08lx\n", bad_pages[i]) |
| 名称 | 描述 |
|---|---|
| trim_platform_memory_ranges | Here we put platform-specific memory range workarounds, i.e.* memory known to be corrupt or otherwise in need to be reserved on* specific platforms.* If this gets used more widely it could use a real dispatch mechanism. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |