diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2011-07-18 10:41:36 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-09 20:34:03 +0100 |
commit | 6f88a6ec7dce8eb12f52afcc0f7fcbaececa06e7 (patch) | |
tree | b520d5c7110b96e64e72ff47b38c819bb66c8f3a /src/include/device/device.h | |
parent | 5807555f9a0afb94ad92535dd2933ee4dbd25088 (diff) | |
download | coreboot-6f88a6ec7dce8eb12f52afcc0f7fcbaececa06e7.tar.xz |
Add helper function to find a Local APIC by ID in the device tree.
Change-Id: Ie2d7d8e1f647a0c92d2de09e32454fbea688b1e7
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: http://review.coreboot.org/695
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r-- | src/include/device/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index a7de0c9bb2..c097f5796b 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -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, |