WO2012163231A1 - 一种地址资源分配方法及存储器 - Google Patents

一种地址资源分配方法及存储器 Download PDF

Info

Publication number
WO2012163231A1
WO2012163231A1 PCT/CN2012/075772 CN2012075772W WO2012163231A1 WO 2012163231 A1 WO2012163231 A1 WO 2012163231A1 CN 2012075772 W CN2012075772 W CN 2012075772W WO 2012163231 A1 WO2012163231 A1 WO 2012163231A1
Authority
WO
WIPO (PCT)
Prior art keywords
pci
stored
pci device
function
acquired
Prior art date
Application number
PCT/CN2012/075772
Other languages
English (en)
French (fr)
Inventor
王元钢
俞柏峰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012163231A1 publication Critical patent/WO2012163231A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method and a memory for allocating a peripheral device interconnection (PCI, Per Iphera Component Interconnect) bus device address resource.
  • PCI peripheral device interconnection
  • PCI Per Iphera Component Interconnect
  • BIOS Bas i c Input Output System
  • BIOS Bas i c Input Output System
  • BIOS Bas i c Input Output System
  • the BIOS writes to the base address (Base Addres s) register of the PCI device (or is expressed as a 32-bit wide hexadecimal number OxFFFFFF). After receiving the instruction, the PCI device feeds back to the address resource required by the BIOS itself. Size, the BIOS reads the number of resources, and accordingly sets the access resource base address (Base Addres s) of the device. After the base address is set, the BIOS can access the PCI device's registers with base address + offset and do more configuration.
  • the PCI device feeds back the assigned base address of its own
  • the BIOS allocates a segment to the corresponding PCI device in the address space that has not been allocated by the entire system according to the allocated base address of the feedback, that is, writes the base address assigned to it to the base address register of the PCI device.
  • the inventor of the present invention finds that the above address resource allocation process is executed every time the power is turned on, and when the system is expanded and the number of PCI devices increases, the process takes more time, thereby increasing the boot time, which is not conducive to the rapid startup of the system. Summary of the invention
  • the embodiment of the invention provides a method for allocating address resources, which can reduce the boot time and accelerate the system startup.
  • An address resource allocation method includes:
  • the query obtains Whether the number and model of PCI devices are consistent with the number and model of pre-stored PCI devices;
  • the address resources are allocated to the PCI devices according to the base addresses allocated by the pre-stored PCI devices.
  • a memory comprising:
  • the acquisition unit the device number and the function number of the PCI device, the number and model of the PCI device, the query unit, the device number and the function number of the PCI device acquired by the acquisition unit, and the device number and function of the pre-stored PCI device
  • the number is the same, whether the number and model of the PCI devices acquired by the query obtaining unit are consistent with the number and model of the pre-stored PCI devices;
  • An address allocation unit configured to: when the query unit queries that the number and model of the acquired PCI devices are consistent with the number and model of the pre-stored PC I devices, the base address that is required to be allocated according to the pre-stored PC I device is PCI.
  • the device allocates an address resource.
  • the embodiment of the present invention adopts the device number and the function number of the peripheral device to interconnect the PCI device, the number and model of the PCI device, and the device number and the function number of the obtained PCI device are compared with the device number and function number of the pre-stored PCI device.
  • the number and model of the PCI devices obtained by the query are consistent with the number and model of the pre-stored PCI devices; if the number and model of the acquired PCI devices are consistent with the number and model of the pre-stored PCI devices,
  • the base address that the stored PCI device needs to allocate is the address resource allocated to the PCI device.
  • the address resource allocation method provided by the embodiment of the present invention does not need to query the PCI device for each address resource after each booting, and waits for the PCI device to reply, and then performs address resource allocation, which can be reduced. Boot time, accelerate system startup. DRAWINGS
  • FIG. 1 is a schematic diagram of an embodiment of an address resource allocation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an application scenario of an address resource allocation method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an embodiment of a memory according to the present invention
  • FIG. 4 is a schematic diagram of another embodiment of a memory of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a memory of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a memory of the present invention. detailed description
  • the embodiment of the invention provides a method for allocating address resources, which can reduce the boot time and accelerate the system startup.
  • the embodiment of the invention also provides a corresponding memory. The details are described below separately.
  • an embodiment of an address resource allocation method of the present invention includes:
  • the BIOS of the basic input/output system completes the initialization of the CPU, memory, etc., and enters the P section of the PCI device initialization;
  • bus number 0
  • find all PCI devices layer by layer assign a bus number to them, write "-1" to the base address register of each PCI device, and wait for PCI device processing.
  • the PCI device feeds back the base address of the allocation required by the BIOS, and the BIOS allocates a segment to the corresponding PCI device in the address space that has not been allocated in the entire system according to the base address allocated by the feedback, that is, to the base address register of the PCI device. Write to the base address assigned to it.
  • PCI device After booting up, you can get the base address that each PCI device needs to allocate, and find all the layers.
  • PCI device you can obtain the device number and function number of each PCI device, the number and model of PCI devices; the base address to be allocated for each PCI device and the device number and function number of each PCI device.
  • the number and model of PCI devices correspondingly stored in the memory, to facilitate direct reading after subsequent boot.
  • the number and model of PCI devices are passed through the PCI device manufacturer identifier (VID, Vendor)
  • the number and type of PCI devices obtained are: Get the manufacturer of the PCI device An identifier, a device identifier, and a version number; and store the manufacturer identifier, device identifier, and version number in correspondence with the device number and function number of the PCI device.
  • the memory After the first boot, the memory has the device number and function number of the pre-stored PCI device, the number and model of the PCI device, and the base address to be allocated for the pre-stored PCI device;
  • step 103 When the device number and the function number of the obtained PCI device are the same as the device number and the function number of the pre-stored PCI device, whether the number and model of the obtained PCI device are consistent with the number and model of the pre-stored PCI device; If they are consistent, go to step 103.
  • the memory has the device number and function number of the PCI device stored at the first boot, the number and model of the PCI device, and the device number and function number of the PCI device.
  • the device number and function number of the previously stored PCI device are the same, only the number and model of the PCI device need to be changed. Regardless of the quantity change or the model change, it is considered that the number and model of the PCI device are inconsistent;
  • the PCI device includes a PCI root bridge device and a PCI extrapolation device.
  • the PCI root bridge device has an external slot.
  • the PCI extrapolation device is plugged into the PCI root bridge device.
  • the PCI root bridge device does not change in number and model. , only the PCI extrapolation device changes.
  • the following methods can be used to identify PCI plug-in devices, and a list of PCI devices is recorded.
  • VID and DID on the table will be given whether the PCI device is a PCI root bridge device, the PCI root bridge device Is there an external slot on it?
  • the bus number corresponding to each slot can be determined by looking at the Root Port register information on the PC I root bridge device. Just determine which devices are connected to the Root Port to determine the PC I.
  • the extrapolation device wherein the table for determining the PC I extrapolation device is as follows: Table 1
  • the address resources of the PCI device are allocated according to the base address allocated by the pre-stored PCI device.
  • the number and model of the acquired PCI devices are the same as the number and model of the pre-stored PCI devices
  • the number and model of the PCI devices that are queried at the time of power-on are the same as the number and model of the PCI devices at the previous boot.
  • the address resource is allocated to the PCI device according to the base address allocated according to the pre-stored PCI device, and the corresponding address resource allocated for the PCI device is written into the PCI device base address register.
  • the embodiment of the present invention obtains the device number and the function number of the PCI device, and the number and model of the PCI device.
  • the query is obtained.
  • the number and model of PCI devices and the number of pre-stored PCI devices and Whether the models are consistent; if the number and model of the acquired PCI devices are consistent with the number and type of pre-stored PCI devices, the address resources are allocated to the PCI devices according to the base addresses allocated by the pre-stored PCI devices.
  • the address resource allocation method provided by the embodiment of the present invention does not need to query the PCI device for each address resource after each booting, and waits for the PCI device to reply, and then performs address resource allocation, which can be reduced. Boot time, accelerate system startup.
  • the method further includes: determining whether the device number and the function number of the acquired PCI device are the same as the device number and the function number of the pre-stored PCI device. And determining whether the device number and the function number of the obtained PCI device are the same as the device number and the function number of the pre-stored PCI device, and determining whether the function configuration item of the obtained PCI device changes, and the function configuration item is the affected device number.
  • the function configuration options include AHCI of the hard disk, RAID, and HDMI of the graphics card.
  • the base allocated by the PCI device is obtained.
  • An address, and the base address to be allocated of the acquired PCI device is stored corresponding to the device number and the function number of the obtained PCI device; and the base address allocated by the pre-stored PCI device and the device number of the pre-stored PCI device are deleted. And function number.
  • the number and model of the acquired PCI devices are inconsistent with the number and model of the pre-stored PCI devices, obtain a base address that is required to be allocated by the PCI device, and The base address allocated to the acquired PCI device is stored corresponding to the number and model of the acquired PCI device; and the base address required for the pre-stored PCI device and the number and model of the pre-stored PCI device are deleted.
  • an embodiment of an application scenario of the present invention includes:
  • bus number 0
  • BIOS allocates a segment to the corresponding PCI device in the address space that has not been allocated in the whole system according to the base address allocated by the feedback, that is, writes to the base address register of the PCI device. Enter the base address assigned to it.
  • the base address required for each PCI device can be obtained.
  • the device number and function number of each PCI device can be obtained, and each obtained PCI device is obtained.
  • the base address to be assigned and the device number and function number of each PCI device are stored in the memory.
  • the storage list is as follows: Table 2
  • step 203 Determine whether a function configuration item of the PCI device changes. If yes, go to step 206. If no, go to step 204.
  • the function configuration item is an option that affects the device number and the function number, and the function configuration options include AHCI of the hard disk, RAID, and HDMI of the graphics card.
  • the function configuration option affects the device number and function number of the PCI device. If the function configuration option changes, the device number and function number of the PCI device are different. If the function configuration option does not change, the device number and function number of the PCI device are the same.
  • step 204 Query whether the number and model of the obtained PCI devices are consistent with the number and model of the pre-stored PCI devices. If yes, go to step 205. If no, go to step 207.
  • the device number and function number of the PCI device are the same as the device number and function number of the pre-stored PCI device, and then the number and model of the acquired PCI device and the pre-stored PCI are queried.
  • the number and model of the device are the same, that is, to check whether there is a new PCI external device, the external device plugged into the Root Port and the VID and DID in the PCI device stored in Table 3 when it was last turned on.
  • VID, DID and RID there are different VID, DID and RID, indicating that the model of the new PCI external device or PCI external device has changed.
  • the base address allocated by the PCI device is re-queried, and waits for the return.
  • the address resource is re-allocated for each PCI device, and the base address and the device number and function number of each PCI device are acquired and stored at the same time, and each PCI device stored before is deleted.
  • the base address and the device number and function number of each PCI device are acquired and correspondingly stored, the number and model of the PCI device, and the PCI device is acquired after the next boot.
  • the number and type of PCI devices are the same. If they are consistent, the address resources of the PCI devices are allocated according to the base address allocated by the pre-stored PCI devices.
  • the address resource allocation method provided by the embodiment of the present invention does not need to query the PCI device for each address resource after each booting, and then waits for the PCI device to reply, and then performs address resource allocation. Reduce boot time and speed up system startup.
  • an embodiment of the memory of the present invention includes: an obtaining unit 301, a query unit 302, and an address assigning unit 303.
  • the obtaining unit 301 is configured to obtain a device number and a function number of the PCI device, and a quantity and a model of the PCI device;
  • the query unit 302 is configured to: when the device number and the function number of the PCI device acquired by the obtaining unit 301 are the same as the device number and the function number of the pre-stored PCI device, the number and model of the PCI device acquired by the query obtaining unit 301 are pre-stored. Whether the number and type of PCI devices are consistent;
  • the address allocation unit 303 is configured to: when the query unit 302 queries that the number and model of the acquired PCI devices are consistent with the number and type of the pre-stored PCI devices, the base address that is allocated according to the pre-stored PCI device is PCI. The device allocates an address resource.
  • the acquiring unit 301 acquires the device number and the function number of the PCI device, the number and model of the PCI device, and the query unit 302, the device number and the function number of the PCI device acquired by the obtaining unit 301, and the pre-stored PCI device.
  • the device number and the function number are the same, whether the number and model of the PCI devices acquired by the query obtaining unit 301 are consistent with the number and model of the pre-stored PCI devices;
  • the address allocation unit 303 when the query unit 302 queries that the number and model of the acquired PCI devices are consistent with the number and model of the pre-stored PCI devices, allocates the PCI device according to the base address allocated by the pre-stored PCI device. Address resource.
  • the address resource allocation method provided by the embodiment of the present invention does not need to query the PCI device for each address resource after each booting, and then waits for the PCI device to reply, and then performs address resource allocation. Reduce boot time and speed up system startup.
  • another embodiment of the memory of the present invention further includes: a storage unit 304.
  • the obtaining unit 301 is further configured to: when the first booting is started, acquire a base address that is required to be allocated by the PCI device; the storage unit 304 is configured to use the base address that the PCI device acquires acquired by the obtaining unit 301 and the obtained device number of the PCI device And the function number, the number and model of PCI devices are stored correspondingly.
  • another embodiment of the memory of the present invention further includes:
  • the obtaining unit 301 is further configured to obtain a manufacturer identifier of the PCI device, a device identifier and a version query unit 302, and is further configured to query the acquired manufacturer identifier, the device identifier and the version number of the PCI device, and the pre-stored PCI. Whether the device's manufacturer identifier, device identifier, and version number are the same.
  • the obtaining unit 301 acquires the manufacturer identifier, the device identifier and the version number of the PCI device; the query unit 302 queries the acquired manufacturer identifier, the device identifier and the version number of the PCI device, and the pre-stored PCI. Whether the device's manufacturer identifier, device identifier, and version number are the same.
  • another embodiment of the memory of the present invention further includes: a deleting unit 305
  • the obtaining unit 301 is further configured to acquire, when the device number and the function number of the acquired PCI device are different from the device number and the function number of the pre-stored PCI device, the base address that is required to be allocated by the PCI device;
  • the storage unit 304 is further configured to store, according to the device ID and the function number of the acquired PCI device, the base address that is required to be allocated by the acquiring unit 301;
  • the deleting unit 305 is configured to store, at the storage unit 304, a base address that needs to be allocated for storing the PCI device. After the device number and the function number of the acquired PCI device, the base address allocated by the pre-stored PCI device and the device number and function number of the pre-stored PCI device are deleted.
  • the acquiring unit 301 acquires the base address that the PCI device needs to allocate; the storage unit 304 The base address of the PCI device acquired by the obtaining unit 301 is stored in association with the device number and the function number of the acquired PCI device; the deleting unit 305 correspondingly stores the base address allocated by the PCI device and the acquired PCI device in the storage unit 304. After the device number and function number, the base address allocated for the pre-stored PCI device and the device number and function number of the pre-stored PCI device are deleted.
  • the pre-stored content is replaced, so that the next startup can be quickly started.
  • another embodiment of the memory of the present invention further includes:
  • the obtaining unit 301 is further configured to: when the number and model of the acquired PCI devices are inconsistent with the number and model of the pre-stored PCI devices, acquire a base address that is required to be allocated by the PCI device;
  • the storage unit 304 is further configured to store the base address allocated by the PCI device acquired by the obtaining unit 301 and the number and model of the acquired PCI device;
  • the deleting unit 305 is further configured to delete the base address and the pre-stored PCI device that are pre-stored by the PCI device after the storage unit 304 correspondingly stores the base address and the number of the acquired PCI devices. The number and model.
  • the acquiring unit 301 acquires the base address that the PCI device needs to allocate when the number and model of the acquired PCI device are inconsistent with the number and model of the pre-stored PCI device, and the storage unit 304 acquires the acquiring unit 301.
  • the obtained base address of the acquired PCI device is stored corresponding to the number and model of the acquired PCI device; after the storage unit 304 corresponds to the base address allocated by the PCI device and the number and model of the acquired PCI device, Delete the base address that is required for the pre-stored PCI device and the number and model of pre-stored PCI devices.
  • the number and model of the acquired PCI devices and the number and model of the pre-stored PCI devices are not When it is consistent, replace the pre-stored content, which is convenient for quick start at the next boot.
  • another embodiment of the memory of the present invention further includes: a determining unit 306.
  • the determining unit 306 is configured to determine whether the device number and the function number of the PCI device acquired by the obtaining unit 301 are the same as the device number and the function number of the pre-stored PCI device.
  • the determining unit 306 is further configured to determine whether a function configuration item of the acquired PCI device changes, and the function configuration item is an option that affects the device number and the function number.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

