Browse Prior Art Database

Memory Fault Termination Prevention Procedure

IP.com Disclosure Number: IPCOM000114657D
Original Publication Date: 1995-Jan-01
Included in the Prior Art Database: 2005-Mar-29
Document File: 2 page(s) / 50K

Publishing Venue

IBM

Related People

Jensen, B: AUTHOR [+4]

Abstract

Disclosed is a process by which memory faults occurring in any IBM* Operating System/2* (OS/2) application are handled in a controlled manner which includes collecting diagnostic data to analyze the fault. The name of this procedure is the Memory Fault Termination Prevention Procedure (MFTPP).

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 66% of the total text.

Memory Fault Termination Prevention Procedure

      Disclosed is a process by which memory faults occurring in any
IBM* Operating System/2* (OS/2) application are handled in a
controlled manner which includes collecting diagnostic data to
analyze the fault.  The name of this procedure is the Memory Fault
Termination Prevention Procedure (MFTPP).

      There is a need for an easy way to provide an error handling
function that will take control at the occurrence of a memory fault
(that is, TRAP-D) occurring in any OS/2 application program.  The
solution must be one that requires no change to the application
source program so that it can be used by existing programs.  In order
to address this requirement, MFTPP was invented.

      MFTPP provides an object that is linked to the front end of an
OS/2 application object module and takes control when a memory fault
is detected by the operating system.  The object is linked using a
standard OS/2 linker and then is post-processed by the MFTPP post
linker routine, which locates the entry point of the application and
places this value into the MFTPP object.  This causes the application
object to take control after the MFTPP object completes
initialization.  The entry point of the entire module is set to the
entry point of the MFTPP object so that the MFTPP object takes
control when the application is started.

      When the application is started, the MFTPP object takes control
and calls OS/2 to set the excepti...