* Map AtomBIOS specified by PCI rom into virtual memory

* Point AtomBIOS to PCI rom mapped in memory
* Things no longer crash, but we get an Invalid BIOS Magic error
  in the logs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42543 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-08-02 18:05:52 +00:00
parent 4034e8950e
commit 22582a297c
5 changed files with 26 additions and 8 deletions
@@ -71,8 +71,10 @@ struct radeon_shared_info {
area_id mode_list_area; // area containing display mode list
uint32 mode_count;
uint32 rom_base; // AtomBIOS base location
uint32 rom_size; // AtomBIOS size
uint32 rom_phys; // rom base location
area_id rom_area; // area of mapped rom
uint32 rom_size; // rom size
uint8* rom; // virtual memory mapped PCI ROM
display_mode current_mode;
uint32 bytes_per_row;