公开了一种地址资源分配方法,获取外围元件互连PCI设备的设备号和功能号,PCI设备的数量和型号(101);当获取的PCI设备的设备号和功能号与预先存储的PCI设备的设备号和功能号相同时,查询获取的PCI设备的数量和型号与预先存储的PCI设备的数量和型号是否一致(102);若所述获取的PCI设备的数量和型号与预先存储的PCI设备的数量和型号一致,则根据预先存储的PCI设备所需分配的基地址为PCI设备分配地址资源(103)。该方法不需要在每次开机后都要询问PCI设备需要多少地址资源,等待PCI设备回复后,再进行地址资源分配,可以减少开机时间,加速系统启动。

Description

一种地址资源分配方法及存储器 技术领域
本发明实施例涉及通信领域, 尤其涉及一种为外围元件互连 (PCI , Per iphera l Component Interconnect ion )总线设备地址资源分配方法和存 储器。 背景技术
基本输入输出系统 ( BIOS , Bas i c Input Output Sys tem )担负着初始 化硬件, 检测硬件功能, 以及引导操作系统的责任。 BIOS存放于一个掉电后 内容不会丢失的只读存储器中 , 系统加电时处理器的第一条指令的地址会被 定位到 BIOS的存储器中, 便于使初始化程序得到执行。
按照 PCI规范, BIOS向 PCI设备的基地址(Base Addres s )寄存器写入 (或表示为 32位宽的十六进制数 OxFFFFFFFF) , PCI设备收到指令后, 反馈给 BIOS 自身需要的地址资源大小, BIOS读取这个资源数, 据此来设定 该设备的访问资源基地址(Base Addres s)。 基地址设置完成后, BIOS才可以 对该 PCI设备的寄存器采用基地址 +偏移量(off set)的方式进行访问, 并做 更多配置。
目前常见的 PCI设备地址资源分配方法为:
BIOS完成 CPU、 内存等的初始化后, 进入 PCI设备初始化的阶段; 从 "根总线" (bus number = 0)开始, 逐层找到所有 PCI设备, 并为其 分配总线号;
向每一个 PCI设备的基地址寄存器中写入 "-1,,, 然后等待 PCI设备处 理;
PCI设备反馈自己所需的分配的基地址;
BIOS根据反馈的分配的基地址,在整个系统还未分配的地址空间中分配 一段给相应的 PCI设备, 即是向该 PCI设备的基地址寄存器中写入为其分配 的基地址。
本发明的发明人发现每次开机都要执行上述地址资源分配流程, 而当系 统扩大, PCI设备增多后, 这一流程相对要占用更多时间, 从而增加开机时 间, 不利于系统的快速启动。 发明内容
本发明实施例提供了一种分配地址资源的方法, 可以减少开机时间, 加 速系统启动。
一种地址资源分配方法, 包括:
获取外围元件互连 PCI设备的设备号和功能号, PCI设备的数量和型号; 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和 功能号相同时, 查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数 量和型号是否一致;
若所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型 号一致, 则根据预先存储的 PCI设备所需分配的基地址为 PCI设备分配地址资 源。
一种存储器, 包括:
获取单元, 用于 PCI设备的设备号和功能号, PCI设备的数量和型号; 查询单元, 用于当获取单元获取的 PCI设备的设备号和功能号与预先存 储的 PCI设备的设备号和功能号相同时, 查询获取单元获取的 PCI设备的数量 和型号与预先存储的 PCI设备的数量和型号是否一致;
地址分配单元, 用于在查询单元查询到所述获取的 PCI设备的数量和型 号与预先存储的 PC I设备的数量和型号一致时,根据预先存储的 PC I设备所需 分配的基地址为 PCI设备分配地址资源。
本发明实施例采用获取外围元件互连 PCI设备的设备号和功能号, PCI设 备的数量和型号; 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备 的设备号和功能号相同时, 查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号是否一致; 若所述获取的 PCI设备的数量和型号与预先 存储的 PCI设备的数量和型号一致, 则根据预先存储的 PCI设备所需分配的基 地址为 PCI设备分配地址资源。 与现有技术相比, 本发明实施例所提供的地 址资源分配方法, 不需要在每次开机后都要询问 PCI设备需要多少地址资源, 等待 PCI设备回复后, 再进行地址资源分配, 可以减少开机时间, 加速系统 启动。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对现有技术或实施 例描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动性的前提下, 还可以如这些附图获得其他的附图。
图 1为本发明实施例中地址资源分配方法的一实施例示意图;
图 2为本发明实施例中地址资源分配方法应用场景实施例示意图; 图 3为本发明存储器的一实施例示意图;
图 4为本发明存储器的另一实施例示意图;
图 5为本发明存储器的另一实施例示意图
图 6为本发明存储器的另一实施例示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域技术人员所获得的所有 其他实施例, 都属于本发明保护的范围。
本发明实施例提供了一种分配地址资源的方法, 可以减少开机时间, 加 速系统启动。本发明实施例还提供了相应的存储器。下面分别进行详细说明。
请参阅图 1 , 本发明地址资源分配方法的一实施例包括:
101、 获取 PCI设备的设备号和功能号, PCI设备的数量和型号。
首次开机时, 基本输入输出系统 BIOS完成 CPU、 内存等的初始化后, 进 入 PCI设备初始化的 P介段;
从 "根总线" (bus number = 0)开始, 逐层找到所有 PCI设备, 并为其 分配总线号, 向每一个 PCI设备的基地址寄存器中写入 "-1" , 然后等待 PCI 设备处理, PCI设备反馈自己所需的分配的基地址, BIOS根据反馈的分配的 基地址, 在整个系统还未分配的地址空间中分配一段给相应的 PCI设备, 即 是向该 PCI设备的基地址寄存器中写入为其分配的基地址。
在开机后, 可以获取每个 PCI设备所需分配的基地址, 在逐层找到所有 PCI设备时, 可以获取每个 PCI设备的设备号和功能号, PCI设备的数量和型 号; 将获取到的每个 PCI设备所需分配的基地址和每个 PCI设备的设备号和功 能号, PCI设备的数量和型号; 对应存储在存储器中, 以方便后续开机时直 接读取。
PCI设备的数量和型号通过 PCI设备生产商标识符( VID, Vendor
Ident if ier ) , 设备标识符 ( DID, Device Ident if i er )和版本号 ( RID, Revi s ion Ident if ier ) , 来反映, 获取 PCI设备的数量和型号具体为: 获取 PCI设备的生产商标识符, 设备标识符和版本号; 并将所述生产商标识符, 设备标识符和版本号与 PCI设备的设备号和功能号对应存储。
首次开机后, 存储器中会有预先存储的 PCI设备的设备号和功能号, PCI 设备的数量和型号和预先存储的 PCI设备所需分配的基地址;
在非首次开机时, 要想知道 PCI设备是否发生变化, 需要获取 PCI设备的 设备号和功能号, PCI设备的数量和型号。
102、 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备 号和功能号相同时, 查询获取的 PCI设备的数量和型号与预先存储的 PCI设备 的数量和型号是否一致; 若一致, 执行步骤 103。
在后一次开机时, 以第二次开机为例, 存储器中已经有首次开机时所存 储的 PCI设备的设备号和功能号, PCI设备的数量和型号, 当 PCI设备的设备 号和功能号与之前存储的 PCI设备的设备号和功能号相同时, 只需要考虑 PCI设备的数量和型号是否发生变化, 无论是数量变化还是型号变化, 都认 为是 PCI设备的数量和型号不一致;
PCI设备包括 PCI根桥设备和 PCI外插设备, PCI根桥设备有外接插槽, PCI 外插设备插接在 PCI根桥设备上, PCI根桥设备在数量和型号上是不会发生变 化的, 变化的只有 PCI外插设备。
关于 PCI外插设备的认定可采用如下方法, 用一份列表记录 PCI设备的
VID和 DID, 在该表上会给出 PCI设备是否为 PCI根桥设备, 所述 PCI根桥设备 上是否有外接插槽, 每个插槽对应的总线号可以查看 PC I根桥设备上的根接 口 (Root Por t )寄存器信息来确定, 只需判断哪些设备接在 Root Por t上来 确定 PC I外插设备, 其中确定 PC I外插设备的表如下: 表 1
Figure imgf000007_0001
即通过这个表格就可以知道哪个设备(VID和 DID与 PCI设备是——对应 的)是桥设备, 它是否有引出外接插槽。 如果有引出外接插槽, 那么接在它 的 Root Port后面的 PCI设备就被认定为外插设备。
查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号 是否一致具体为: 查询获取的 PCI设备的生产商标识符, 设备标识符和版本 号与预先存储的 PCI设备的生产商标识符, 设备标识符和版本号是否一致; 若一致, 说明 PCI外插设备在数量和型号上都没有变化。
103、 若所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量 和型号一致,则根据预先存储的 PCI设备所需分配的基地址为 PCI设备分配地 址资源。
当获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号一 致时, 即本次开机时查询到的 PCI设备的数量与型号与前一次开机时的 PCI 设备的数量与型号相同,从根据预先存储的 PCI设备所需分配的基地址为 PCI 设备分配地址资源,对应的将为 PCI设备分配的地址资源写入到 PCI设备基地 址寄存器中。
本发明实施例获取 PCI设备的设备号和功能号, PCI设备的数量和型号; 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和功能 号相同时,查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和 型号是否一致;若所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的 数量和型号一致,则根据预先存储的 PCI设备所需分配的基地址为 PCI设备分 配地址资源。 与现有技术相比, 本发明实施例所提供的地址资源分配方法, 不需要在每次开机后都要询问 PCI设备需要多少地址资源,等待 PCI设备回复 后, 再进行地址资源分配, 可以减少开机时间, 加速系统启动。
可选地, 在图 1对应的实施例的基础上, 在步骤 101之后还可以包括: 判 断获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和功能 号是否相同。判断获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的 设备号和功能号是否相同具体为: 判断获取的 PCI设备的功能配置项是否发 生变化, 所述功能配置项为影响设备号和功能号的的选项; 若所述功能配置 项未发生变化,则获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的 设备号和功能号相同; 若所述功能配置项发生变化, 则获取的 PCI设备的设 备号和功能号与预先存储的 PCI设备的设备号和功能号不相同。 所述功能配 置选项包括硬盘的 AHCI、 RAID, 显卡的 HDMI。
可选地, 在图 1对应的实施例的基础上, 当获取的 PCI设备的设备号和功 能号与预先存储的 PCI设备的设备号和功能号不相同时,获取 PCI设备所需分 配的基地址,并将获取的 PCI设备所需分配的基地址与获取的 PCI设备的设备 号和功能号对应存储; 并删除预先存储的 PCI设备所需分配的基地址和预先 存储的 PCI设备的设备号和功能号。
可选地, 在图 1对应的实施例的基础上, 当所述获取的 PCI设备的数量和 型号与预先存储的 PCI设备的数量和型号不一致时,获取 PCI设备所需分配的 基地址,并将获取的 PCI设备所需分配的基地址与获取的 PCI设备的数量和型 号对应存储;并删除预先存储的 PCI设备所需分配的基地址和预先存储的 PCI 设备的数量和型号。
为便于理解, 下面以具体应用场景为例, 对本发明提供的地址资源分配 方法进行详细说明。 参阅图 2, 本发明应用场景的一实施例包括:
201、 首次开机时, 获取并对应存储 PCI设备所需分配的基地址, PCI设 备的设备号和功能号, PCI设备的数量与型号。
从 "根总线" (bus number = 0)开始, 逐层找到所有 PCI设备, 并为其分 配总线号, 向每一个 PCI设备的基地址寄存器中写入 "-Γ , 然后等待 PCI设 备处理, PCI设备反馈自己所需的分配的基地址, BIOS根据反馈的分配的基 地址, 在整个系统还未分配的地址空间中分配一段给相应的 PCI设备, 即是 向该 PCI设备的基地址寄存器中写入为其分配的基地址。
在首次开机后, 可以获取每个 PCI设备所需分配的基地址, 在逐层找到 所有 PCI设备时, 可以获取每个 PCI设备的设备号和功能号, 将所述获取到的 每个 PCI设备所需分配的基地址和每个 PCI设备的设备号和功能号存储在存 储器中, 存储列表如下: 表 2
Figure imgf000009_0001
本实施例中只给出 3个 PCI设备, 实际上可以为多个。
在获取上表 2中的信息的同时, 还可以获取到下表 3:
表 3
Figure imgf000009_0002
202、 第二次开机时, 获取 PCI设备的设备号和功能号, PCI设备的数量
203、 判断 PCI设备的功能配置项是否发生变化, 若是, 执行步骤 206 , 若否, 执行步骤 204。
所述功能配置项为影响设备号和功能号的的选项, 所述功能配置选项包 括硬盘的 AHCI、 RAID, 显卡的 HDMI。
功能配置选项影响 PCI设备的设备号和功能号,若功能配置选项有变化, 说明 PCI设备的设备号和功能号不相同; 若功能配置选项没有变化, 说明 PCI 设备的设备号和功能号相同。
204、 查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和 型号是否一致; 若是执行步骤 205, 若否, 执行步骤 207。
在 PCI设备的功能配置项没有发生变化时,说明 PCI设备的设备号和功能 号与预先存储的 PCI设备的设备号和功能号相同,再查询获取的 PCI设备的数 量和型号与预先存储的 PCI设备的数量和型号是否一致, 也就是要查询是否 有新增的 PCI外接设备, 将插接在 Root Port上的外插设备与上次开机时存储 的表 3中的 PCI设备中的 VID、 DID和 RID做比较, 比较后, 有不同的 VID、 DID和 RID存在, 就说明新增了 PCI外接设备或 PCI外接设备的型号发生了变 化, 这时执行步骤 207, 如果比较后没有不同的 VID、 DID和 RID存在, 说明 PCI外接设备的数量和型号没发生变化。
205、 根据预先存储的 PCI设备所需分配的基地址为 PCI设备分配地址资 源。
206、 获取 PCI设备所需分配的基地址, 并将获取的 PCI设备所需分配的 基地址与获取的 PCI设备的设备号和功能号对应存储;并删除预先存储的 PCI 设备所需分配的基地址和预先存储的 PCI设备的设备号和功能号。
207、 获取 PCI设备所需分配的基地址, 并将获取的 PCI设备所需分配的 基地址与获取的 PCI设备的数量和型号对应存储;并删除预先存储的 PCI设备 所需分配的基地址和预先存储的 PCI设备的数量和型号。
当 PCI设备的功能配置项发生变化或 PCI设备的数量或型号发生变化后, 按照现有技术中的技术方案, 重新询问 PCI设备所需分配的基地址, 等待回 复后, 在为每个 PCI设备重新分配地址资源, 同时获取并存储每个 PCI设备所 需分配的基地址和每个 PCI设备的设备号和功能号, 同时删除之前所存储的 每个 PCI设备所需分配的基地址和每个 PCI设备的设备号和功能号。
本发明实施例采用首次开机时, 获取并对应存储每个 PCI设备所需分配 的基地址和每个 PCI设备的设备号和功能号, PCI设备的数量和型号, 后一次 开机时, 获取 PCI设备的设备号和功能号, PCI设备的数量和型号; 当 PCI设 备的设备号和功能号与之前存储的 PCI设备的设备号和功能号相同时查询获 取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号是否一致,若 一致, 根据预先存储的 PCI设备所需分配的基地址为 PCI设备分配地址资源。 与现有技术相比, 本发明实施例所提供的地址资源分配方法, 不需要在每次 开机后都要询问 PCI设备需要多少地址资源, 再等待 PCI设备回复后, 再进行 地址资源分配, 可以减少开机时间, 加速系统启动。
参阅图 3, 本发明存储器的一实施例包括: 获取单元 301、 查询单元 302 和地址分配单元 303。
获取单元 301 , 用于获取 PCI设备的设备号和功能号, PCI设备的数量和 型号;
查询单元 302, 用于当获取单元 301获取的 PCI设备的设备号和功能号与 预先存储的 PCI设备的设备号和功能号相同时, 查询获取单元 301获取的 PCI 设备的数量和型号与预先存储的 PCI设备的数量和型号是否一致;
地址分配单元 303, 用于在查询单元 302查询到所述获取的 PCI设备的数 量和型号与预先存储的 PCI设备的数量和型号一致时, 根据预先存储的 PCI 设备所需分配的基地址为 PCI设备分配地址资源。
本发明实施例中, 获取单元 301获取 PCI设备的设备号和功能号, PCI设 备的数量和型号; 查询单元 302, 当获取单元 301获取的 PCI设备的设备号和 功能号与预先存储的 PCI设备的设备号和功能号相同时, 查询获取单元 301 获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号是否一致; 地址分配单元 303, 在查询单元 302查询到所述获取的 PCI设备的数量和型号 与预先存储的 PCI设备的数量和型号一致时,根据预先存储的 PCI设备所需分 配的基地址为 PCI设备分配地址资源。 与现有技术相比, 本发明实施例所提 供的地址资源分配方法, 不需要在每次开机后都要询问 PCI设备需要多少地 址资源, 再等待 PCI设备回复后, 再进行地址资源分配, 可以减少开机时间, 加速系统启动。
参阅图 4, 本发明存储器的另一实施例还包括: 存储单元 304。
获取单元 301 , 还用于当首次开机时, 获取 PCI设备所需分配的基地址; 存储单元 304, 用于将获取单元 301获取的 PCI设备所需分配的基地址与 获取的 PCI设备的设备号和功能号, PCI设备的数量和型号对应存储。
参阅图 4, 本发明存储器的另一实施例还包括:
获取单元 301 , 还用于获取 PCI设备的生产商标识符, 设备标识符和版本 查询单元 302, 还用于查询获取的 PCI设备的生产商标识符, 设备标识符 和版本号与预先存储的 PCI设备的生产商标识符, 设备标识符和版本号是否 一致。
本发明实施例中, 获取单元 301获取 PCI设备的生产商标识符, 设备标识 符和版本号; 查询单元 302查询获取的 PCI设备的生产商标识符, 设备标识符 和版本号与预先存储的 PCI设备的生产商标识符, 设备标识符和版本号是否 一致。
参阅图 5, 本发明存储器的另一实施例还包括: 删除单元 305
获取单元 301,还用于当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和功能号不相同时, 获取 PCI设备所需分配的基地址;
存储单元 304, 还用于将获取单元 301获取的 PCI设备所需分配的基地址 与获取的 PCI设备的设备号和功能号对应存储;
删除单元 305, 用于在存储单元 304对应存储 PCI设备所需分配的基地址 与获取的 PCI设备的设备号和功能号后,删除预先存储的 PCI设备所需分配的 基地址和预先存储的 PCI设备的设备号和功能号。
本发明实施例中,获取单元 301当获取的 PCI设备的设备号和功能号与预 先存储的 PCI设备的设备号和功能号不相同时,获取 PCI设备所需分配的基地 址; 存储单元 304将获取单元 301获取的 PCI设备所需分配的基地址与获取的 PCI设备的设备号和功能号对应存储; 删除单元 305在存储单元 304对应存储 PCI设备所需分配的基地址与获取的 PCI设备的设备号和功能号后,删除预先 存储的 PCI设备所需分配的基地址和预先存储的 PCI设备的设备号和功能号。 本发明实施例可以在获取的 PCI设备的设备号和功能号与预先存储的 PCI设 备的设备号和功能号不相同时, 替换掉预先存储的内容, 便于下一次开机时 快速启动。
参阅图 5, 本发明存储器的另一实施例还包括:
获取单元 301,还用于当所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号不一致时, 获取 PCI设备所需分配的基地址;
存储单元 304, 还用于将获取单元 301获取的 PCI设备所需分配的基地址 与获取的 PCI设备的数量和型号对应存储;
删除单元 305, 还用于在存储单元 304对应存储 PCI设备所需分配的基地 址与获取的 PCI设备的数量和型号后,删除预先存储的 PCI设备所需分配的基 地址和预先存储的 PCI设备的数量和型号。
本发明实施例中,获取单元 301当所述获取的 PCI设备的数量和型号与预 先存储的 PCI设备的数量和型号不一致时, 获取 PCI设备所需分配的基地址, 存储单元 304将获取单元 301获取的 PCI设备所需分配的基地址与获取的 PCI 设备的数量和型号对应存储; 删除单元 305在存储单元 304对应存储 PCI设备 所需分配的基地址与获取的 PCI设备的数量和型号后, 删除预先存储的 PCI 设备所需分配的基地址和预先存储的 PCI设备的数量和型号。 本发明实施例 可以在获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型号不 一致时, 替换掉预先存储的内容, 便于下一次开机时快速启动。
参阅图 6, 本发明存储器的另一实施例还包括: 判断单元 306。
判断单元 306, 用于判断获取单元 301获取的 PCI设备的设备号和功能号 与预先存储的 PCI设备的设备号和功能号是否相同。
所述判断单元 306,还用于判断获取的 PCI设备的功能配置项是否发生变 化, 所述功能配置项为影响设备号和功能号的的选项。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步 骤是可以通过程序来指令相关的硬件完成, 该程序可以存储于一种计算机可 读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施方式及应 用范围上均会有改变之处,因此,本说明书内容不应理解为对本发明的限制。

