上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页
摘要: 问题 在开发过程中发现一个问题,我们需要在开机的时候判断硬件版本号去启动服务, 服务的名字是ledservice和ledservice4,但是发现每次烧录完固件后,服务启动不 成功,需要再复位重启一次,服务才可以正常启动。 日志如下 [ 5.328699] init: Service 'logd-r 阅读全文
posted @ 2020-03-21 14:32 aspirs 阅读(1822) 评论(0) 推荐(0)
摘要: 在service.cpp中的Start()调用ExpandArgsAndExecv() system/core/init/service.cpp static bool ExpandArgsAndExecv(const std::vector<std::string>& args) { std::v 阅读全文
posted @ 2020-03-20 15:37 aspirs 阅读(371) 评论(0) 推荐(0)
摘要: Symbols/Function Pointers: %pF versatile_init+0x0/0x110 %pf versatile_init %pS versatile_init+0x0/0x110 %pSR versatile_init+0x9/0x110 (with __builtin_ 阅读全文
posted @ 2020-03-19 11:13 aspirs 阅读(940) 评论(0) 推荐(0)
摘要: 可能有错,更新中。。。用2级页表将用户空间的0-3G线性地址映射到256MBSDRAM的物理地址3000 0000-3FFF FFFF中 2^10=1024=0x400 2^12=4096=0x1000 2^14=16384=0x40001个页目录-->覆盖3GB物理内存范围(可以4GB)1个页目录 阅读全文
posted @ 2020-03-17 19:26 aspirs 阅读(1474) 评论(0) 推荐(0)
摘要: 进程是操作系统的一个核心概念。每个进程都有自己唯一的标识:进程ID,也有自己的生命周期。一个典型的进程的生命周期如图4-1所示。 进程都有父进程,父进程也有父进程,这就形成了一个以init进程为根的家族树。除此以外,进程还有其他层次关系:进程、进程组和会话。 进程组和会话在进程之间形成了两级的层次: 阅读全文
posted @ 2020-03-16 12:48 aspirs 阅读(357) 评论(0) 推荐(0)
摘要: What is the purpose of the controlling terminal? Say that I have opened some program from the terminal, and I have redirected its stdin and stdout and 阅读全文
posted @ 2020-03-16 12:47 aspirs 阅读(194) 评论(0) 推荐(0)
摘要: android init.rc中service console option的含义、作用 void service_start(struct service *svc, const char *dynamic_args) needs_console = (svc->flags & SVC_CONSO 阅读全文
posted @ 2020-03-14 14:05 aspirs 阅读(1183) 评论(0) 推荐(0)
摘要: 实例演示 关闭和启动init.rc中的console 服务 service console /system/bin/sh class core console disabled user shell group log 代码实现 shell : setprop ctl.start service_n 阅读全文
posted @ 2020-03-13 20:48 aspirs 阅读(1335) 评论(0) 推荐(0)
摘要: The /proc/PID/smaps is an extension based on maps, showing the memory consumption for each of the process's mappings. For each of mappings there is a 阅读全文
posted @ 2020-03-10 19:31 aspirs 阅读(427) 评论(0) 推荐(0)
摘要: 当C:\Users\hp\AppData\Local\Temp\目录创建以TFX开头的临时文件过多,造成无法在这个目录创建以TFX开头的临时文件,会造成 source insight的崩溃,因为source insight对创建得到的临时文件句柄的有效性未做任何检测。 解决办法:删除C:\Users 阅读全文
posted @ 2020-03-10 14:21 aspirs 阅读(5258) 评论(1) 推荐(1)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页