Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gister_nosave_region - Register a region of unsaveable memory.* Register a range of page frames the contents of which should not be saved* during hibernation (to be used in the early initialization code).
Proto:void __init __register_nosave_region(unsigned long start_pfn, unsigned long end_pfn, int use_kmalloc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | start_pfn | |
| unsigned long | end_pfn | |
| int | use_kmalloc |
| 965 | If use_kmalloc Then |
| 967 | region = Allocation memory |
| 969 | Else |
| 971 | region = memblock_alloc(sizeof(structnosave_region), SMP_CACHE_BYTES) |
| 980 | Report : |
| 981 | pr_info("Registered nosave memory: [mem %#010llx-%#010llx]\n", (unsignedlonglong)start_pfn << PAGE_SHIFT determines the page size , ((unsignedlonglong)end_pfn << PAGE_SHIFT determines the page size ) - 1) |
| 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 |