Claims

权利要求
1、 一种地址资源分配方法, 其特征在于, 包括:
获取外围元件互连 PCI设备的设备号和功能号, PCI设备的数量和型号; 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和 功能号相同时,查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数 量和型号是否一致;
若所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型 号一致,则根据预先存储的 PCI设备所需分配的基地址为 PCI设备分配地址资 源。
2、 根据权利要求 1所述的地址资源分配方法, 其特征在于, 当首次开机 时, 还包括:
获取 PCI设备所需分配的基地址,并将获取的 PCI设备所需分配的基地址 与获取的 PCI设备的设备号和功能号, PCI设备的数量和型号对应存储。
3、 根据权利要求 1所述的地址资源分配方法, 其特征在于, 还包括: 当获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和 功能号不相同时, 获取 PCI设备所需分配的基地址, 并将获取的 PCI设备所需 分配的基地址与获取的 PCI设备的设备号和功能号对应存储; 并删除预先存 储的 PCI设备所需分配的基地址和预先存储的 PCI设备的设备号和功能号。
4、 根据权利要求 1所述的地址资源分配方法, 其特征在于, 还包括: 当所述获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和型 号不一致时, 获取 PCI设备所需分配的基地址, 并将获取的 PCI设备所需分配 的基地址与获取的 PCI设备的数量和型号对应存储; 并删除预先存储的 PCI 设备所需分配的基地址和预先存储的 PCI设备的数量和型号。
5、 根据权利要求 1所述的地址资源分配方法, 其特征在于, 所述获取外 围元件互连 PCI设备的设备号和功能号之后还包括:
判断获取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号 和功能号是否相同。
6、 根据权利要求 5所述的地址资源分配方法, 其特征在于, 所述判断获 取的 PCI设备的设备号和功能号与预先存储的 PCI设备的设备号和功能号是 否相同具体为: 判断获取的 PCI设备的功能配置项是否发生变化, 所述功能配置项为影 响设备号和功能号的的选项;
若所述功能配置项未发生变化, 则获取的 PCI设备的设备号和功能号与 预先存储的 PCI设备的设备号和功能号相同;
若所述功能配置项发生变化, 则获取的 PCI设备的设备号和功能号与预 先存储的 PCI设备的设备号和功能号不相同。
7、 根据权利要求 1 ~ 6任意一项所述的地址资源分配方法, 其特征在于, 所述获取 PCI设备的数量和型号具体为: 获取 PCI设备的生产商标识符, 设备标识符和版本号;
所述查询获取的 PCI设备的数量和型号与预先存储的 PCI设备的数量和 型号是否一致具体为: 查询获取的 PCI设备的生产商标识符, 设备标识符和 版本号与预先存储的 PCI设备的生产商标识符, 设备标识符和版本号是否一 致。
8、 一种存储器, 其特征在于, 包括:
获取单元,用于获取 PCI设备的设备号和功能号, PCI设备的数量和型号; 查询单元, 用于当获取单元获取的 PCI设备的设备号和功能号与预先存 储的 PCI设备的设备号和功能号相同时,查询获取单元获取的 PCI设备的数量 和型号与预先存储的 PCI设备的数量和型号是否一致;
地址分配单元, 用于在查询单元查询到所述获取的 PCI设备的数量和型 号与预先存储的 PCI设备的数量和型号一致时,根据预先存储的 PCI设备所需 分配的基地址为 PCI设备分配地址资源。
9、 根据权利要求 8所述的存储器, 其特征在于, 还包括:
所述获取单元, 还用于当首次开机时, 获取 PCI设备所需分配的基地址; 存储单元, 用于将获取单元获取的 PCI设备所需分配的基地址与获取的 PCI设备的设备号和功能号, PCI设备的数量和型号对应存储。
10、 根据权利要求 9所述的存储器, 其特征在于, 还包括:
所述获取单元, 还用于当获取的 PCI设备的设备号和功能号与预先存储 的 PCI设备的设备号和功能号不相同时, 获取 PCI设备所需分配的基地址; 所述存储单元, 还用于将获取单元获取的 PCI设备所需分配的基地址与 获取的 PCI设备的设备号和功能号对应存储; 删除单元, 用于在存储单元对应存储 PCI设备所需分配的基地址与获取 的 PCI设备的设备号和功能号后,删除预先存储的 PCI设备所需分配的基地址 和预先存储的 PCI设备的设备号和功能号。
11、 根据权利要求 10所述的存储器, 其特征在于, 还包括:
所述获取单元, 还用于当所述获取的 PCI设备的数量和型号与预先存储 的 PCI设备的数量和型号不一致时, 获取 PCI设备所需分配的基地址;
所述存储单元, 还用于将获取单元获取的 PCI设备所需分配的基地址与 获取的 PCI设备的数量和型号对应存储;
所述删除单元, 还用于在存储单元对应存储 PCI设备所需分配的基地址 与获取的 PCI设备的数量和型号后,删除预先存储的 PCI设备所需分配的基地 址和预先存储的 PCI设备的数量和型号。
12、 根据权利要求 8 ~ 11任意一项所述的存储器, 其特征在于, 还包括: 判断单元, 用于判断获取单元获取的 PCI设备的设备号和功能号与预先 存储的 PCI设备的设备号和功能号是否相同。
13、 根据权利要求 12所述的存储器, 其特征在于, 还包括:
所述判断单元,还用于判断获取的 PCI设备的功能配置项是否发生变化, 所述功能配置项为影响设备号和功能号的的选项。
14、 根据权利要求 13所述的存储器, 其特征在于, 还包括:
所述获取单元, 还用于获取 PCI设备的生产商标识符, 设备标识符和版 本号;
所述查询单元, 还用于查询获取的 PCI设备的生产商标识符, 设备标识 符和版本号与预先存储的 PCI设备的生产商标识符, 设备标识符和版本号是 否一致。
PCT/CN2012/075772 2011-11-18 2012-05-19 一种地址资源分配方法及存储器 WO2012163231A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110369357.3 2011-11-18
CN201110369357.3A CN102521195B (zh) 2011-11-18 2011-11-18 一种地址资源分配方法及存储器

