view SimParams.h @ 16:df53f52ef49c

naming conflicts fixed HWSimResults changed, so FakeSim needs an update -> TODO Stefan
author hausers
date Fri, 17 Feb 2012 17:41:12 +0100
parents ddd87abfeefd
children 0deed3ee0b02
line source
1 /*
2 * Copyright 2011 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 */
6 #ifndef SIM_PARAMS_
7 #define SIM_PARAMS_
9 #include <stdio.h>
10 #include <unistd.h>
11 #include <malloc.h>
13 #include "../VMS_Implementations/VMS_impl/VMS_primitive_data_types.h"
14 #include "../C_Libraries/ParamHelper/Param.h"
17 //============================== Structures ==============================
18 typedef struct
19 { uint8 *guestApp;
20 uint8 *systemCode;
21 int32 numNodes;
22 }
23 SimulationResults;
25 typedef struct
26 { uint8 *guestApp;
27 uint8 *systemCode;
28 int32 numNodes;
29 SimulationResults *simResults;
30 }
31 SimulationParams;
33 //============================== Functions ================================
34 void
35 printSimResults( SimulationResults simResults );
37 void
38 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag );
41 //===========================================================================
43 #endif /**/