[coreboot] device cleanup and printing fixes
Myles Watson
mylesgw at gmail.com
Fri Nov 14 17:03:16 CET 2008
This patch adds some debug functions, cleans up whitespace (per indent), and
adds const in a few places.
include/device/path.h
Make path_eq take const path*.
include/device/device.h
Use const with dev_path, dev_id_string, bus_path, find_dev_path,
andalloc_find.
device/device.c
Add functions for tree printing of devs and resources.
Change %p to more useful info.
device/device_util.c
Use const changes from device.h.
lib/stage2.c
Use updated printing functions.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Build tested on qemu, norwich, and serengeti. Boot tested on Serengeti.
Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081114/3ac9ae28/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device_debug_cleanup.diff
Type: text/x-patch
Size: 34102 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081114/3ac9ae28/attachment.diff>
More information about the coreboot
mailing list