2023年1月1日 星期日
Table Of Content for tag "Linux - kernel"
Linux Kernel(1)- Linux Module簡介
Linux Modules(1.1)module parameters
Linux Kernel(2)- register char device
Linux Kernel(2.1)- MAJRO NUMBER RESERVED FOR DYNAMIC ASSIGNMENT
Linux Kernel(3)- procfs
Linux Kernel(3.1)- procfs之vector方式寫入
Linux Kernel(3.2)- procfs之symlink與mkdir
Linux Kernel(4)- seq_file
Linux Kernel(4.1)- seq_file之範例(fp/proc/devices.c)
Linux Kernel(4.2)- seq_file之single page
Linux Kernel(5)- ioctl
Linux Kernel(6)- miscdev
Linux Kernel(7)- timing
Linux Kernel(7.1)- timer
Linux Modules(7.2)- tasklet
Linux Modules(7.3)- work queue
Linux Kernel(8)- Notification
Linux Kernel(8.1)- Notifier機制剖析
Linux Kernel(9)- Kthread
Linux Kernel(10)- MTD/Memory Technology Device
Linux Kernel(10.1)- drivers/mtd/devices/mtdram.c
Linux Kernel(10.2)- mtd partitions
Linux Kernel(10.3)- Command line partition table parsing
Linux Kernel(10.3.1)- Command line partition table parsing for Kernel 4.19
Linux Kernel(11)- sysfs and device node
Linux Kernel(11.1)- sysfs and hotplug
Linux Kernel(11.2)- mdev.conf
Linux Kernel(12)- netfilter
Linux Kernel(12.1)- netfilter機制之初探
Linux Kernel(13)- syscall
Linux Kernel(14)- Kernel Synchronization
Linux Modules(14.1)- Read Copy Update
Linux Kernel(15)- Platform Devices
Linux Kernel(15.1)- platform_driver_register()之如何调用driver.probe()
Linux Kernel(15.2)- platform_device_register()之如何调用driver.probe()
Linux Kernel(15.3)- The Linux usage model for device tree data
Linux Kernel(16.1)- Network Device Driver, simple snull
Linux Kernel(17)- Device Tree
Linux Kernel(17.1)- Basic Device Tree syntax
Linux Kernel(17.2)- Common Device Tree API
Linux Kernel(18)- Virtual File System
Linux Kernel(18.1)- My First Filesystem
Linux Kernel(18.2)- SysCall mount
Linux Kernel(19)- General Purpose Input/Output
Linux Kernel(19.1)- /sys/class/gpio usage
Linux Kernel(20)- Input device
Linux Kernel(20.1)- Input device user program
Linux Kernel(20.2)- uinput module
Linux Kernel(20.3)- Creating an input device driver
Linux Kernel(21)- ID Allocation
Linux Kernel(21.1)- ID Allocation
Linux Kernel(21.2)- radix tree API
Linux Kernel(21.3)- radix tree implementation
Linux Kernel(22)- Linux Socket
Linux Kernel(22.1)- My Socket Domain and Protocol
Linux Kernel(23)- SKB
Linux Kernel(24)- Multimedia Card
Linux Kernel(24.1)- fdisk Multimedia Card
Linux Kernel(25)- USB(Universal Serial Bus)
Linux Kernel(25.1)- Gadget Configfs
2022年6月11日 星期六
Table Of Content for "CMake Tutorial"
Step 1: A Basic Starting Point
Step 2: Adding a Library
- Step 2: Adding A Library As An Option
Step 3: Adding Usage Requirements for a Library
Step 4: Installing and Testing
Step 5: Adding System Introspection
Step 6: Adding a Custom Command and Generated File
Step 7: Packaging an Installer
Step 8: Adding Support for a Testing Dashboard
Step 9: Selecting Static or Shared Libraries
Step 10: Adding Generator Expressions
Step 11: Adding Export Configuration
Step 12: Packaging Debug and Release
標籤:
- Table Of Content,
cmake
2018年10月28日 星期日
2018年7月8日 星期日
Table Of Content for tag "Design Patterns with C "
- A pattern for state machine
- A pattern for state machine II - SM framework
- A pattern for state machine III - SM framework
- An Sample Code for Syslogd - A log pattern with categorize, level and format
- An Sample Code for Syslogd - A log pattern with categorize, level and format II
- An Sample Code for threads control - A Wrap for service/threadstart/stop/periodical run
- An Sample Code for notification-chain
- A pattern for command table
2018年4月7日 星期六
Table Of Content for tag "The Art of Readable Code"
這是一本好書, 建議每個programmer都應該買來翻一翻
- CH1, Code Should Be Easy to Understand
- CH2, Pack information into your names
- CH3, Names That Can’t Be Misconstrued
- CH4, Aesthetics
- CH5, Knowing What to Comment
- CH6, Making Comments Precise and Compact
- CH7, Making Control Flow Easy to Read
- CH8, Breaking Down Giant Expressions
- CH9, Variables and Readability
- CH10, Extracting Unrelated Subproblems
- CH11, One Task at a Time
- CH12 Turning Thoughts into Code
- CH13 Writing Less Code
訂閱:
文章 (Atom)
熱門文章
-
轉自 http://www.wretch.cc/blog/redsonoma/14021073 基本概念: 1> tty(終端設備的統稱): tty一詞源於Teletypes,或者teletypewriters,原來指的是電傳打字機,是通過串行線用打印機鍵盤通過閱...
-
Work queue提供一個interface,讓使用者輕易的建立kernel thread並且將work綁在這個kernel thread上面,如下圖[1]所示。 由於work queue是建立一個kernel thread來執行,所以是在process context...
-
(V)將介紹file operations中的ioctl。ioctl的prototype為: int (*ioctl) (struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); ...
-
這兩天電腦的word忽然都不能存檔,即便是另存新檔也不行,最後都只能放棄修改檔案,即便重新安裝過或者更新成2007也都不能存檔,最後就乖乖的google一下,原來是暫存的資料夾不存在,按照以下方式就可以解決了。 資料來源: word 2003不能存檔問題 編輯機碼的(reg...
-
System Call在HW和user space提供一層抽象層,主要目的有: 為user space提供硬體抽象層。比如,讀取檔案時,不用管檔案所在的媒體類型與檔案儲存類型。 System call能確保系統的安全與穩定。避免user space的無意或惡意的破壞。 ...
-
在kernel中建立thread可以使用kthread_create(),建立一個task,然後在調用wake_up_process(task)讓task真正的運行,如果要kill一個kthread可以使用kthread_stop()。 在kernel中,將kthread_cr...
-
Linux module練習手札I紀錄如何撰寫一個簡單的module,並且編輯它,以及load和unload一個module。 write a module #include <linux/init.h> #include <linux/module.h...
-
幾乎任何使用 TCP,UDP或UNIX-domain socket的動作都可以用nc來達成,常見的功能如。 simple TCP proxies shell-script based HTTP clients and servers network daemon testi...
-
很多人心中都有過一個問題 What is the difference between Platform driver and normal device driver? ,簡單的來說Platform devices就non-discoverable,也就是device本身沒辦法...
-
組成元件 要能正確顯示資料,必須包含資料倉儲(Store),資料欄位的定義(ColumnModel)。 首先我們先定義資料欄位: var cm = new Ext.grid.ColumnModel({ {header: 'Name', dataIndex...