函数逻辑报告 |
Source Code:arch\x86\kernel\reboot.c |
Create Date:2022-07-27 09:18:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:machine_real_restart
函数原型:void __noreturn machine_real_restart(unsigned int type)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | type |
| 99 | 禁止中断() |
| 111 | 加自旋锁 |
| 112 | CMOS_WRITE(0x00, 0x8f) |
| 113 | 自旋锁解锁 |
| 130 | asm volatile |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |