Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
71b50778
Commit
71b50778
authored
Jul 06, 2017
by
Jaco Hofmann
Browse files
Fixes addressing of the interrupt handler
parent
32bde4df
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/tests/debug-screens/BlueDebugScreen.hpp
View file @
71b50778
...
...
@@ -72,12 +72,12 @@ protected:
platform
::
platform_read_ctl
(
base_addr
,
sizeof
(
intr
.
interrupts
[
i
].
vector_control
),
&
intr
.
interrupts
[
i
].
vector_control
,
platform
::
PLATFORM_CTL_FLAGS_RAW
);
base_addr
+=
4
;
}
base_addr
=
0x50
2
000
;
base_addr
=
0x50
8
000
;
for
(
int
i
=
0
;
i
<
1
+
(
total_interrupts
/
64
)
+
((
total_interrupts
%
64
)
!=
0
);
++
i
)
{
platform
::
platform_read_ctl
(
base_addr
,
sizeof
(
intr
.
pba
[
i
]),
&
intr
.
pba
[
i
],
platform
::
PLATFORM_CTL_FLAGS_RAW
);
base_addr
+=
8
;
}
base_addr
=
0x50
40
00
;
base_addr
=
0x50
81
00
;
platform
::
platform_read_ctl
(
base_addr
,
sizeof
(
intr
.
core_id
),
&
intr
.
core_id
,
platform
::
PLATFORM_CTL_FLAGS_RAW
);
base_addr
+=
4
;
platform
::
platform_read_ctl
(
base_addr
,
sizeof
(
intr
.
enableAndMask
),
&
intr
.
enableAndMask
,
platform
::
PLATFORM_CTL_FLAGS_RAW
);
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Supports
Markdown
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