Address mapping method for large memory devices of Loongson 3A platforms

An address mapping and memory address technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as failure, affecting the normal operation of the system, unable to operate the Loongson 3A platform normally, etc., to achieve the effect of expanding the scope of application

Active Publication Date: 2012-08-22
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, these PCI / PCIE devices with large memory will fail during the initialization process, so they cannot run normally on the Loongson 3A platform, which ultimately affects the normal operation of the system and limits the industrial promotion and application of the Loongson 3A platform

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
  • Address mapping method for large memory devices of Loongson 3A platforms
  • Address mapping method for large memory devices of Loongson 3A platforms
  • Address mapping method for large memory devices of Loongson 3A platforms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The implementation steps of the address mapping method of the Loongson 3A platform large memory device in the embodiment of the present invention are as follows:

[0027] 1) For each CPU core of the Loongson 3A processor, move the PCI memory space in the CPU address space out of the address range of the system register, and adjust the size of the PCI memory space;

[0028] 2) Establish a mapping between the moved PCI memory space in the CPU address space and the memory space in the global address space, and establish a mapping between the memory space in the global address space and the memory space in the HT address space;

[0029] 3) Update the PCI memory resource structure of the operating system according to the moved PCI memory space in the CPU address space.

[0030] Step 1) The detailed steps of moving the PCI memory space in the CPU address space out of the address range of the system register and adjusting the size of the PCI memory space include:

[0031] A) ...

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 discloses an address mapping method for large memory devices of Loongson 3A platforms, which comprises the implementation steps: 1) aiming at each CPU (central processing unit) core of a Loongson 3A processor, moving a PCI (peripheral component interconnect) memory space in a CPU address space out of an address range of a system register, and adjusting the size of the PCI memory space; 2) establishing a mapping relation between the PCI memory space being moved in the CPU address space and a memory space in a global address space, and establishing a mapping relation between the memory space in the global address space and a memory space in an HT (hyper transport) address space; and 3) according to the PCI memory space being moved in the CPU address space, updating a PCI memory resource structure body of an operating system. According to the invention, the large memory PCI/PCIE (peripheral component interconnect express) device support of a Loongson 3A platform can be realized, the popularization and application of the Loongson 3A platform can be promoted, and the method has the advantages of good compatibility and wide application range.

Description

technical field [0001] The invention relates to the field of computers using Loongson processors, in particular to an address mapping method for a Loongson 3A platform large memory device. Background technique [0002] The Loongson 3A processor is a general-purpose 64-bit processor developed by the Institute of Computing Technology, Chinese Academy of Sciences and compatible with the MIPS instruction set. Such as figure 1 As shown, the Loongson 3A processor adopts a multi-core processor architecture, and 4 CPU cores are integrated inside the chip. The overall architecture of the Loongson 3A processor chip is based on two-level interconnection: the first-level internal interconnection uses a 6x6 first-level crossbar switch, and the first-level crossbar switch is used to implement four CPU cores (core 0 to core 3), four Interconnect between the L2 cache and the two HT controllers. The second-level internal interconnection adopts a 5x4 two-level crossbar switch, and the two-...

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 Applications(China)
IPC IPC(8): G06F12/10G06F12/02
Inventor 吴庆波邓林文邵立松单晋奎张铎周剑孙立明赵江涛
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products