上一页 1 2 3 4 5 6 ··· 41 下一页
摘要: struct bio_vec bio_vec表示一段连续的内存数据,最大为一个page一般情况下,bio_vec与page一一对应. 所有bio_vec就组成 了一个bio携带的所有数据 struct bio_vec { struct page *bv_page;/*数据所属的page */ uns 阅读全文
posted @ 2023-01-25 13:44 aspirs 阅读(77) 评论(0) 推荐(0) 编辑
摘要: Max Enhanced Area Max Enhanced Area = MAX_ENH_SIZE_MULT x HC_WP_GRP_SIZE x HC_ERASE_GRP_SIZE x 512kBytes Erase Unit Size = 512Kbyte × HC_ERASE_GRP_SIZ 阅读全文
posted @ 2023-01-06 14:58 aspirs 阅读(97) 评论(0) 推荐(0) 编辑
摘要: _set_seccomp_filter调用flow frameworks/base/core/jni/com_android_internal_os_Zygote.cpp 634 static void SetUpSeccompFilter(uid_t uid, bool is_child_zygo 阅读全文
posted @ 2022-12-29 20:25 aspirs 阅读(323) 评论(0) 推荐(0) 编辑
摘要: emmc工作mode 1. device identification mode 2. data transfer mode 3. interrupt mode emmc工作state | device state | operation mode || Inactive State //Inact 阅读全文
posted @ 2022-12-22 19:22 aspirs 阅读(22) 评论(0) 推荐(0) 编辑
摘要: hardware misc 电容种类 电解电容:有极性,对电源进行滤波储能,常用容值范围:10--470μF;耐压范围:6.3 - -450V 陶瓷电容:无极性;高频滤波、去耦,常用容值范围10pF --10μF ;耐压范围:6.3--3kV 陶瓷电容通常表示方法: 101表示0.1nF 102表示 阅读全文
posted @ 2022-12-22 15:57 aspirs 阅读(17) 评论(0) 推荐(0) 编辑
摘要: event.log中搜索关键字am_pss也可以看到某个Process当前使用memory的情况: //am_pss (Pid|1|5),(UID|1|5),(Process Name|3),(Pss|2|2),(Uss|2|2),(SwapPss|2|2),(Rss|2|2),(StatType| 阅读全文
posted @ 2022-12-12 13:54 aspirs 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Num: Value Size Type Bind Vis Ndx Name 310: a0008120 0 NOTYPE GLOBAL DEFAULT ABS _gp 734: a0000010 32 OBJECT GLOBAL DEFAULT 77 v 818: 9d000018 496 FUN 阅读全文
posted @ 2022-12-04 16:35 aspirs 阅读(20) 评论(0) 推荐(0) 编辑
摘要: IRQF_SHARED flag(共享中断) 多个设备共享同一个中断号,中断产生时,多个注册为同一个中断号的中断isr均被会执行: irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags) fo 阅读全文
posted @ 2022-11-30 19:16 aspirs 阅读(101) 评论(0) 推荐(0) 编辑
摘要: vm_area_struct是slab内存 vm_area_struct是slab内存,在/proc/slabinfo里的名字是vm_area_struct 添加kernel config并设定默认值 在Kconfig里添加一个config并设定默认值,其它地方不需要再改,即可使用此config: 阅读全文
posted @ 2022-11-23 14:47 aspirs 阅读(101) 评论(0) 推荐(0) 编辑
摘要: virt_to_phys on 5.4 kernel 5.4\arch\arm64\include\asm\Memory.h static inline phys_addr_t virt_to_phys(const volatile void *x) { return __virt_to_phys( 阅读全文
posted @ 2022-11-21 20:38 aspirs 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 41 下一页