4.104.114.84.95
Last change
on this file since acdb6558 was
b03f4f2,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/01 at 18:11:35
|
2001-01-08 Joel Sherrill <joel@…>
- Added r46xx directory.
- Makefile.am, configure.in: Modified to reflect addition of r46xx.
- shared/interrupts/installisrentries.c: Fixed typo.
- r46xx/.cvsignore, r46xx/Makefile.am,
r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am,
r46xx/vectorisrs/vectorisrs.c: New files.
|
-
Property mode set to
100644
|
File size:
789 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #include <rtems.h> |
---|
6 | #include <idtcpu.h> |
---|
7 | #include <stdlib.h> |
---|
8 | |
---|
9 | void mips_install_isr_entries( void ) |
---|
10 | { |
---|
11 | #if __mips == 1 |
---|
12 | void exc_utlb_code(void); |
---|
13 | void exc_norm_code(void); |
---|
14 | |
---|
15 | memcpy( (void *)UT_VEC, exc_utlb_code, 40 ); /* utlbmiss vector */ |
---|
16 | memcpy( (void *)E_VEC, exc_norm_code, 40 ); /* exception vevtor */ |
---|
17 | #elif __mips == 3 |
---|
18 | void exc_tlb_code(void); |
---|
19 | void exc_xtlb_code(void); |
---|
20 | void exc_cache_code(void); |
---|
21 | void exc_norm_code(void); |
---|
22 | |
---|
23 | memcpy( (void *)T_VEC, exc_tlb_code, 40 ); /* tlbmiss vector */ |
---|
24 | memcpy( (void *)X_VEC, exc_xtlb_code, 40 ); /* xtlbmiss vector */ |
---|
25 | memcpy( (void *)C_VEC, exc_cache_code, 40 ); /* cache error vector */ |
---|
26 | memcpy( (void *)E_VEC, exc_norm_code, 40 ); /* exception vector */ |
---|
27 | #endif |
---|
28 | rtems_cache_flush_entire_data(); |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.