Function report |
Source Code:arch\x86\kernel\setup.c |
Create Date:2022-07-28 07:40:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Sandy Bridge graphics has trouble with certain ranges, exclude* them from allocation.
Proto:static void __init trim_snb_memory(void)
Type:void
Parameter:Nothing
706 | static const __initconst unsigned long bad_pages[] = {0x20050000, 0x20110000, 0x20130000, 0x20138000, 0x40004000, } |
715 | If Not snb_gfx_workaround_needed() Then Return |
718 | printk(debug-level messages "reserving inaccessible SNB gfx pages\n") |
724 | memblock_reserve(0, 1 << 20) |
727 | If memblock_reserve(bad_pages[i], PAGE_SIZE) Then printk(warning conditions "failed to reserve 0x%08lx\n", bad_pages[i]) |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |