摘要
本文介紹Linux Device Drivers一書第3版之範例程式的建構;原始碼來源取自GitHub。
本文
Linux Device Drivers一書第3版裏的原始範例程式可以從這裡下載,隨後將從GitHub這邊取得範例程式,搭配VMWare Workstation 16 Player上的Ubuntu 19.04虛擬機器進行建構。Ubuntu之shell指令分述如下。
git clone https://github.com/martinezjavier/ldd3.git
cd ldd3
make
建構完畢的畫面如下所示。
針對simple這一個範例程式,對於建構完畢的module進行查詢、插入、和移除的操作畫面如下所示。完成。
參考文獻
https://www.gotop.com.tw/tmp/books?Types=A09&bn=A184
https://www.oreilly.com/openbook/linuxdrive3/book/
https://resources.oreilly.com/examples/9780596005900/
https://github.com/martinezjavier/ldd3
https://www.digitalocean.com/community/questions/unable-to-apt-update-my-ubuntu-19-04
沒有留言:
不接受新意見。