Publications (1)

Publication Number Publication Date
WO2012163231A1 true WO2012163231A1 (zh) 2012-12-06

Family

ID=46292124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075772 WO2012163231A1 (zh) 2011-11-18 2012-05-19 一种地址资源分配方法及存储器

Country Status (2)

Country Link
CN (1) CN102521195B (zh)
WO (1) WO2012163231A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11924116B2 (en) 2021-03-11 2024-03-05 Shandong Yingxin Computer Technologies Co., Ltd. Resource address allocation method, system and apparatus for PCI device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102952B (zh) * 2016-02-22 2020-12-08 佛山市顺德区顺达电脑厂有限公司 存储器资源的配置方法
CN106126394B (zh) * 2016-08-22 2019-02-19 浪潮(北京)电子信息产业有限公司 带外监控管理获取pcie设备资产信息的方法及系统
CN109324899B (zh) * 2018-09-10 2022-05-20 中国电子科技集团公司电子科学研究院 基于PCIe池化硬件资源的编址方法、装置及主控节点

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464387A (zh) * 2002-06-26 2003-12-31 联想(北京)有限公司 硬件设备驱动程序的安装方法及计算机
CN1501241A (zh) * 2002-11-18 2004-06-02 英业达股份有限公司 计算机开机预设值的加载方法
CN1740997A (zh) * 2005-09-21 2006-03-01 杭州华为三康技术有限公司 网络设备及其外围器件互连资源的分配方法
CN102117259A (zh) * 2009-12-31 2011-07-06 成都市华为赛门铁克科技有限公司 地址空间资源分配处理方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193301A (ja) * 2008-02-14 2009-08-27 Nec Corp 情報処理装置、情報処理装置におけるデバイス初期化方法、およびデバイス初期化プログラム
CN101699415B (zh) * 2009-10-29 2011-05-11 威盛电子股份有限公司 核心逻辑电路、计算机系统及外围设备初始化方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464387A (zh) * 2002-06-26 2003-12-31 联想(北京)有限公司 硬件设备驱动程序的安装方法及计算机
CN1501241A (zh) * 2002-11-18 2004-06-02 英业达股份有限公司 计算机开机预设值的加载方法
CN1740997A (zh) * 2005-09-21 2006-03-01 杭州华为三康技术有限公司 网络设备及其外围器件互连资源的分配方法
CN102117259A (zh) * 2009-12-31 2011-07-06 成都市华为赛门铁克科技有限公司 地址空间资源分配处理方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11924116B2 (en) 2021-03-11 2024-03-05 Shandong Yingxin Computer Technologies Co., Ltd. Resource address allocation method, system and apparatus for PCI device

