<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hbcbgcx的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/hbcbgcx</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; hbcbgcx]]></copyright><item><title><![CDATA[动态追踪技术漫谈]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/122397423</link><guid>https://blog.csdn.net/hbcbgcx/article/details/122397423</guid><author>hbcbgcx</author><pubDate>Sun, 09 Jan 2022 19:03:50 +0800</pubDate><description><![CDATA[https://blog.openresty.com.cn/cn/dynamic-tracing/

]]></description><category></category></item><item><title><![CDATA[《面向应用开发者的系统指南》导论]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/122397164</link><guid>https://blog.csdn.net/hbcbgcx/article/details/122397164</guid><author>hbcbgcx</author><pubDate>Sun, 09 Jan 2022 18:42:28 +0800</pubDate><description><![CDATA[https://www.codedump.info/post/20200501-system-guide-for-application-programmer/

]]></description><category></category></item><item><title><![CDATA[Linux深入理解Socket异常]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175741</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175741</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:49:24 +0800</pubDate><description><![CDATA[在各种网络异常情况的背后，TCP是怎么处理的？又是怎样把处理结果反馈给上层应用的？本文就来讨论这个问题。分为两个场景来讨论
建立连接时的异常情况
1 正常情况下
　　经过三次握手，客户端连接成功，服务端有一个新连接到来。

2 客户端连接了服务端未监听的端口
　　在这种情况下，服务端会对收到的SYN回应一个RST（RFC 793 3.4），客户端收到RST之后，终止连接，并进入CLOSED状态。
...]]></description><category></category></item><item><title><![CDATA[中断唤醒系统流程]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175649</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175649</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:45:30 +0800</pubDate><description><![CDATA[1. 前言
曾几何时，不知道你是否想过外部中断是如何产生的呢？又是如何唤醒系统的呢？在项目中，一般具有中断唤醒的设备会有一个interrupt pin硬件连接到SoC的gpio pin。一般来说，当设备需要唤醒系统的时候，会通过改变interrupt pin电平状态，而SoC会检测到这个变化，将SoC从睡眠中唤醒，该设备通过相关的子系统通知上层应用做出相应的处理。这就是中断唤醒的过程。说起来很简洁...]]></description><category></category></item><item><title><![CDATA[面经 cisco]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175621</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175621</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:41:26 +0800</pubDate><description><![CDATA[面经 cisco
https://www.cnblogs.com/alantu2018/p/9236313.html
面经 cisco 2
https://www.cnblogs.com/alantu2018/p/9236344.html

]]></description><category></category></item><item><title><![CDATA[linux驱动工程面试必问知识点]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175212</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175212</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:39:26 +0800</pubDate><description><![CDATA[linux内核原理面试必问(由易到难)
简单型
1：linux中内核空间及用户空间的区别？用户空间与内核通信方式有哪些？
2：linux中内存划分及如何使用？虚拟地址及物理地址的概念及彼此之间的转化，高端内存概念？
3：linux中中断的实现机制，tasklet与workqueue的区别及底层实现区别？为什么要区分上半部和下半部？
4：linux中断的响应执行流程？中断的申请及何时执行(何时执行中...]]></description><category></category></item><item><title><![CDATA[linux驱动面试题整理]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175176</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175176</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:09:35 +0800</pubDate><description><![CDATA[1、字符型驱动设备你是怎么创建设备文件的，就是/dev/下面的设备文件，供上层应用程序打开使用的文件？
答：mknod命令结合设备的主设备号和次设备号，可创建一个设备文件。
评：这只是其中一种方式，也叫手动创建设备文件。还有UDEV/MDEV自动创建设备文件的方式，UDEV/MDEV是运行在用户态的程序，可以动态管理设备文件，包括创建和删除设备文件，运行在用户态意味着系统要运行之后。那么在系统启动...]]></description><category></category></item><item><title><![CDATA[Linux驱动面试题]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104175055</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104175055</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 21:01:38 +0800</pubDate><description><![CDATA[Linux驱动面试题
1、 Linux设备中字符设备与块设备有什么主要的区别？请分别列举一些实际的设备说出它们是属于哪一类设备。
字符设备：字符设备是个能够像字节流（类似文件）一样被访问的设备，由字符设备驱动程序来实现这种特性。字符设备驱动程序通常至少实现open,close,read和write系统调用。字符终端、串口、鼠标、键盘、摄像头、声卡和显卡等就是典型的字符设备。
块设备：和字符设备类似...]]></description><category></category></item><item><title><![CDATA[Linux中匿名页的反向映射]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104174329</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104174329</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 20:20:25 +0800</pubDate><description><![CDATA[vma, anon_vma和anon_vma_chain的联系
本文主要参考了vma, anon_vma和anon_vma_chain的联系这篇文章，结合相关资料，对该文进行了一些改进。
Linux提供了内存映射这一特性，它实现了把物理内存页映射(map)到进程的地址空间中, 以实现高效的数据操作或传输。内核在处理这一特性时, 使用了struct vm_area_struct, struct an...]]></description><category></category></item><item><title><![CDATA[非线性映射]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104174285</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104174285</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 20:11:04 +0800</pubDate><description><![CDATA[版权声明：本文为CSDN博主「CQ062364」的原创文章，遵循CC 4.0 BY-SA 版权协议，转载请附上原文出处链接及本声明。
原文链接：https://blog.csdn.net/CQ062364/article/details/38499937
mmap是将一个文件中的连续部分映射到虚拟内存中的一块连续的区域，它做的映射是线性映射，如果需要将一个文件中的不同部分以不同的顺序映射到虚拟内存...]]></description><category></category></item><item><title><![CDATA[（十五）Linux内存管理之RMAP]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/104174205</link><guid>https://blog.csdn.net/hbcbgcx/article/details/104174205</guid><author>hbcbgcx</author><pubDate>Tue, 04 Feb 2020 20:05:40 +0800</pubDate><description><![CDATA[http://www.coder55.com/article/33206
背景
Read the fucking source code! --By 鲁迅
A picture is worth a thousand words. --By 高尔基
说明：
Kernel版本：4.14
ARM64处理器，Contex-A53，双核
使用工具：Source Insight 3.5， Visio

概述
...]]></description><category></category></item><item><title><![CDATA[imx6q平台的gpio配置方法]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95475499</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95475499</guid><author>hbcbgcx</author><pubDate>Thu, 11 Jul 2019 14:23:34 +0800</pubDate><description><![CDATA[这里介绍一下imx6q平台的gpio配置方式，如下图所示为原理图(从原理图中可看到每个引脚的名称)。

比如引脚名称为GPIO_16，打开kernel_imx/arch/arm/boot/dts/imx6q-pinfunc.h文件（该文件都是一些宏定义，固定形式为MX6QDL_PAD_引脚名_引脚功能描述），搜索GPIO_16，可看到如下结果
&lt;mux_reg conf_reg input_...]]></description><category></category></item><item><title><![CDATA[imx6设备树pinctrl解析]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95475131</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95475131</guid><author>hbcbgcx</author><pubDate>Thu, 11 Jul 2019 14:21:05 +0800</pubDate><description><![CDATA[最近在移植linux，用到kernel版本为3.14.28，在高版本的内核源码中用到了设备树（device-tree），设备树中用到pinctrl的配置，记录一下。
1、普通设置
在配置串口时，pinctrl的配置信息如下所示：
&amp;uart2 {  
    pinctrl-names = "default";  
    pinctrl-0 = &lt;&amp;pinctrl_uart...]]></description><category></category></item><item><title><![CDATA[飞思卡尔IMX6处理器的GPIO-IOMUX_PAD说明]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95473961</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95473961</guid><author>hbcbgcx</author><pubDate>Thu, 11 Jul 2019 14:14:13 +0800</pubDate><description><![CDATA[在linux或android系统中，假如我们要配置飞思卡尔IMX6处理器的GPIO管脚，比如是GPIO_19这个管脚，那么要像这样：
#define MX6Q_PAD_GPIO_19__GPIO_4_5                              \
                                (_MX6Q_PAD_GPIO_19__GPIO_4_5| MUX_P...]]></description><category></category></item><item><title><![CDATA[imx6的IOMUX配置方法]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95473473</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95473473</guid><author>hbcbgcx</author><pubDate>Thu, 11 Jul 2019 14:04:27 +0800</pubDate><description><![CDATA[2016年03月14日 10:26:49 9527zyj 阅读数 5218
版权声明：本文为博主原创文章，未经博主允许不得转载。 https://blog.csdn.net/qq_29729577/article/details/50884292
imx6芯片利用IOMUX机制来解决引脚复用的问题，其引脚配置方法也有些复杂，它涉及到的寄存器有三类：
1.PAD控制寄存器
2.MUX控制寄存器
3....]]></description><category></category></item><item><title><![CDATA[Android的init过程详解（一）]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95372279</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95372279</guid><author>hbcbgcx</author><pubDate>Wed, 10 Jul 2019 19:56:43 +0800</pubDate><description><![CDATA[2013年04月14日 20:06:42 geekguy 阅读数 7785更多
所属专栏： Android深度探索
版权声明：本文为博主原创文章，未经博主允许不得转载。 https://blog.csdn.net/nokiaguy/article/details/8800962
Android的init过程（二）；初始化语言（init.rc）解析
本文使用的软件版本
Android：4.2.2
L...]]></description><category></category></item><item><title><![CDATA[Android的init过程（二）：初始化语言（init.rc）解析]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/95371179</link><guid>https://blog.csdn.net/hbcbgcx/article/details/95371179</guid><author>hbcbgcx</author><pubDate>Wed, 10 Jul 2019 19:47:42 +0800</pubDate><description><![CDATA[2013年06月17日 09:36:09 geekguy 阅读数 34155更多
所属专栏： Android深度探索
版权声明：本文为博主原创文章，未经博主允许不得转载。 https://blog.csdn.net/nokiaguy/article/details/9109491
Android的init过程（一）
本文使用的软件版本
Android：4.2.2
Linux内核：3.1.10
在上...]]></description><category></category></item><item><title><![CDATA[C调用C++库和C++调用C库的方法]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/94616233</link><guid>https://blog.csdn.net/hbcbgcx/article/details/94616233</guid><author>hbcbgcx</author><pubDate>Thu, 04 Jul 2019 14:27:47 +0800</pubDate><description><![CDATA[C++调用C的函数比较简单，直接使用extern “C” {}告诉编译器用C的规则去调用C函数就可以了。
CAdd.h

int cadd(int x, int y);

CAdd.c

#include "CAdd.h"
#include &lt;stdio.h&gt;

int cadd(int x, int y) {
    printf("from C function.\n");
   ...]]></description><category></category></item><item><title><![CDATA[inittab脚本启动解析]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/94404346</link><guid>https://blog.csdn.net/hbcbgcx/article/details/94404346</guid><author>hbcbgcx</author><pubDate>Mon, 01 Jul 2019 19:17:08 +0800</pubDate><description><![CDATA[Linux 开机脚本启动顺序:
第一步：启动内核
第二步：执行init （配置文件/etc/inittab）
第三步：启动相应的脚本，执行inittab脚本，并且执行里面的脚本/etc/init.d rc.sysinit rc.d rc.local。。。
第四步：启动login登录界面 login
第五步:在用户登录的时候执行sh脚本的顺序：每次登录的时候都会完全执行的 /etc/profile ...]]></description><category></category></item><item><title><![CDATA[详解Linux系统中的进程初始化配置文件inittab]]></title><link>https://blog.csdn.net/hbcbgcx/article/details/94404147</link><guid>https://blog.csdn.net/hbcbgcx/article/details/94404147</guid><author>hbcbgcx</author><pubDate>Mon, 01 Jul 2019 19:14:37 +0800</pubDate><description><![CDATA[/etc/inittab文件描述了哪些进程开始启动并正常运行。inittab为linux初始化文件系统时init初始化程序用到的配置文件。这个文件负责设置init初始化程序初始化脚本在哪里;每个运行级初始化时运行的命令; 开机、关机、重启对应的命令；各运行级登陆时所运行的命令。
inittab文件中的条目的格式如下:
label:runlevels:action:process   下面分别介绍各...]]></description><category></category></item></channel></rss>