Function report |
Source Code:arch\x86\kernel\reboot.c |
Create Date:2022-07-28 08:18:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:machine_real_restart
Proto:void __noreturn machine_real_restart(unsigned int type)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | type |
99 | local_irq_disable() |
112 | CMOS_WRITE(0x00, 0x8f) |
113 | spin_unlock( & rtc_lock) |
130 | asm volatile |
Name | Describe |
---|---|
native_machine_emergency_restart | To the best of our knowledge Windows compatible x86 hardware expects* the following on reboot:* 1) If the FADT has the ACPI reboot register flag set, try it* 2) If still alive, write to the keyboard controller* 3) If still alive, write to the ACPI reboot |
apm_power_off | apm_power_off - ask the BIOS to power off* Handle the power off sequence |
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 |