Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apm_bios_call_simple - make a simple APM BIOS 32bit call*@func: APM function to invoke*@ebx_in: EBX register value for BIOS call*@ecx_in: ECX register value for BIOS call*@eax: EAX register on return from the BIOS call*@err: bits
Proto:static int apm_bios_call_simple(unsigned int func, unsigned int ebx_in, unsigned int ecx_in, unsigned int *eax, int *err)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | func | |
| unsigned int | ebx_in | |
| unsigned int | ecx_in | |
| unsigned int * | eax | |
| int * | err |
| 720 | In and out = ebx_in |
| 726 | Return ret |
| Name | Describe |
|---|---|
| apm_driver_version | apm_driver_version - APM driver version*@val: loaded with the APM version on return* Retrieve the APM version supported by the BIOS |
| set_power_state | set_power_state - set the power management state*@what: which items to transition*@state: state to transition to* Request an APM change of state for one or more system devices |
| apm_do_idle | apm_do_idle - perform power saving* This function notifies the BIOS that the processor is (in the view* of the OS) idle. It returns -1 in the event that the BIOS refuses* to handle the idle request. On a success the function returns 1 |
| apm_do_busy | apm_do_busy - inform the BIOS the CPU is busy* Request that the BIOS brings the CPU back to full performance. |
| apm_engage_power_management | apm_engage_power_management - enable PM on a device*@device: identity of device*@enable: on/off* Activate or deactivate power management on either a specific device* or the entire system (%APM_DEVICE_ALL). |
| 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 |