freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

amlogic8726升級(jí)相關(guān)介紹-資料下載頁(yè)

2025-08-16 23:13本頁(yè)面
  

【正文】 LINUX_REBOOT_CMD_KEXEC: ret = kernel_kexec()。 break。endififdef CONFIG_HIBERNATION case LINUX_REBOOT_CMD_SW_SUSPEND: ret = hibernate()。 break。endif default: ret = EINVAL。 break。 } mutex_unlock(amp。reboot_mutex)。 return ret。}10. linux/arch/arm/kernel/,記錄各中斷函數(shù)地址/** linux/arch/arm/kernel/** Copyright (C) 19952005 Russell King** This program is free software。 you can redistribute it and/or modify* it under the terms of the GNU General Public License version 2 as* published by the Free Software Foundation.** This file is included thrice in *//* 85 */ CALL(sys_readlink) CALL(sys_uselib) CALL(sys_swapon) CALL(sys_reboot) CALL(OBSOLETE(sys_old_readdir)) /* used by libc4 */bionic/libc/kernel/archarm/asm中文件中定義了中斷向量號(hào),如下:/* WARNING: DO NOT EDIT, AUTOGENERATED CODE SEE TOP FOR INSTRUCTIONS */define __NR_reboot (__NR_SYSCALL_BASE+ 88)define __NR_readdir (__NR_SYSCALL_BASE+ 89)define __NR_mmap (__NR_SYSCALL_BASE+ 90)define __NR_munmap (__NR_SYSCALL_BASE+ 91)./mon/arch/arm/kernel/ .equ NR_syscalls,0define CALL(x) .equ NR_syscalls,NR_syscalls+1 //NR_syscalls中斷向量表項(xiàng)記數(shù)include undef CALLdefine CALL(x) .long x .type sys_call_table, objectENTRY(sys_call_table)include undef ABIundef OBSOLETE11. void arm_machine_restart(char mode, const char *cmd) //此函數(shù)被kernel_restart函數(shù)調(diào)用{if defined (CONFIG_PLAT_MESON) amp。amp。 !defined(CONFIG_ARCH_MESON2) u32 reboot_reason = MESON_NORMAL_BOOT。 if (cmd) { if (strcmp(cmd, charging_reboot) == 0) reboot_reason = MESON_CHARGING_REBOOT。 else if (strcmp(cmd, recovery) == 0 || strcmp(cmd, factory_reset) == 0) reboot_reason = MESON_FACTORY_RESET_REBOOT。 else if (strcmp(cmd, update) == 0) reboot_reason = MESON_UPDATE_REBOOT。 else if (strcmp(cmd, report_crash) == 0) reboot_reason = MESON_CRASH_REBOOT。 else if (strcmp(cmd, factory_testl_reboot) == 0) reboot_reason = MESON_FACTORY_TEST_REBOOT。 else if (strcmp(cmd, switch_system) == 0) reboot_reason = MESON_SYSTEM_SWITCH_REBOOT。 else if (strcmp(cmd, safe_mode) == 0) reboot_reason = MESON_SAFE_REBOOT。 else if (strcmp(cmd, lock_system) == 0) reboot_reason = MESON_LOCK_REBOOT。 else if (strcmp(cmd, usb_burner_reboot) == 0) reboot_reason = MESON_USB_BURNER_REBOOT。 } aml_write_reg32(P_AO_RTI_STATUS_REG1, reboot_reason)。 printk(reboot_reason(0x%x) = 0x%x\n, P_AO_RTI_STATUS_REG1, aml_read_reg32(P_AO_RTI_STATUS_REG1))。endif /* CONFIG_PLAT_MESON */ /* Flush the console to make sure all the relevant messages make it * out to the console drivers */ arm_machine_flush_console()。 /* Disable interrupts first */ local_irq_disable()。 local_fiq_disable()。 /* * Tell the mm system that we are going to reboot * we may need it to insert some 1:1 mappings so that * soft boot works. */ setup_mm_for_reboot(mode)。 /* Clean and invalidate caches */ flush_cache_all()。 /* Turn off caching */ cpu_proc_fin()。 /* Push out any further dirty data, and ensure cache is empty */ flush_cache_all()。 /* * Now call the architecture specific reboot code. */ arch_reset(mode, cmd)。 /* * Whoops the architecture was unable to reboot. * Tell the user! */ mdelay(1000)。 printk(Reboot failed System halted\n)。 while (1)。}五. Recovery kernel中的/etc/ ①設(shè)置環(huán)境變量。 ②建立etc連接。 ③新建目錄,備用。 ④掛載/tmp為內(nèi)存文件系統(tǒng)tmpfs ⑤啟動(dòng)recovery(/sbin/recovery)服務(wù)。 ⑥啟動(dòng)adbd服務(wù)(用于調(diào)試)。六.
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1