Tags » Linux Kernel

Why sometimes first members of enums in linux kernel are initialized with 0

I’ve noticed in linux kernel source code, that some enums definition have first member of enum explicitly initialized with 0 as follows:

enum i2c_adapter_type {
    I2C_ADAPTER_SMBUS = 0,
    I2C_ADAPTER_VGADDC,
    I2C_ADAPTER_PANEL,
    I2C_ADAPTER_DESIGNWARE_0,
    I2C_ADAPTER_DESIGNWARE_1,
};
… 356 more words
Linux

Compiling Linux Kernel

COMPILING LINUX KERNEL
Step # 1 Get Latest Linux kernel code

Visit http://kernel.org/ and download the latest source code. File name would be linux-x.y.z.tar.bz2, where x.y.z is actual version number. 434 more words

Linux Kernel

Paging in Linux on x86 - part 2

Our last post left the story of paging in Linux on x86 incomplete. Today we will cover that. This is a vast topic whose tentacles go far and wide into almost all aspects of the kernel. 520 more words

80x86 segmentation & what Linux does with it

Background:

Address space segmentation basically means dividing all possible virtual addresses into groups – segments – and applying some properties on those segments, e.g. privilege level required to access them. 336 more words

Google has given approbation to LINUX Kernel Version in ANDRIOD 8

Google,which ┬áis one of the best search engine known for it’s quality from decades and since then it’s bringing revolution in the technology by inventing new things everyday and it’s… 277 more words