上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页
摘要: 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 阅读(493) 评论(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 阅读(288) 评论(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 阅读(799) 评论(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 阅读(160) 评论(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 阅读(45) 评论(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 阅读(67) 评论(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 阅读(150) 评论(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 阅读(549) 评论(0) 推荐(0) 编辑
摘要: android WatchDog(sw watchdog)工作原理 http://gityuan.com/2016/06/21/watchdog/ 阅读全文
posted @ 2021-04-27 14:46 aspirs 阅读(154) 评论(0) 推荐(0) 编辑
摘要: system call open() from: http://linux2fork.blogspot.com/2013/04/system-call-open.html 今天review linux character driver的時候,發現往往定義的file_operations的.open成 阅读全文
posted @ 2021-04-26 21:33 aspirs 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页