Configuration space access method and device, architecture and storage medium

A technology of configuration space and access method, applied in the field of communication, can solve the problem that the address space cannot access the PCI/PCIe device configuration space, etc.

Active Publication Date: 2019-04-19
LOONGSON TECH CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] UEFI firmware accesses the configuration space of PCI / PCIe devices based on X86 and ARM platforms. It accesses the configuration space through two sets of I / O registers provided by the CPU. At present, in microprocessors without internal interlocked piped stages, MIPS) platform cannot use address space to access PCI / PCIe device configuration space

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
  • Configuration space access method and device, architecture and storage medium
  • Configuration space access method and device, architecture and storage medium
  • Configuration space access method and device, architecture and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0044] The core idea of ​​the embodiment of the present invention is to use the first driver, that is, the address space access driver, to map the PCI / PCIe device configuration space to the address space reserved by the CPU, so as to realize the configuration of the PCI / PCIe device configuration space by the CPU using UEFI. access.

[0045] refer to figure 1 , shows a flow chart of the steps of an embodiment of a method for accessing a configuration space of the present invention, which is applied to a processor architecture with bridge slices. The processor architecture with bridge slices includes a processor and a bridge slice. The processor passes The HT (English: Hyper Transport, Chinese: end-to-end bus technology) bus is con...

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 embodiment of the invention provides a configuration space access method and device, architecture and a storage medium. The processor architecture with the bridge chip comprises a processor and the bridge chip, the processor is connected with the bridge chip through an HT bus; an address space corresponding to the PCI/PCIe equipment configuration space is reserved in an address window in the HT interface of the processor; The method comprises the following steps: loading a first driver by using a unified extensible firmware interface, wherein the first driver is a driver for accessing a PCI/PCIe equipment configuration space through an address space reserved on a processor; According to the first driver, installing an access protocol for accessing the PCI/PCIe equipment configuration space; And according to the access protocol, realizing an access operation on the PCI/PCIe equipment configuration space by utilizing the first driver. Therefore, the access of the CPU to the PCI/PCIeequipment configuration space can be realized through the address space by utilizing the first driver, so that the realization mode of the access to the PCI/PCIe equipment configuration space is expanded, and the use of the bridge chip is ensured.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a configuration space access method, a configuration space access device, a processor architecture and a storage medium. Background technique [0002] At present, the main function of UEFI (Chinese: Unified Extensible Firmware Interface; English: Unified Extensible FirmwareInterface) firmware is to initialize the host hardware device and boot the operating system, PCI (Chinese: Peripheral Component Expansion Interface; English: Peripheral Component Interconnect) The / PCIe (Chinese: Peripheral Component Rapid Expansion Interface; English: Peripheral Component Interconnect Express) device is an important peripheral device of the host, and the initialization of the PCI / PCIe device has become one of the important functions of the UEFI firmware. PCI / PCIe The initialization of the device needs to access the configuration space of PCI / PCIe. [0003] UEFI firmware accesse...

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): G06F9/4401G06F13/10
CPCG06F9/4411G06F13/102G06F2213/0024G06F2213/0026
Inventor 吴胜张宝祺黄帅
Owner LOONGSON TECH CORP
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