Function report |
Source Code:arch\x86\kernel\e820.c |
Create Date:2022-07-28 07:43:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:e820__reserve_resources
Proto:void __init e820__reserve_resources(void)
Type:void
Parameter:Nothing
1127 | res = memblock_alloc( size of res * nr_entries, SMP_CACHE_BYTES) |
1129 | If Not res Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
1134 | When i < nr_entries cycle |
1139 | res++ |
1140 | Continue |
1144 | name = e820_type_to_string(entry) |
1145 | flags = e820_type_to_iomem_type(entry) |
1146 | desc = e820_type_to_iores_desc(entry) |
1153 | If do_mark_busy(type, res) Then |
1155 | insert_resource( & iomem_resource, res) |
1157 | res++ |
1161 | When i < nr_entries cycle |
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 |