This patch adds some debug functions, cleans up whitespace (per indent), and adds const in a few places.<br><br>include/device/path.h<br> Make path_eq take const path*.<br> <br>include/device/device.h<br> Use const with dev_path, dev_id_string, bus_path, find_dev_path,<br>
andalloc_find.<br><br>device/device.c<br> Add functions for tree printing of devs and resources.<br> Change %p to more useful info.<br><br>device/device_util.c<br> Use const changes from device.h.<br><br>lib/stage2.c<br>
Use updated printing functions.<br><br>Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>><br><br>Build tested on qemu, norwich, and serengeti. Boot tested on Serengeti.<br><br>
Thanks,<br>Myles<br><br>