Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
d0f63f20
Commit
d0f63f20
authored
Feb 15, 2021
by
Antoine Kaufmann
Browse files
lib/nicbm: fix a few more lint issues
parent
c7e904bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
lib/simbricks/nicbm/nicbm.h
lib/simbricks/nicbm/nicbm.h
+4
-6
No files found.
lib/simbricks/nicbm/nicbm.h
View file @
d0f63f20
...
...
@@ -40,8 +40,7 @@ static const size_t kMaxDmaLen = 2048;
class
DMAOp
{
public:
virtual
~
DMAOp
()
{
}
virtual
~
DMAOp
()
=
default
;
bool
write_
;
uint64_t
dma_addr_
;
size_t
len_
;
...
...
@@ -50,8 +49,7 @@ class DMAOp {
class
TimedEvent
{
public:
virtual
~
TimedEvent
()
{
}
virtual
~
TimedEvent
()
=
default
;
uint64_t
time_
;
};
...
...
@@ -104,7 +102,7 @@ class Runner {
/**
* A timed event is due.
*/
virtual
void
Timed
(
TimedEvent
&
e
v
);
virtual
void
Timed
(
TimedEvent
&
t
e
);
/**
* Device control update
...
...
@@ -147,7 +145,7 @@ class Runner {
void
DmaTrigger
();
public:
Runner
(
Device
&
dev_
);
explicit
Runner
(
Device
&
dev_
);
/** Run the simulation */
int
RunMain
(
int
argc
,
char
*
argv
[]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment