boot/arm: mailbox_bxm2708: add final and override specifiers

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
This commit is contained in:
Paweł Dziepak 2015-03-06 18:49:32 +01:00
parent 1410ffb696
commit 91bf7d51f0

View File

@ -16,15 +16,15 @@
#include "bcm2708.h"
class ArchMailboxArmBCM2708 : public ArchMailbox {
class ArchMailboxArmBCM2708 final : public ArchMailbox {
public:
ArchMailboxArmBCM2708(addr_t base)
:
ArchMailbox(base) {}
~ArchMailboxArmBCM2708() {}
virtual status_t Write(uint8 channel, uint32 value);
virtual status_t Read(uint8 channel, uint32& value);
virtual status_t Write(uint8 channel, uint32 value) override;
virtual status_t Read(uint8 channel, uint32& value) override;
private:
auto& GetRegister(unsigned reg);