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
ac93f621
Commit
ac93f621
authored
Aug 03, 2010
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS: Add debug for assembler macros
Signed-off-by:
Jesper Nilsson
<
jesper.nilsson@axis.com
>
parent
7ec280c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/cris/arch-v32/mm/mmu.S
arch/cris/arch-v32/mm/mmu.S
+4
-0
No files found.
arch/cris/arch-v32/mm/mmu.S
View file @
ac93f621
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
; to handle the fault.
; to handle the fault.
.
macro
MMU_BUS_FAULT_HANDLER
handler
,
mmu
,
we
,
ex
.
macro
MMU_BUS_FAULT_HANDLER
handler
,
mmu
,
we
,
ex
.
globl
\
handler
.
globl
\
handler
.
type
\
handler
,
"function"
\
handler
:
\
handler
:
SAVE_ALL
SAVE_ALL
move
\
mmu
,
$srs
; Select MMU support register bank
move
\
mmu
,
$srs
; Select MMU support register bank
...
@@ -52,6 +53,7 @@
...
@@ -52,6 +53,7 @@
nop
nop
ba
ret_from_intr
ba
ret_from_intr
nop
nop
.
size
\
handler
,
.
-
\
handler
.
endm
.
endm
; Refill handler. Three cases may occur:
; Refill handler. Three cases may occur:
...
@@ -84,6 +86,7 @@
...
@@ -84,6 +86,7 @@
2
:
.
dword
0
; last_refill_cause
2
:
.
dword
0
; last_refill_cause
.
text
.
text
.
globl
\
handler
.
globl
\
handler
.
type
\
handler
,
"function"
\
handler
:
\
handler
:
subq
4
,
$sp
subq
4
,
$sp
; (The pipeline stalls for one cycle; $sp used as address in the next cycle.)
; (The pipeline stalls for one cycle; $sp used as address in the next cycle.)
...
@@ -196,6 +199,7 @@
...
@@ -196,6 +199,7 @@
; Return
; Return
ba
ret_from_intr
ba
ret_from_intr
nop
nop
.
size
\
handler
,
.
-
\
handler
.
endm
.
endm
; This is the MMU bus fault handlers.
; This is the MMU bus fault handlers.
...
...
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