上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页
摘要: Cache是eMMC中临时存储数据的位置,相比于Nand,Cache可以提供更快的存取速度。一般可以用于临时存放逻辑数据、算法表格等等。Cache大小由Devcie在EXT CSD中给出,以1KB为单位。Host可以通过设置EXT CSD[33] CACHE_CTRL来进行使能。Host可以通过Fl 阅读全文
posted @ 2021-05-19 21:42 aspirs 阅读(1270) 评论(0) 推荐(0)
摘要: 内核reboot流程 kernel/reboot.c void kernel_restart(char *cmd) { kernel_restart_prepare(cmd); migrate_to_reboot_cpu(); syscore_shutdown(); if (!cmd) pr_eme 阅读全文
posted @ 2021-05-16 17:21 aspirs 阅读(1390) 评论(0) 推荐(0)
摘要: Power Off Notification (PON) 1) Short Power Off Notification: Host shall expect a shorter timeout when this command is executed. The max value is defi 阅读全文
posted @ 2021-05-15 22:37 aspirs 阅读(734) 评论(0) 推荐(0)
摘要: really_probe() platform_device_register platform_device_add device_add bus_probe_device device_initial_probe __device_attach __device_attach_driver dr 阅读全文
posted @ 2021-05-15 21:21 aspirs 阅读(355) 评论(0) 推荐(0)
摘要: ro.boot.bootreason property设置(androidboot.xxxx bootargs) system/core/init.cpp static void process_kernel_cmdline() { // The first pass does the common 阅读全文
posted @ 2021-05-12 22:50 aspirs 阅读(961) 评论(0) 推荐(0)
摘要: kernel exception vector table kernel里异常vector table define在如下位置,(1)/(2)/(3)/(4)部分分别对应上面table中的第1、2、3、4行。 一个vector占128字节,在该vector里,会有branch指令跳转到对应的exce 阅读全文
posted @ 2021-05-03 18:19 aspirs 阅读(207) 评论(0) 推荐(0)
摘要: compile/link misc .pushsection ".entry.text", "ax" permission permission 字段用于指明 section 的权限。section 权限包括: “a” (可分配)、 “w” (可写)、”r” (可读)、”x” (可执行),permi 阅读全文
posted @ 2021-05-03 13:14 aspirs 阅读(64) 评论(0) 推荐(0)
摘要: user space syscall/library API misc get thread name get thread name:char threadname[20] = {'\0'};prctl(PR_GET_NAME,(unsigned long)threadname);get pid: 阅读全文
posted @ 2021-05-02 14:07 aspirs 阅读(88) 评论(0) 推荐(0)
摘要: LIUNX SHELL中-a 到-z的解释 [ -a FILE ] 如果 FILE 存在则为真。[ -b FILE ] 如果 FILE 存在且是一个块特殊文件则为真。[ -c FILE ] 如果 FILE 存在且是一个字特殊文件则为真。[ -d FILE ] 如果 FILE 存在且是一个目录则为真。 阅读全文
posted @ 2021-05-01 15:29 aspirs 阅读(171) 评论(0) 推荐(0)
摘要: getenforce/setenforce对应如下文件,可以直接cat这个文件,如果值是1,表示enforcing;如果值是0,表示permissive:/sys/fs/selinux/enforce getenforce/setenforce是可执行程序,在/system/bin/下,对应src文 阅读全文
posted @ 2021-04-30 15:39 aspirs 阅读(606) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页