上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 39 下一页
摘要: 1. linux实时进程优先级范围是0-99,值越小,优先级越高;值越大,优先级越低 2. linux普通进程的静态优先级根据如下的公式确定,其中nice值范围是-20~19,同样是nice值越小,static优先级越小,优先级越高;反之nice值越大,staic prio越大,优先级越低。MAX_ 阅读全文
posted @ 2020-09-13 16:10 aspirs 阅读(1408) 评论(0) 推荐(0)
摘要: 对于 ftrace 的function tracer/function graph tracer 用的比较多,本文介绍 wakeup tracer/wakeup_rt tracer。 开始介绍之前,先扯两句别的,在一开始想了解wakeup/wakeup_rt tracer 的时候,因为内核Docum 阅读全文
posted @ 2020-09-10 22:16 aspirs 阅读(684) 评论(0) 推荐(0)
摘要: 分配一个urb,并初始化之。返回这个urb的指针usb_alloc_urb(int iso_packets, gfp_t mem_flags) (core/message.c) ->urb = kmalloc(...); 分配一个urb ->usb_init_urb(urb); 初始化这个urb:初 阅读全文
posted @ 2020-09-09 22:18 aspirs 阅读(423) 评论(0) 推荐(0)
摘要: open: filp_open() ioctl: vfs_ioctl() 阅读全文
posted @ 2020-09-06 19:00 aspirs 阅读(166) 评论(0) 推荐(0)
摘要: 對 51 微控制器記憶體的認識,很多人有誤解,最常見的是以下兩種① 超過變數128後必須使用compact模式編譯 實際的情況是隻要記憶體佔用量不超過 256.0 就可以用 small 模式編譯② 128以上的某些地址為特殊暫存器使用,不能給程式用 與 PC 機不同,51 微控制器不使用線性編址,特 阅读全文
posted @ 2020-09-01 10:47 aspirs 阅读(2116) 评论(0) 推荐(0)
摘要: The xdata memory type may be used to declare variables only. You may not declare xdata functions. This memory is indirectly accessed using 16-bit addr 阅读全文
posted @ 2020-09-01 10:45 aspirs 阅读(236) 评论(0) 推荐(0)
摘要: Android.bp // Android.bp sample cc_defaults( deps = [ "libc", ], ) cc_library( name = "cmd", srcs = [ "main.c", ], ) subdirs = ["subdir1", "subdir2"] 阅读全文
posted @ 2020-08-24 20:26 aspirs 阅读(798) 评论(0) 推荐(1)
摘要: android / platform / bionic from: https://android.googlesource.com/platform/bionic/ readelf -d (so或者bin) |grep libclibc.so.6 代表是glibclibc.so 代表是bionic 阅读全文
posted @ 2020-08-20 17:19 aspirs 阅读(181) 评论(0) 推荐(0)
摘要: echo +80 > /sys/class/rtc/rtc0/wakealarm 上面指令执行的函数如下: drivers/rtc/rtc-sysfs.c static ssize_t wakealarm_store(struct device *dev, struct device_attribu 阅读全文
posted @ 2020-08-19 15:21 aspirs 阅读(2032) 评论(0) 推荐(0)
摘要: 高清地图下载 http://bzdt.ch.mnr.gov.cn/ 广东高清地图下载 http://nr.gd.gov.cn/gdlr_public/map/3/gz/index.html 阅读全文
posted @ 2020-08-09 13:21 aspirs 阅读(162) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 39 下一页