*M*      RTPFSR DUMMY REAL-TIME RECOVERY MODULE
*
RTPFSR   EQU      %
         DEF      RTPFSR            MODULE BIAS
***********************************************************************
*P*      NAME:    RTPFSR
*,*
*,*      PURPOSE: PROVIDES A DUMMY MODULE AND 3 ENTRY POINTS WHICH
*,*               COULD BE REPLACED BY AN INSTALLATION-WRITTEN MODULE.
*,*
*,*      DESCRIPTION:  MODULE IS LOADED WITH THE MONITOR ROOT AND
*,*               CONTAINS 3 ENTRY POINTS WHICH MERELY RETURN TO CALLER:
*,*                    RT:PWOFF
*,*                    RT:PWON
*,*                    RT:RCVR
***********************************************************************
*F*      NAME:    RT:PWOFF
*,*
*,*      PURPOSE: PROVIDES A DUMMY ENTRY POINT WHICH COULD BE REPLACED
*,*               BY AN INSTALLATION-WRITTEN ROUTINE.
*,*
*,*      DESCRIPTION:  (SEE 'D' REPORT)
***********************************************************************
*F*      NAME:    RT:PWON
*,*
*,*      PURPOSE: PROVIDES A DUMMY ENTRY POINT WHICH COULD BE REPLACED
*,*               BY AN INSTALLATION-WRITTEN ROUTINE.
*,*
*,*      DESCRIPTION:  (SEE 'D' REPORT)
***********************************************************************
*F*      NAME:    RT:RCVR
*,*
*,*      PURPOSE: PROVIDES A DUMMY ENTRY POINT WHICH COULD BE REPLACED
*,*               BY AN INSTALLATION-WRITTEN ROUTINE.
*,*
*,*      DESCRIPTION:  (SEE 'D' REPORT)
***********************************************************************
*D*      NAME:    RT:PWOFF
*,*
*,*      REGISTERS:  (ALL ARE AVAILABLE TO  USER-WRITTEN ROUTINE EXCEPT
*,*               RETURN MUST BE MADE VIA R11)
*,*
*,*      CALL:    BAL,R11
*,*
*,*      ENVIRONMENT:  CALLED UNMAPPED/MASTER; POWER-OFF INTERRUPT HIGH
*,*
*,*      DESCRIPTION:  RT:PWOFF IS CALLED BY THE MONITOR'S 'POWER-OFF'
*,*               ROUTINE.  INTERRUPT STATUS WILL HAVE BEEN SAVED,
*,*               INTERRUPTS IN GROUP 0 WILL HAVE BEEN DISARMED, AND ALL
*,*               DEVICES HALTED (WITH STATUS SAVED IN DCT13 AND
*,*               'TRANSMISSION DATA ERROR' SET TO FORCE A RE-TRY
*,*               LATER).  THIS ROUTINE SHOULD INTERFACE WITH THE
*,*               RT:PWON ROUTINE.
***********************************************************************
*D*      NAME:    RT:PWON
*,*
*,*      REGISTERS:  (ALL ARE AVAILABLE TO  USER-WRITTEN ROUTINE EXCEPT
*,*               RETURN MUST BE MADE VIA R11)
*,*
*,*      CALL:    BAL,R11
*,*
*,*      ENVIRONMENT:  CALLED UNMAPPED/MASTER
*,*
*,*      DESCRIPTION:  RT:PWON IS CALLED BY THE MONITOR'S 'POWER-ON'
*,*               ROUTINE.  INTERRUPT STATUS WILL HAVE BEEN RESTORED,
*,*               THE POWER-ON INTERRUPT CLEARED, ALL SYSTEM ROTATING
*,*               DEVICES WILL BE UP TO SPEED, AND ALL QUEUED I/O
*,*               REQUESTS AT THE TIME OF THE POWER FAILURE WILL HAVE
*,*               BEEN RE-QUEUED.  THIS ROUTINE SHOULD INTERFACE WITH
*,*               THE RT:PWOFF ROUTINE.
***********************************************************************
*D*      NAME:    RT:RCVR
*,*
*,*      REGISTERS:  (ALL ARE AVAILABLE TO  USER-WRITTEN ROUTINE EXCEPT
*,*               RETURN MUST BE MADE VIA R11)
*,*
*,*      CALL:    BAL,R11
*,*
*,*      ENVIRONMENT:  CALLED UNMAPPED/MASTER; INTERRUPTS INHIBITED
*,*
*,*      DESCRIPTION:  RT:RCVR IS CALLED BY THE RECOVER0 ROUTINE IN
*,*               INITRCVR IMMEDIATELY AFTER IT HAS BEEN DETERMINED THAT
*,*               WE ARE IN A CRASH SITUATION.  INTERRUPTS ARE INHIBITED
*,*               BUT NO HIO'S HAVE BEEN ISSUED YET. THIS ROUTINE SHOULD
*,*               INTERFACE WITH THE RT:REBOOT ROUTINE IN THE RTBOOT
*,*               MODULE OF GHOST1.
***********************************************************************
*
         SYSTEM   SIG7
*
         DEF      RT:PWOFF          REAL-TIME POWER-OFF ROUTINE
         DEF      RT:PWON           REAL-TIME POWER-ON ROUTINE
         DEF      RT:RCVR           REAL-TIME RECOVERY ROUTINE
*
RT:PWOFF,RT:PWON,RT:RCVR  EQU  %
         B        *11
         END

