Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for allocating resources based on type of PCI device, and medium

A PCI device and resource allocation technology, which is applied in the field of resource allocation according to the type of PCI device, can solve the problems that the graphics card cannot be used normally and cannot realize functions, etc.

Active Publication Date: 2018-11-13
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] PCI devices mainly use two types of resources, one is IO resources and the other is memory resources. Each PCI device needs to allocate different resource types according to the type of use actually used. For example, for a Super IO chip, it only uses IO resources, but PCI devices like network cards and consumer graphics cards use both IO resources and memory resources
[0003] In the specific implementation, since the provided IO resources are limited during the boot process of executing the BIOS, and there is a limit of 64k, and resource allocation is carried out according to the allocation of 4K IO resources for each PCI device, therefore, when the PCI When the number of devices is 16 or more, the corresponding functions cannot be realized. For example, when the PCI device is a graphics card, the graphics card cannot be used normally.

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
  • Method and apparatus for allocating resources based on type of PCI device, and medium
  • Method and apparatus for allocating resources based on type of PCI device, and medium
  • Method and apparatus for allocating resources based on type of PCI device, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0039] The core of the present invention is to provide a method, device and medium for allocating resources according to the type of PCI equipment, which are used to ensure the availability of the PCI equipment when the PCI equipment is allocated resources.

[0040] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below with reference to the acc...

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 a method and apparatus for allocating resources based on the type of a PCI device, and a medium. The method comprises the following steps: in an process of executing startup ofa BIOS, obtaining the information of a Switch chip captured in a PCI enumeration operation; then, judging whether the PCI device is connected with a CPU according to the information of the Switch chip; if yes, canceling an operation of allocating IO resources to the PCI device; and if no, allocating the IO resources and memory resources to the PCI device according to a predetermined allocation rule. In the method, whether the PCI device is connected with the CPU is judged according to the information of the Switch chip, and then whether the IO resources need to be allocated is determined, therefore, compared with the resource allocation method in the prior art, the method has the advantages that when the IO resources are insufficient, the allocation of the IO resources to the PCI device is selectively canceled, and the normal use of the PCI device can be guaranteed.

Description

Technical field [0001] The present invention relates to the technical field of PCI equipment, and in particular to a method, device and medium for allocating resources according to the type of PCI equipment. Background technique [0002] PCI devices mainly use two types of resources, one is IO resources, and the other is memory resources. Each PCI device needs to allocate different resource types according to the actual use type. For example, for Super IO chips, it only uses IO resources, but PCI devices such as network cards and consumer graphics cards use both IO resources and memory resources. [0003] In the specific implementation, since the IO resources provided during the boot process of the BIOS are limited and there is a 64k limit, the resource allocation is performed according to the 4K IO resources allocated to each PCI device. Therefore, when the PCI When the number of devices is 16 or more, the corresponding functions cannot be implemented. For example, when the PCI d...

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
IPC IPC(8): G06F9/50G06F9/4401G06F13/12G06F13/42
CPCG06F9/4411G06F9/5011G06F9/5016G06F13/122G06F13/4221G06F2213/0024G06T1/20G06T1/60G06F13/4022
Inventor 孙秀强
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD