/* param_<arch>.c \- <arch> dependent portion of the param tools

 (c) Copyright, Real-Time Innovations, Inc. 2001.  All rights reserved. 
 No duplications, whole or partial, manual or electronic, may be made    
 without prior written permission.  Any such copies, or      
 revisions thereof, must display this notice unaltered.                  
 This code contains trade secrets of Real-Time Innovations, Inc.  

 modification history
 ------------ -------
 0.0a,04dec01,pac  created  

 DESCRIPTION:

--------------------------------------------------------------------------*/
/* $Id: arch_c_example.txt,v 1.1 2002/01/22 02:31:30 paul Exp $ */

#include "vxWorks.h"
#include "stdio.h"
#include "string.h"

#include "param_public.h"
#include "param_private.h"

#include "rtilib/rti_types.h"

/*
 * RTI_ParamCreate
 * Public API implementation: see documentation in the param_public.h file.
 */
int RTI_ParamCreate(REG_SET *regs, FPREG_SET *fpContext, 
                    RTI_ParamSignature *sig, RTI_Param *param)
{
  /* 
   * Use the information you put into sig [if any] to copy the 
   * parameters from their storage location to the proper spot in
   * the param->params array.  Be aware of endian issues.
   */
  return(RTI_PARAM_SUCCESS);
}

int RTI_ParamSignatureAnalyze(RTI_ParamArgs *args, RTI_ParamSignature *sig)
{
  /* 
   * Fills in the architecture specific RTI_ParamSignature structure with
   * any information that will make ParamCreate correct and/or efficient.
   * This information will typically come from an ABI description or working
   * knowledge of the target's parameter passing mechanism.
   */
  return(RTI_PARAM_SUCCESS);
}
