Add helper function to find a Local APIC by ID in the device tree.
[coreboot.git] / src / include / device / device.h
index a7de0c9bb239402efe7b1d6703d7d96a1efce5e4..c097f5796b66b4578fac3761ff8c6f415be7e37f 100644 (file)
@@ -132,6 +132,7 @@ device_t dev_find_device (u16 vendor, u16 device, device_t from);
 device_t dev_find_class (unsigned int class, device_t from);
 device_t dev_find_slot (unsigned int bus, unsigned int devfn);
 device_t dev_find_slot_on_smbus (unsigned int bus, unsigned int addr);
+device_t dev_find_lapic(unsigned apic_id);
 
 /* Debug functions */
 void print_resource_tree(struct device * root, int debug_level,