boot/arm: mailbox_bxm2708: add final and override specifiers
Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
This commit is contained in:
parent
1410ffb696
commit
91bf7d51f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user