Browse Prior Art Database

Run-Time Abstraction Services Simulator and Debugger

IP.com Disclosure Number: IPCOM000119003D
Original Publication Date: 1997-Oct-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 34K

Publishing Venue

IBM

Related People

Dawkins, GJ: AUTHOR [+2]

Abstract

Disclosed is a method for exercising a Run Time Abstraction Services (RTAS) package from within the Open Firmware environment.

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

Run-Time Abstraction Services Simulator and Debugger

      Disclosed is a method for exercising a Run Time Abstraction
Services (RTAS) package from within the Open Firmware environment.

      An open firmware method simulating the steps that an Operating
System would perform is used to interface with the RTAS Package.
When this open firmware method, called RTAS-debugger, is invoked, it
displays an interface menu.  The purpose of this menu is to allow the
operator to  select the desired RTAS call to be run.

      Once the operator has selected the desired RTAS call to be
exercised, the RTAS-debugger performs those steps that the Operating
System would normally perform before making an RTAS call.  This
includes initializing registers, memory modes, and RTAS call
buffers.  Specifically, the steps involved in running an RTAS-call
from the RTAS-debugger are:
  1.  Initialize the RTAS-call buffer to values received from
       the operator.
  2.  Initialize the registers and memory modes.
  3.  Set up the Open Firmware stack that enables the
       RTAS-debugger to pass parameters to the C-coded
       instantiate RTAS routine.
  4.  Obtain the address of the instantiate RTAS routine.
  5.  Branch to the address obtained in step 4.

      The instantiate RTAS routine instantiates RTAS.  Then, by way
of step 3, knows to run the given RTAS call.  Once the RTAS call is
run, execution returns to the instantiate RTAS routine, and fin...