make method constant (nw)

This commit is contained in:
yz70s 2018-05-13 19:09:45 +02:00
parent 83805a56ef
commit 05ca2a543b
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ protected:
virtual void map_extra(uint64_t memory_window_start, uint64_t memory_window_end, uint64_t memory_offset, address_space *memory_space,
uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space) override;
virtual bool map_first() override { return true; }
virtual bool map_first() const override { return true; }
virtual void config_map(address_map &map) override;

View File

@ -42,7 +42,7 @@ public:
uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space);
// Specify if this device must be mapped before all the others on the pci bus
virtual bool map_first() { return false; }
virtual bool map_first() const { return false; }
void map_config(uint8_t device, address_space *config_space);