Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interrupt realizing method for Loongson central processing unit (CPU) mainboard

A technology of Godson and mainboard, applied in the field of mainboard bios and interrupt realization, can solve problems such as interrupt distribution, and achieve the effect of ensuring normal operation

Active Publication Date: 2014-04-23
中科可控信息产业有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In order to obtain a bios and linux kernel that can run on the Loongson motherboard, and solve the problems of address mapping, PCI configuration space reading and writing, and interrupt distribution, the invention provides a method for realizing the Loongson CPU motherboard bios and interrupt system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interrupt realizing method for Loongson central processing unit (CPU) mainboard
  • Interrupt realizing method for Loongson central processing unit (CPU) mainboard
  • Interrupt realizing method for Loongson central processing unit (CPU) mainboard

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 1. Conversion of Loongson CPU and Northbridge address mapping

[0041] In the x86 platform, the address of the system is divided into physical address, bus address and virtual address. In Linux, the 4GB (virtual) memory of a process is divided into user space and kernel space. The user space is distributed from 0 to 3GB (that is, PAGE_OFFSET, which is equal to 0xC0000000 in 0X86), and the remaining 1G is the kernel space. Programmers can only use virtual addresses. Each process in the system has its own private user space (0~3G), which is invisible to other processes in the system. The address when the CPU issues an instruction fetch request is the virtual address of the current context, and the MMU then finds the physical address of the virtual address from the page table to complete the instruction fetch. Moreover, the x86 platform uses a technology called memory mapping (MMIO), which is part of the PCI specification. The IO device port is mapped to the memory spac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a basic input / output system (bios) realizing method for a Loongson central processing unit (CPU) mainboard. The method comprises the following steps of: performing address mapping conversion on the Loongson CPU and a north bridge chip; performing mapping conversion on the addresses of direct memory access (DMA) equipment; configuring peripheral command indicator (PCI) address space; debugging after fusing a coreboot and a process monitor (pmon) into a new bios; and debugging a kernel interrupt system. By the method provided by the invention, the problem of address mapping conversion between the Loongson CPU and advanced micro device (AMD) bridge piece on a BIOS layer, the problem of DMA equipment addressing in the PMON, the problem of reading and writing in PCI configuration space of a Loongson blade and the problems of transplanting and debugging from the coreboot to the pmon are solved. Moreover, the interrupt processing mode of the external equipment of the Loongson mainboard ensures the normal operation of the external equipment on the Loongson mainboard.

Description

technical field [0001] The invention relates to the realization of mainboard bios and interruption, in particular, provides a method for realizing Loongson CPU mainboard bios and interruption. Background technique [0002] Loongson 3 series CPUs include CPUs with 4 cores 3A, 8 cores 3B, 16 cores 3C, and other series of CPUs developed later. [0003] Loongson-3 CPU is a general-purpose multi-core CPU, adopts MIPS architecture, can fully realize the functions of Intel and AMD X86 architecture CPUs, and has unique advantages in energy saving, security, etc., although it is slightly better than X86 CPU in terms of performance It is a little behind, but it can completely replace the X86 CPU in most areas. [0004] Although Loongson 3A and 3B CPUs have been released, they have not solved the key problem of "use", that is, they have not found north-south bridge chipsets and peripherals that are compatible with Loongson CPUs and can work normally. It is like a person who has a brai...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 邵宗有刘新春杨晓君尹宁宁郑臣明李永成李丰旺
Owner 中科可控信息产业有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products