Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Run __apm_bios_call or __apm_bios_call_simple on CPU 0
Proto:static int on_cpu0(long (*fn)(void *), struct apm_bios_call *call)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| long (* | fn | |
| struct apm_bios_call * | call |
| 630 | If get_cpu() == 0 Then |
| 633 | Else |
| 634 | put_cpu() |
| 635 | ret = work_on_cpu(0, fn, call) |
| 639 | If ret < 0 Then Error: -ENOMEM, or bits 8-15 of eax = ret |
| 641 | Else Error: -ENOMEM, or bits 8-15 of eax = Out only >> 8 & 0xff |
| 644 | Return ret |
| Name | Describe |
|---|---|
| apm_bios_call | apm_bios_call - Make an APM BIOS 32bit call (on CPU 0)*@call: the apm_bios_call registers.* If there is an error, it is returned in @call.err. |
| apm_bios_call_simple | 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 |
| 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 |