ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
c
d
e
f
h
m
n
p
r
s
t
w
x
Typedefs
Enumerations
Enumerator
_
a
e
f
i
l
n
r
s
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
_
a
c
d
i
m
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
i
l
m
n
o
p
r
t
u
v
w
Related Symbols
c
e
h
i
l
p
r
s
t
v
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
i
k
m
o
p
r
s
u
v
w
x
Enumerations
_
a
c
k
l
m
n
o
x
Enumerator
_
a
c
e
f
k
l
m
n
o
s
t
x
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
etiss
include
etiss
InterruptEnable.h
Go to the documentation of this file.
1
#ifndef ETISS_INCLUDE_INTERRUPTENABLE_H_
2
#define ETISS_INCLUDE_INTERRUPTENABLE_H_
3
4
namespace
etiss
{
5
6
class
InterruptEnable
7
{
8
public
:
9
virtual
~InterruptEnable
() {}
10
virtual
bool
isEnabled
() {
return
true
; }
11
};
6
class
InterruptEnable
{
…
};
12
13
template
<
typename
t>
14
class
MappedInterruptEnable
:
public
InterruptEnable
15
{
16
public
:
17
MappedInterruptEnable
(t* enable_reg, t mask) :
18
enable_reg_
(enable_reg),
19
mask_
(mask)
20
{
21
22
}
17
MappedInterruptEnable
(t* enable_reg, t mask) : {
…
}
23
24
virtual
~MappedInterruptEnable
() {}
25
26
bool
isEnabled
()
override
27
{
28
return
*
enable_reg_
&
mask_
;
29
};
26
bool
isEnabled
()
override
{
…
}
30
31
private
:
32
t*
enable_reg_
;
33
t
mask_
;
34
};
14
class
MappedInterruptEnable
:
public
InterruptEnable
{
…
};
35
36
}
37
#endif
etiss::InterruptEnable
Definition
InterruptEnable.h:7
etiss::InterruptEnable::isEnabled
virtual bool isEnabled()
Definition
InterruptEnable.h:10
etiss::InterruptEnable::~InterruptEnable
virtual ~InterruptEnable()
Definition
InterruptEnable.h:9
etiss::MappedInterruptEnable
Definition
InterruptEnable.h:15
etiss::MappedInterruptEnable::MappedInterruptEnable
MappedInterruptEnable(t *enable_reg, t mask)
Definition
InterruptEnable.h:17
etiss::MappedInterruptEnable::mask_
t mask_
Definition
InterruptEnable.h:33
etiss::MappedInterruptEnable::isEnabled
bool isEnabled() override
Definition
InterruptEnable.h:26
etiss::MappedInterruptEnable::~MappedInterruptEnable
virtual ~MappedInterruptEnable()
Definition
InterruptEnable.h:24
etiss::MappedInterruptEnable::enable_reg_
t * enable_reg_
Definition
InterruptEnable.h:32
etiss
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.
Definition
Benchmark.h:53
Generated on Mon Feb 17 2025 13:12:29 for ETISS 0.8.0 by
1.9.8