原创 Understanding the linux kernel-ch4-Nested Execution

An interrupt handler may preempt both other interrupt handlers and exception handlers.  Conversely, an excepti

原创 Understanding the linux kernel-ch4-Interrupt Handling

Interrupt handling depends on the type of interrupt.  three main classes of interrupts: I/O interrupts An I/O devi

原创 Understanding the linux kernel-ch4-Initializing the Interrupt Descriptor Table

Interrupt, Trap, and System Gates Linux uses a slightly different breakdown and terminology from Intel  wh

原创 從內核調度想到的

最近重新讀了《linux內核設計於實現》的進程調度章節,對於時間片的重新計算和多cpu的負載平衡,很受啓發: 1,分而治之。對複雜問題,把其分散到各個細小的環節去實現,降低了複雜度,性能上有所提升,也不容易出錯。 2,步步爲營。這是從lo

原创 Linux 啓動過程

首先讓我們看看傳統的啓動流程:加載並運行Master Boot Record(MBR)主引導區內容(如lilo等)。然後掃描分區表,定位活動分區,並將

原创 Understanding the linux kernel-ch4-Exception Handling

Exception handlers have a standard structure consisting of three steps: 1.     Save the contents of most registers i

原创 寫給Linux內核新手-關於Linux內核學習的誤區

 轉自:http://linux.chinaunix.net/bbs/viewthread.php?tid=626486&extra=page%3D5%26amp%3Bfilter%3Ddigest    先說句正經的:其實我沒資格寫這篇

原创 內核版本察看方法

 1,uname -a 2,cat /proc/version 點贊 收藏 分享 文章舉報 cassper 發佈了58 篇原創文章 · 獲贊 0 · 訪問量 13萬+ 私信

原创 Linux下的ELF文件格式簡介

 發佈時間:2002.01.26 12:20     來源:開放系統世界    作者:杜昆                              

原创 Understanding the linux kernel-ch7-Process Scheduling

  7.3 Data Structures Used by the Scheduler · The runqueue Data Struc

原创 NAND和NOR flash的區別

NOR和NAND是現在市場上兩種主要的非易失閃存技術。Intel於1988年首先開發出NOR flash技術,徹底改變了原先由EPROM和EEPROM

原创 Understanding the linux kernel-ch6-Timing Measurements

  6.2 The Linux Timekeeping Architecture · The kernel

原创 8259A PIC

    寄存器:  IRR:Interrupt Request Register,中斷請求寄存器,共8bit,對應IR0~IR7 八個中斷管腳。當某個管腳的中斷請求到來後,若該管腳沒有被屏蔽,IRR 中對應的bit 被置一。表示PIC 已

原创 Linux內存:內存管理的實質

轉自:http://linux.chinaunix.net/bbs/thread-1003872-1-1.html1. 內核初始化:     * 內核建立好內核頁目錄頁表數據庫,假設物理內存大小爲len,則建立了[3G--3G+len]:

原创 linux 2.6.11 bootsect.s解讀

/* * bootsect.S Copyright (C) 1991, 1992 Linus Torvalds * * modified by Drew Eckhardt * modified by Bruce Evan