diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-07-21 20:10:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-07-21 20:10:49 +0000 |
commit | 1690c6b636dad196f1327021e00a721cebc1f264 (patch) | |
tree | 2df7eadaa8c2a30c839969ac1d5df34317816e47 /c/src/exec | |
parent | updating go32 to make timer more accurate (diff) | |
download | rtems-1690c6b636dad196f1327021e00a721cebc1f264.tar.bz2 |
after testing go32 and cvme961
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/sapi/headers/sptables.h | 2 | ||||
-rw-r--r-- | c/src/exec/sapi/include/rtems/sptables.h | 2 | ||||
-rw-r--r-- | c/src/exec/score/cpu/i386/cpu.c | 9 |
3 files changed, 10 insertions, 3 deletions
diff --git a/c/src/exec/sapi/headers/sptables.h b/c/src/exec/sapi/headers/sptables.h index 01addc6118..b3c090518a 100644 --- a/c/src/exec/sapi/headers/sptables.h +++ b/c/src/exec/sapi/headers/sptables.h @@ -42,7 +42,7 @@ const rtems_multiprocessing_table */ const char _RTEMS_version[] = - "RTEMS RELEASE V3.2.01 (" CPU_NAME "/" RTEMS_MODEL_NAME ")"; + "RTEMS RELEASE V3.2.02 (" CPU_NAME "/" RTEMS_MODEL_NAME ")"; /* diff --git a/c/src/exec/sapi/include/rtems/sptables.h b/c/src/exec/sapi/include/rtems/sptables.h index 01addc6118..b3c090518a 100644 --- a/c/src/exec/sapi/include/rtems/sptables.h +++ b/c/src/exec/sapi/include/rtems/sptables.h @@ -42,7 +42,7 @@ const rtems_multiprocessing_table */ const char _RTEMS_version[] = - "RTEMS RELEASE V3.2.01 (" CPU_NAME "/" RTEMS_MODEL_NAME ")"; + "RTEMS RELEASE V3.2.02 (" CPU_NAME "/" RTEMS_MODEL_NAME ")"; /* diff --git a/c/src/exec/score/cpu/i386/cpu.c b/c/src/exec/score/cpu/i386/cpu.c index cf30fd0b94..d1ceaba88a 100644 --- a/c/src/exec/score/cpu/i386/cpu.c +++ b/c/src/exec/score/cpu/i386/cpu.c @@ -86,7 +86,14 @@ void _CPU_ISR_install_raw_handler( #if __GO32__ _go32_dpmi_seginfo handler_info; - *old_handler = 0; /* XXX not supported */ + /* get the address of the old handler */ + _go32_dpmi_get_protected_mode_interrupt_vector( vector, &handler_info); + + /* Notice how we're failing to save the pm_segment portion of the */ + /* structure here? That means we might crash the system if we */ + /* try to restore the ISR. Can't fix this until i386_isr is */ + /* redefined. XXX [BHC]. */ + *old_handler = (proc_ptr *) handler_info.pm_offset; handler_info.pm_offset = (u_long) new_handler; handler_info.pm_selector = _go32_my_cs(); |