The so called userspace

Most people have heard the term userspace and most people have a grasp of what it means, but why is it called userspace and what is it? To understand the name we need to go back to the core and look at the architecture of a CPU. Most processors, including most microcontrollers, have two modesContinue reading “The so called userspace”

Computer memory from the ground up (part 3)

This is the third and final post in the series about computer memory. If you have not done it, I recommend you to read my two previous posts: Computer memory from the ground up (part 1) and Computer memory from the ground up (part 2). In this post I will go through how dynamic memory is managedContinue reading “Computer memory from the ground up (part 3)”

Computer memory from the ground up (part 2)

In my previous post I explained about the physical memory and how it is connected to the CPU. In this post I will talk about how the program file residing in permanent storage is loaded into the memory and executed. For the purpose of this post we will refer to a generic binary format andContinue reading “Computer memory from the ground up (part 2)”

Computer memory from the ground up (part 1)

Disclaimer This is an introductory post about how memory and CPU work together. Thus I have simplified some concepts and skipped over others in order to keep this post easy to follow. If you are an specialist and work developing OS, bootloaders or BSPs, then you will find this content very basic. In these daysContinue reading “Computer memory from the ground up (part 1)”