Introduce optimized iomemcpy function for copying from io memory.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 5 Dec 2009 23:51:53 +0000 (18:51 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 5 Dec 2009 23:51:53 +0000 (18:51 -0500)
commit340369654992d86c8d3ce7d93963736e6d9a8750
tree66fec68672151f94b81e68ac7df95c7da2a24aa1
parent77443200cff4e921edb3e6eae95710bce718844f
Introduce optimized iomemcpy function for copying from io memory.

Reading from IO memory (pci rom or flash) is very slow, so add
   iomemcpy() which will yield during copy.  Use a 4 byte copy to
   optimize accesses.
Also, decompress cbfs data files from a temp memory buffer so that
   ulzma doesn't read from slow IO memory.
src/coreboot.c
src/optionroms.c
src/util.c
src/util.h