Research and an Implemention of the Iterrupt Mechanism of X86Family CPUs
- Author
- PeiYaLi
- Advisor
- ChengZuoPing
- School
- Beijing Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 93
- Citations
- 1
Abstract
As the development of Telecom Added Value Service, such as internet, web conferencing, video on demand, people begin to realize that the situation that most servers of the telecom industry are the RISC server is changing. The telecommunications is the traditional mission-critical industries. Telecommunication system not only deal with a huge amount of information every day, but the operator also require the system to run7×24hours uninterrupted without failure, so there is a high stability demand on the system. The telecommunications information network system’s core components, the servers, to be high performance and high reliability, therefore the RISC server is often selected the telecommunication industry business system platform. In recent years, many cores x86server is developing rapidly, the performance is almost comparable with the RISC, it has other advantages like more scalability and lower cost, that makes x86server in the telecommunication industry usher to new opportunities. The rapid growth population of Chinese internet users, mobile users and broadband internet users bring not only to the operators with new challenges, but also to the x86servers with new opportunities. In2010, three major operators, China Mobile, China Telecom, China Unicom have accelerated the pace of cloud computing research, x86servers provide the cloud computing with a new solution.However, the x86, the present of CISC processors, which dominate the whole processor market, the key technologies of the x86processors is grasped in the few foreign companies. The domestic research little, and are concentrated in the industry control and embedded processors for the low-end market, but almost no research on the processor which is compatible the newest x86processor.The program is to design a fully x86-compatible core. My work is to describe the details of the interrupt mechanism. The design and parts of the verification data was present. The main work of this paper is as follows:1. Based on the x86processor architecture, get the interrupt control transfer process by reading the interrupt relevant parts of the intel and AMD’s manual. Through learning the x86cpu simulator bochs and accessing to large amounts data, do a detailed introduction for the interrupt control transfer under in all modes. 2. Complete the interrupt control transfer under the Real-Address Mode, Protected Mode, Virtual-8086Mode and Long Mode(IA-32e)’s RTL-level design using Verilog HDL.3. To complete the whole project is absolutely long term work. Real-Address Mode interrupt control transfer module has passed in the function verification. That is during the process of starting the Operating System, all interrupt handled by the design. Its consequences are same to the bochs. In the Protected Mode, much protect mechanism is added, such as paging, segmentation, which make the interrupt more complex. The function verification needs more effort. The interrupt priority module also has been simulated.
Table of contents
Thanks 5-6
Chinese abstract 6-7
ABSTRACT 7-11
1 Introduction 11-14
1.1 background topics and sources domestic and foreign research status quo 1.2 11-12
12-13
1.3 The main work and content arrangement 13-14
2 interrupt mechanism function under 2.1 real mode 14-31
; nbsp 14-15
2.2 protected mode 15-19
2.2.1 same privileges control conversion stage under 16-17
2.2.2 under different privilege levels 17
2.2.3 privilege level checks 17-19
2.2 .4 return to the interrupted program 19
2.3 virtual 8086 mode 19-25
2.3.1 virtual 8086 mode features 19-20
2.3 under .2 virtual mode interrupt classification 20
2.3.3 class : 8086 under the virtual hardware interrupt or exception handling 20-22
2.3.4 Type II : Virtual 8086 under maskable hardware interrupt handling 22-24
2.3.5 the third category : the virtual mode software interrupt handling 24-25
2.4 long mode long mode interrupt 25-30
2.4.1 long mode sub mode interrupt nbsp 25-26
2.4.2 long mode ; 26-30 <br / > 2.5 Summary 30-31
3 bochs interrupt implementation analysis basic functions 31-40
3.1 bochs interrupt the 32-35 <br / > 3.1.1 for each mode interrupt 32-33
3.1.2 interrupt function : interrupt 33
3.1.3 abnormal functions : exception 33-35
3.2 bochs software interrupt 35
3.3 bochs interrupt priority 35-38
3.3.1 knowledge prepare 35-37
3.3.2 bochs interrupt priority implementation analysis 37-38
3.4 bochs interrupt return 38
3.5 Summary 38-40
4 interrupt mechanism design and verification 40-55
4.1 chip module division 40-41
4.2 summarizes the overall design of interruption 41-44 <br / > 4.2.1 System registers 41-43
4.2.2 interrupt design 43-44
4.3 int interrupt control transfer module design 44-50 interruption
4.3.1 real paradigm shift interrupt 44-45
4.3.2 protected mode transfer design 45-46
long mode under 4.3.3 the interrupt control transfer module design interrupt control transfer module 46-48
4.3.4 virtual mode design 48-50
4.4 interrupt Control module int_con design 50
4.5 validation 50-53
4.5.1 real mode 51-52
4.5.2 interrupt Control module int_con 52-53
4.6 chapter Summary 53-55
5 summary and Outlook 55-56
5.1 paper summarizes 55
5.2 job Outlook 55-56
References 56-58
Author Biography 58-60
dissertation dataset 60
Related dissertations
- Development of Flight Control System Software for UAV Based on VxWorks
- The Interrupt Mechanism of Real-time Operating System on ARM
- Research on embedded SPACE operating system
- The Transplant of Embedded Real-time Operating System FreeRTOS on x86Platform
- Design and Optimization Based on Bochs for the Front-End Architecture of X86 Single-Core Processor
- Adaptive Interrupt-free System in High Performance I/O Virtualization
- Design of HINOC Verification Platform Based on PXA270Platform and Embedded Linux System
- Design and Realization of Multi-parameter Monitoring System in Mine Environment Based on Mesh Structured Wireless Sensor Network
- Research on VM-based Incremental Checkpoint and Execution Replay
- X microprocessor internal interrupt handling mechanism design and verification
- Research on Operating System Level Virtualization Based on Dynamic Binary Transalation
- SoftWare Development of a Hand-Held Mold Vibration-Detecting Instrument Based on μC/OS-Ⅱ
- Research and Development of the Pavement Roughness Auto Detection System Based on Laser
- Embedded dynamically configurable real-time operating system, development of the HDC-ReOS - Memory Management
- The Research and Development on Speedometers and Engine Tachometers Aging & Test-bed
- Network processor core architecture research
- Of Guarantee Period
- Study on Some Single-Machine On-line Scheduling Problems
- 8-bit RISC microcontrollers VLSI Design and Analysis
- Key Techniques Research on Windows CE Based Open-Architecture CNC System