Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3765d695
Commit
3765d695
authored
Mar 22, 2010
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: Use instruction with delay slot
Sync labels. Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
bd1637d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
arch/microblaze/kernel/hw_exception_handler.S
arch/microblaze/kernel/hw_exception_handler.S
+5
-8
No files found.
arch/microblaze/kernel/hw_exception_handler.S
View file @
3765d695
...
@@ -721,9 +721,8 @@ ex_handler_done:
...
@@ -721,9 +721,8 @@ ex_handler_done:
*
Many
of
these
bits
are
software
only
.
Bits
we
don
't set
*
Many
of
these
bits
are
software
only
.
Bits
we
don
't set
*
here
we
(
properly
should
)
assume
have
the
appropriate
value
.
*
here
we
(
properly
should
)
assume
have
the
appropriate
value
.
*/
*/
brid
finish_tlb_load
andni
r4
,
r4
,
0x0ce2
/*
Make
sure
20
,
21
are
zero
*/
andni
r4
,
r4
,
0x0ce2
/*
Make
sure
20
,
21
are
zero
*/
bri
finish_tlb_load
ex7
:
ex7
:
/
*
The
bailout
.
Restore
registers
to
pre
-
exception
conditions
/
*
The
bailout
.
Restore
registers
to
pre
-
exception
conditions
*
and
call
the
heavyweights
to
help
us
out
.
*
and
call
the
heavyweights
to
help
us
out
.
...
@@ -779,7 +778,7 @@ ex_handler_done:
...
@@ -779,7 +778,7 @@ ex_handler_done:
lwi
r4
,
r5
,
0
/*
Get
Linux
PTE
*/
lwi
r4
,
r5
,
0
/*
Get
Linux
PTE
*/
andi
r6
,
r4
,
_PAGE_PRESENT
andi
r6
,
r4
,
_PAGE_PRESENT
beqi
r6
,
ex
7
beqi
r6
,
ex
10
ori
r4
,
r4
,
_PAGE_ACCESSED
ori
r4
,
r4
,
_PAGE_ACCESSED
swi
r4
,
r5
,
0
swi
r4
,
r5
,
0
...
@@ -792,9 +791,8 @@ ex_handler_done:
...
@@ -792,9 +791,8 @@ ex_handler_done:
*
Many
of
these
bits
are
software
only
.
Bits
we
don
't set
*
Many
of
these
bits
are
software
only
.
Bits
we
don
't set
*
here
we
(
properly
should
)
assume
have
the
appropriate
value
.
*
here
we
(
properly
should
)
assume
have
the
appropriate
value
.
*/
*/
brid
finish_tlb_load
andni
r4
,
r4
,
0x0ce2
/*
Make
sure
20
,
21
are
zero
*/
andni
r4
,
r4
,
0x0ce2
/*
Make
sure
20
,
21
are
zero
*/
bri
finish_tlb_load
ex10
:
ex10
:
/
*
The
bailout
.
Restore
registers
to
pre
-
exception
conditions
/
*
The
bailout
.
Restore
registers
to
pre
-
exception
conditions
*
and
call
the
heavyweights
to
help
us
out
.
*
and
call
the
heavyweights
to
help
us
out
.
...
@@ -824,9 +822,9 @@ ex_handler_done:
...
@@ -824,9 +822,9 @@ ex_handler_done:
andi
r5
,
r5
,
(
MICROBLAZE_TLB_SIZE
-
1
)
andi
r5
,
r5
,
(
MICROBLAZE_TLB_SIZE
-
1
)
ori
r6
,
r0
,
1
ori
r6
,
r0
,
1
cmp
r31
,
r5
,
r6
cmp
r31
,
r5
,
r6
blti
r31
,
sem
blti
r31
,
ex12
addik
r5
,
r6
,
1
addik
r5
,
r6
,
1
sem
:
ex12
:
/
*
MS
:
save
back
current
TLB
index
*/
/
*
MS
:
save
back
current
TLB
index
*/
swi
r5
,
r0
,
TOPHYS
(
tlb_index
)
swi
r5
,
r0
,
TOPHYS
(
tlb_index
)
...
@@ -846,7 +844,6 @@ ex_handler_done:
...
@@ -846,7 +844,6 @@ ex_handler_done:
nop
nop
/
*
Done
...
restore
registers
and
get
out
of
here
.
*/
/
*
Done
...
restore
registers
and
get
out
of
here
.
*/
ex12
:
mts
rpid
,
r11
mts
rpid
,
r11
nop
nop
bri
4
bri
4
...
...
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