Also Published As

Publication number Publication date
CN102521195B (zh) 2015-04-29
CN102521195A (zh) 2012-06-27

Similar Documents

Publication Publication Date Title
KR102427561B1 (ko) Fpga 기반 가속화를 위한 새로운 ssd 구조
US11847470B2 (en) Request processing method, system on chip, and public cloud management component
US9690739B2 (en) Method and apparatus for extending PCIe domain
US11640363B2 (en) Managing a smart network interface controller (NIC) of an information handling system
US10496388B2 (en) Technologies for securing a firmware update
US7743189B2 (en) PCI function south-side data management
TWI512479B (zh) 針對記憶體映射組態分派處理器之技術
US9411654B2 (en) Managing configuration and operation of an adapter as a virtual peripheral component interconnect root to expansion read-only memory emulation
WO2018059077A1 (zh) 一种计算机系统和存储访问装置
US8751785B2 (en) Memory tagging and preservation during a hot upgrade
US9740502B2 (en) Virtual bus device using management engine
TWI502348B (zh) 延伸唯讀記憶體管理系統、方法及其管理主機
US8825981B2 (en) Allocating addressable memory regions to an adapter
CN111857840B (zh) 基本输入输出系统bios启动方法及装置
TW201222413A (en) System and method for updating firmware of a baseboard management controller
WO2012163231A1 (zh) 一种地址资源分配方法及存储器
CN112328312A (zh) 一种实现裸机设备无盘启动的方法与设备
US20140244885A1 (en) Configuration snooping bridge
TWI662419B (zh) 具有儲存實體資源的本地磁碟的網路系統
US11755338B2 (en) Systems and methods for operating data processing units
TW201351128A (zh) 預啟動執行環境測試裝置、方法及系統
WO2022222977A1 (zh) 用于运行云业务实例的物理服务器的内存管理方法和装置
JP2017168031A (ja) 情報処理装置、制御方法およびプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12792190

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12792190

Country of ref document: EP

Kind code of ref document: A1