Add a helper function to determine the number of enabled CPUs
[coreboot.git] / src / include / device / device.h
index c097f5796b66b4578fac3761ff8c6f415be7e37f..0aea1d6087ee3a3ec2be198719432fc6c5b75767 100644 (file)
@@ -133,6 +133,7 @@ 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);
+int dev_count_cpu(void);
 
 /* Debug functions */
 void print_resource_tree(struct device * root, int debug_level,