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
a615b47d
Commit
a615b47d
authored
Oct 13, 2014
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: entry.S: confine EXCEPTION_* macros to one file
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
f033737e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
arch/arc/kernel/entry.S
arch/arc/kernel/entry.S
+16
-0
arch/arc/mm/tlbex.S
arch/arc/mm/tlbex.S
+1
-15
No files found.
arch/arc/kernel/entry.S
View file @
a615b47d
...
...
@@ -368,6 +368,22 @@ ENTRY(EV_TLBProtV)
END
(
EV_TLBProtV
)
; Wrapper for Linux page fault handler called from EV_TLBMiss*
; Very similar to ProtV handler case (6a) above, but avoids the extra checks
; for Misaligned access
;
ENTRY
(
call_do_page_fault
)
EXCEPTION_PROLOGUE
lr
r0
,
[
efa
]
; Faulting Data address
mov
r1
,
sp
FAKE_RET_FROM_EXCPN
r9
mov
blink
,
ret_from_exception
b
do_page_fault
END
(
call_do_page_fault
)
; ---------------------------------------------
; Privilege Violation Exception Handler
; ---------------------------------------------
...
...
arch/arc/mm/tlbex.S
View file @
a615b47d
...
...
@@ -366,19 +366,5 @@ do_slow_path_pf:
; Slow path TLB Miss handled as a regular ARC Exception
; (stack switching / save the complete reg-file).
EXCEPTION_PROLOGUE
; ------- setup args for Linux Page fault Hanlder ---------
mov_s
r1
,
sp
lr
r0
,
[
efa
]
; We don't want exceptions to be disabled while the fault is handled.
; Now that we have saved the context we return from exception hence
; exceptions get re-enable
FAKE_RET_FROM_EXCPN
r9
bl
do_page_fault
b
ret_from_exception
b
call_do_page_fault
END
(
EV_TLBMissD
)
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