2019年2月15日

linux kernel driver debug

摘要: 1. print printk(): never pr_debug(): always good dev_dbg(): prefered when you have a struct device object netdev_dbg(): prefered when you have a struc 阅读全文

posted @ 2019-02-15 13:32 荷树栋 阅读(754) 评论(0) 推荐(0)

2019年2月14日

WIFI 802.11 a/b/g/n/ac

摘要: 802.11 a/b/g/n/ac FHSS: Frequency-hopping spread spectrum (FHSS) is a method of transmitting radio signals by rapidly switching a carrier among many f 阅读全文

posted @ 2019-02-14 16:01 荷树栋 阅读(1482) 评论(0) 推荐(0)

2019年2月11日

_Bool and bool

摘要: _Bool is the defined before C99. bool has been defined in C99. bool is an alias for _Bool if you include stdbool.h. Underscores in C are significant, 阅读全文

posted @ 2019-02-11 13:43 荷树栋 阅读(136) 评论(0) 推荐(0)

how to tell gcc with c99 enable

摘要: just copy the make file here. CC = gccCFLAGS = -Wall -std=c99OUTFILE = outputfileOBJS = source.oSRCS = source.c $(OUTFILE): $(OBJS) $(CC) $(CFLAGS) -o 阅读全文

posted @ 2019-02-11 10:21 荷树栋 阅读(144) 评论(0) 推荐(0)

2019年2月2日

The problems when using a new ubuntu 18.04

摘要: how to install dual systems (windows & ubuntu) Donwloading the ubuntu from web. Using refu to create a boot usb disk in windows. booting from usb and 阅读全文

posted @ 2019-02-02 17:51 荷树栋 阅读(398) 评论(0) 推荐(0)

2019年1月31日

#pragma Directive in C/C++

摘要: The #pragma is complier specified. for example, the code below does not work in gcc. #pragma startup and #pragma exit: #pragma startup func1 #pragma e 阅读全文

posted @ 2019-01-31 13:36 荷树栋 阅读(157) 评论(0) 推荐(0)

The difference among ioctl, unlocked_ioctl and compat_ioctl (RT)

摘要: Meta-answer: All the raw stuff happening to the Linux kernel goes through lkml (the Linux kernel mailing list). For explicative summaries, read or sea 阅读全文

posted @ 2019-01-31 11:53 荷树栋 阅读(118) 评论(0) 推荐(0)

encrypt and decrypt data

摘要: https://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html Encrypting a file in Linux or Unix To encrypt a single file 阅读全文

posted @ 2019-01-31 10:11 荷树栋 阅读(423) 评论(0) 推荐(0)

2019年1月30日

How To Use the AWK language to Manipulate Text in Linux

摘要: https://www.digitalocean.com/community/tutorials/how-to-use-the-awk-language-to-manipulate-text-in-linux Introduction Linux utilities often follow the 阅读全文

posted @ 2019-01-30 14:09 荷树栋 阅读(840) 评论(0) 推荐(0)

How to get checksum by IAR

摘要: 阅读全文

posted @ 2019-01-30 13:12 荷树栋 阅读(112) 评论(0) 推荐(0)

导航