- 博客(11)
- 收藏
- 关注
原创 gdb
gdbinfo line *0x````` : show the line of addressp : print the value of expression , e.g, p &(((strcut struct_name*)0)->m_a), p &(((struct wpa_supplicant )&(((struct wpa_radio_work)0...
2018-11-15 16:16:00
157
原创 linux static and dynamic library
转自:static libraryhttps://www.geeksforgeeks.org/static-vs-dynamic-libraries/dynamic libraryhttps://www.geeksforgeeks.org/static-vs-dynamic-libraries/https://www.geeksforgeeks.org/working-with-shar...
2018-11-15 15:58:54
551
原创 gnu mak spec
-Wildcard expansion happens automatically in rules. But wildcard expansion does not normallytake place when a variable is set, or inside the arguments of a function. If you wantto do wildcard expans...
2018-11-12 10:16:47
227
原创 pkms-start-scan and install
start-scan:@startumlparticipant SystemServer as SSparticipant PackageManagerService as PKMSparticipant ParallelPackageParser as P_PPparticipant PackageParser as PP==PKMS START and scan apk==SS...
2018-11-08 16:42:11
464
原创 pms-permission
wifi_enable_permisson_sequence@startumlparticipant WifiManager as wmparticipant WifiServiceImpl as wmsparticipant ContextImpl as contextparticipant ActivityManagerService as amsparticipant Activ...
2018-11-08 16:36:52
399
原创 chat-server-client(pc app in java)
server can also play with the android client apkserver: ChatServer.javaimport java.io.BufferedReader;import java.io.BufferedWriter;import java.io.IOException;import java.io.InputStream;import ja...
2018-11-08 16:28:14
415
原创 chat-client(android apk)
Mainactivity.javapackage com.example.mtk28093.chatclient;import android.os.Handler;import android.os.Looper;import android.os.Message;import android.support.v7.app.AppCompatActivity;import andr...
2018-11-08 16:24:32
466
原创 device tree
文章目录introductionbasic architecturehow to usecoderefintroduction将设备信息统一填在dts文件里,既方便管理,同时如果device有变,只要修改dts文件即可,kernel 不见得需要修改DTB Devicetree blob. Compact binary representation of the devicetreeDTC ...
2018-10-30 17:00:39
245
原创 GIC
Interrupt typesA device that implements this GIC architecture can manage the following types of interrupt:Peripheral interruptThis is an interrupt asserted by a signal to the GIC. The GIC archite...
2018-09-29 16:37:12
332
原创 ftrace中tracepoint和event trace的使用
文章目录例子参考文章例子这篇文章https://www.ibm.com/developerworks/cn/linux/1609_houp_ftrace/index.html 对tracepoint和event trace都说的很清晰了,这里就不做赘述了,主要来看一下kernel里的一个例子。先看一下抓的log和命令命令:分别用3个bat完成enable traceset trac...
2018-09-28 15:52:39
2662
转载 使用优快云-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I...
2018-08-12 16:46:21
127
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人