commit | 59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Thu May 31 00:20:55 2012 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 02 20:06:18 2012 -0400 |
tree | a90ca99b49e14bd73076a35183be1a14143534e6 | |
parent | 51d6ba3e6fac2e78679145fe34f3861225670ae9 [diff] |
Cache romfile entries. Create a 'struct romfile_s' and populate a list of all romfiles at start of init. Caching the romfiles both simplifies the code and makes it more efficient. Also, convert the ramdisk code to use romfile helpers instead of directly accessing cbfs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>