Linux Device Driver Programming Lecture 18: __init and __exit macros
__init and __exit macros In this article, let's explore init and exit macros. These are called as function or variables section attributes(shown in Figure 1). __init…
__init and __exit macros In this article, let's explore init and exit macros. These are called as function or variables section attributes(shown in Figure 1). __init…
Exercise-003 Hardware connections In this article, let’s talk about the Hardware connections. Look at Figure 1, Arduino and Button connections table. There are three buttons: Button 1,…
Exercise-003 Nested switch implementation of an FSM part 2 In this article, let’s continue Nested switch implementations. Please note that, whenever you see a Guard condition, you…
Exercise-003 Nested switch implementation of an FSM part 1 In this article, let’s continue the coding. Write one function to implement a state machine. Go to the…
LKM writing syntax In this article, let's write our very first kernel module, as shown in Figure 1. Here is an example of a hello world kernel…
User space Vs kernel space In this article, we will delve into the concepts of user space and kernel space in the context of operating systems, particularly…