os
.ini is the file extension for initialization files. These files are used to store configuration settings for various programs, including operating systems, applications, and web servers. The format of a .ini file is simple and easy to read, with sections and properties separated by equal signs (=). A .ini file typically consists of sections, which are […]
What is Cross Compilation? Typically any desktop or server application have almost the same development platform (CPU + OS — that runs your build) and the target platform (CPU + OS — that runs your production application) are the same. Platform is nothing but the combination of CPU architecture, and Operating System. The process of building […]
Most of us know about design patterns. But let me give the crux of — what a design pattern is? before getting into the topic. Design Patterns are the set of solution to typical and most commonly occurring problems in designing software program. They are mostly related to object orient design but not restricted to OOD. […]
System calls are used by user programs in order get service from the operating system. Some of the popular system calls are we normally use are open, read, write, close, wait, exec, fork, exit, and kill. There are usually 100’s of system call available in OS. For example, Linux has 300+ system calls. Why we […]
What is a device driver? Device driver is simply a program which executes in kernel mode (unrestricted mode) interacting directly with hardware of the corresponding device. In the previous post we discussed about the different modes (restricted and unrestricted) of operation. They mainly do all the talking/interaction with raw hardware as part OS. Why we need them? […]
As we all know that CPU (micro-processor) executes all the instructions. Most of the modern architectures support at least 2 modes of CPU operation. Even if architecture supports more than 2 modes, they are usually grouped under 2 modes to have compatibility (of OS — across all machines). Mode 1 — Every operation possible is allowed […]