[coreboot] v2: is this a bug ? (in device_util.c)

JasonZhao at viatech.com.cn JasonZhao at viatech.com.cn
Tue Aug 12 04:30:12 CEST 2008

Hardwaremain()-> dev_configure();-> void
root_dev_read_resources(device_t root) ->

void compact_resources(device_t dev)-> 

memmove(resource, resource + 1, dev->resources - i);  

The third parameter should be (dev->resources-I)* sizeof(*resource)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080812/eb9e58f8/attachment.html>

More information about the coreboot mailing list