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
Kirill Smelkov
linux
Commits
91b05e67
Commit
91b05e67
authored
Mar 29, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix vectored interrupt support in TLB exception handler generator.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
15c4f67a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
arch/mips/mm/tlbex.c
arch/mips/mm/tlbex.c
+2
-2
include/asm-mips/system.h
include/asm-mips/system.h
+1
-0
No files found.
arch/mips/mm/tlbex.c
View file @
91b05e67
...
@@ -742,7 +742,7 @@ static void __init build_r3000_tlb_refill_handler(void)
...
@@ -742,7 +742,7 @@ static void __init build_r3000_tlb_refill_handler(void)
}
}
#endif
#endif
memcpy
((
void
*
)
CAC_BASE
,
tlb_handler
,
0x80
);
memcpy
((
void
*
)
ebase
,
tlb_handler
,
0x80
);
}
}
/*
/*
...
@@ -1247,7 +1247,7 @@ static void __init build_r4000_tlb_refill_handler(void)
...
@@ -1247,7 +1247,7 @@ static void __init build_r4000_tlb_refill_handler(void)
}
}
#endif
#endif
memcpy
((
void
*
)
CAC_BASE
,
final_handler
,
0x100
);
memcpy
((
void
*
)
ebase
,
final_handler
,
0x100
);
}
}
/*
/*
...
...
include/asm-mips/system.h
View file @
91b05e67
...
@@ -441,6 +441,7 @@ extern void set_handler (unsigned long offset, void *addr, unsigned long len);
...
@@ -441,6 +441,7 @@ extern void set_handler (unsigned long offset, void *addr, unsigned long len);
extern
void
set_uncached_handler
(
unsigned
long
offset
,
void
*
addr
,
unsigned
long
len
);
extern
void
set_uncached_handler
(
unsigned
long
offset
,
void
*
addr
,
unsigned
long
len
);
extern
void
*
set_vi_handler
(
int
n
,
void
*
addr
);
extern
void
*
set_vi_handler
(
int
n
,
void
*
addr
);
extern
void
*
set_except_vector
(
int
n
,
void
*
addr
);
extern
void
*
set_except_vector
(
int
n
,
void
*
addr
);
extern
unsigned
long
ebase
;
extern
void
per_cpu_trap_init
(
void
);
extern
void
per_cpu_trap_init
(
void
);
extern
NORET_TYPE
void
die
(
const
char
*
,
struct
pt_regs
*
);
extern
NORET_TYPE
void
die
(
const
char
*
,
struct
pt_regs
*
);
...
...
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