Linux Torvalds developed the first version of Linux in 1991 as an operating system for computers powered by the intel microprocessor. Started as a terminal emulator Linux evolved over a period. What is an operating system ? The operating system is considered as a part of the system responsible for basic use and administration. This includes the kernel and device drivers, boot loaders, command shell or other user interface and basic file and system utilities. The term system, in turn refers to the operating system and all the application running on top of it. The user interface is the outermost portion of the operating system, the kernel is the innermost. The kernel sometimes referred as the supervisor, core or internals of the operating system. Typical components if the kernel are interrupt handlers to service interrupt requests, a scheduler to share the processor time among multiple processes, a memory management system to manage process addr
Endianness refers to the sequential order in which bytes are arranged into larger numerical values when stored in memory. When we consider any multi byte value we know which is its LSB ( Least Significant Byte) and which is MSB (Most Significant Byte) based on the arrangement of LSB or MSB in lower address of the memory, the endianness is defined. There are two ways in which multi byte values are stored in memory Little Endian Big Endian Little Endian : If the lower byte (LSB) is stored in lower address of the memory this arrangement is called as little endian Big Endian : If the Higher byte (MSB) is stored in lower address of the memory this arrangement is called as Big Endian. For example, Consider a number 0x01020304, here least significant byte is 04 and most significant byte is 01. This is how the arrangement in memory with two different endianness. 0x100 0x101 0x102 0x10