diff SimParams.h @ 11:a587ea56af8e

changed directory structure -- thin project repository with this as sub-repo
author Me@portablequad
date Sat, 07 Jan 2012 17:45:10 -0800
parents
children ddd87abfeefd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/SimParams.h	Sat Jan 07 17:45:10 2012 -0800
     1.3 @@ -0,0 +1,45 @@
     1.4 +/*
     1.5 + *  Copyright 2011 OpenSourceStewardshipFoundation.org
     1.6 + *  Licensed under GNU General Public License version 2 
     1.7 + */
     1.8 +
     1.9 +#ifndef SIM_PARAMS_
    1.10 +#define SIM_PARAMS_
    1.11 +
    1.12 +#include <stdio.h>
    1.13 +#include <unistd.h>
    1.14 +#include <malloc.h>
    1.15 +
    1.16 +#include "../HWSim_lib/VMS/VMS_primitive_data_types.h"
    1.17 +#include "ParamHelper/Param.h"
    1.18 +
    1.19 +
    1.20 +//==============================  Structures  ==============================
    1.21 +typedef struct
    1.22 + { uint8 *guestApp;
    1.23 +   uint8 *systemCode;
    1.24 +   int32 numNodes;
    1.25 + }
    1.26 +SimulationResults;
    1.27 +
    1.28 +typedef struct
    1.29 + { uint8 *guestApp;
    1.30 +   uint8 *systemCode;
    1.31 +   int32 numNodes;
    1.32 +   SimulationResults *simResults;
    1.33 + }
    1.34 +SimulationParams;
    1.35 +
    1.36 +//==============================  Functions  ================================
    1.37 +void
    1.38 +printSimResults( SimulationResults simResults );
    1.39 +
    1.40 +void
    1.41 +fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag );
    1.42 +
    1.43 +
    1.44 +//===========================================================================
    1.45 +
    1.46 +#endif /**/
    1.47 +
    1.48 +