函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:x86_acpi_suspend_lowlevel - save kernel state* Create an identity mapped page table and copy the wakeup routine to* low memory.

函数原型:int x86_acpi_suspend_lowlevel(void)

返回类型:int

参数:

48  header等于__va(wakeup_header)
51  如果To check we have correct structure 不等于WAKEUP_HEADER_SIGNATURE
52  printk(r conditions "wakeup header does not match\n")
53  返回:负EINVAL
56  Video mode number 等于SPDX-License-Identifier: GPL-2.0
58  Wakeup routine behavior flags 等于0
61  native_store_gdt((structdesc_ptr * ) & pmode_gdt)
71  如果非dmsr with exception handling (xtended feature register , & Protected mode EFER , & pmode_efer_high)且非wrmsr with exception handling Wakeup routine behavior flags 或等于1左移WAKEUP_BEHAVIOR_RESTORE_EFER
80  Protected mode cr0 等于read_cr0()
81  如果Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(Maximum supported CPUID level, -1=no CPUID: )大于等于0则
82  Protected mode cr4 等于__read_cr4()
83  Wakeup routine behavior flags 或等于1左移WAKEUP_BEHAVIOR_RESTORE_CR4
85  如果非dmsr with exception handling (MSR_IA32_MISC_ENABLE, & Protected mode MISC_ENABLE , & pmode_misc_en_high)且非wrmsr with exception handling Wakeup routine behavior flags 或等于1左移Wakeup behavior bits
93  realmode_flags等于acpi_realmode_flags
94  real_magic等于0x12345678
97  Protected mode resume point, 32-bit only = (u32) & wakeup_pmode_return
98  Protected mode cr3 等于We need __phys_reloc_hide() here because gcc may assume that there is no* overflow during __pa() calculation and can optimize it unexpectedly.* Newer versions of gcc provide -fno-strict-overflow switch to handle this* case properly(initial_page_table)
99  saved_magic等于0x12345678
115  pause_graph_tracing()
116  do_suspend_lowlevel()
117  unpause_graph_tracing()
118  返回:0