Reject late rom loading
authorPaul Brook <paul@codesourcery.com>
Wed, 11 Nov 2009 18:17:24 +0000 (18:17 +0000)
committerPaul Brook <paul@codesourcery.com>
Wed, 11 Nov 2009 18:21:20 +0000 (18:21 +0000)
commit97fe84f5efbd4f3ded433b7da5daca1f8fd5a82f
tree658482a3529076ef24b66b8da81e0406ff7a0001
parentf2d74978764f62d832d61ac17bb5d934ade58816
Reject late rom loading

rom_+add_file/rom_add_blob only work correctly if called before
load_all_roms.  Enforce this rather than silently accepting and putting
the rom in the wrong place at reset.

Signed-off-by: Paul Brook <paul@codesourcery.com>
hw/loader.c