摘要 |
A system for creating a device tree. First, it is determined whether more than one version of a resource for a data processing system exists in a resource location code array table. In response to determining that more than one version of the resource for the data processing system does exist in the resource location code array table, it is determined which version of the resource was installed in the data processing system. Then, a presence detection procedure is performed for the resource in the data processing system. Afterward, it is determined whether the resource is present in the data processing system. In response to determining that the resource is present in the data processing system, an entry is created in a device tree for the resource based on the determined version of the resource. Finally, the device tree is cached in firmware.
|