Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
annotate SimParams.h @ 25:b1c9d67643f2
fixed DEBUG to DEBUG__printf2
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 24 May 2012 08:14:21 -0700 |
| parents | ddd87abfeefd |
| children | 0deed3ee0b02 |
| rev | line source |
|---|---|
| Me@11 | 1 /* |
| Me@11 | 2 * Copyright 2011 OpenSourceStewardshipFoundation.org |
| Me@11 | 3 * Licensed under GNU General Public License version 2 |
| Me@11 | 4 */ |
| Me@11 | 5 |
| Me@11 | 6 #ifndef SIM_PARAMS_ |
| Me@11 | 7 #define SIM_PARAMS_ |
| Me@11 | 8 |
| Me@11 | 9 #include <stdio.h> |
| Me@11 | 10 #include <unistd.h> |
| Me@11 | 11 #include <malloc.h> |
| Me@11 | 12 |
| Me@14 | 13 #include "../VMS_Implementations/VMS_impl/VMS_primitive_data_types.h" |
| Me@15 | 14 #include "../C_Libraries/ParamHelper/Param.h" |
| Me@11 | 15 |
| Me@11 | 16 |
| Me@11 | 17 //============================== Structures ============================== |
| Me@11 | 18 typedef struct |
| Me@11 | 19 { uint8 *guestApp; |
| Me@11 | 20 uint8 *systemCode; |
| Me@11 | 21 int32 numNodes; |
| Me@11 | 22 } |
| Me@11 | 23 SimulationResults; |
| Me@11 | 24 |
| Me@11 | 25 typedef struct |
| Me@11 | 26 { uint8 *guestApp; |
| Me@11 | 27 uint8 *systemCode; |
| Me@11 | 28 int32 numNodes; |
| Me@11 | 29 SimulationResults *simResults; |
| Me@11 | 30 } |
| Me@11 | 31 SimulationParams; |
| Me@11 | 32 |
| Me@11 | 33 //============================== Functions ================================ |
| Me@11 | 34 void |
| Me@11 | 35 printSimResults( SimulationResults simResults ); |
| Me@11 | 36 |
| Me@11 | 37 void |
| Me@11 | 38 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); |
| Me@11 | 39 |
| Me@11 | 40 |
| Me@11 | 41 //=========================================================================== |
| Me@11 | 42 |
| Me@11 | 43 #endif /**/ |
| Me@11 | 44 |
| Me@11 | 45 |
