• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/elements/genericProc/FE/ppcFrontEnd/loadInfo.h

00001 // Copyright 2007 Sandia Corporation. Under the terms
00002 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
00003 // Government retains certain rights in this software.
00004 // 
00005 // Copyright (c) 2007, Sandia Corporation
00006 // All rights reserved.
00007 // 
00008 // This file is part of the SST software package. For license
00009 // information, see the LICENSE file in the top level directory of the
00010 // distribution.
00011 
00012 
00013 
00014 #ifndef LOADINFO_H
00015 #define LOADINFO_H
00016 
00017 #include <global.h>
00018 //#include "sst/boost.h"
00019 
00020 struct LoadInfo { 
00021   friend class boost::serialization::access;
00022   template<class Archive> 
00023   void serialize(Archive & ar, const unsigned int version )
00024   {
00025     ar & BOOST_SERIALIZATION_NVP(constrLoc);
00026     ar & BOOST_SERIALIZATION_NVP(constrSize);
00027     ar & BOOST_SERIALIZATION_NVP(start_addr);
00028     ar & BOOST_SERIALIZATION_NVP(stack_base);   
00029     ar & BOOST_SERIALIZATION_NVP(text_addr);
00030     ar & BOOST_SERIALIZATION_NVP(text_len);
00031     ar & BOOST_SERIALIZATION_NVP(data_addr);
00032     ar & BOOST_SERIALIZATION_NVP(data_len);
00033     ar & BOOST_SERIALIZATION_NVP(heap_addr);
00034     ar & BOOST_SERIALIZATION_NVP(heap_len);
00035     ar & BOOST_SERIALIZATION_NVP(stack_addr);
00036     ar & BOOST_SERIALIZATION_NVP(stack_len);
00037   }
00038 
00039   //: location of constructor section of the header
00040   simAddress constrLoc;
00041   //: length of constructor section
00042   simAddress constrSize;
00043 
00044   simAddress start_addr;
00045   simAddress stack_base;
00046 
00047   simAddress text_addr;
00048   unsigned long text_len;
00049 
00050   simAddress data_addr;
00051   unsigned long data_len;
00052 
00053   simAddress heap_addr;
00054   unsigned long heap_len;
00055 
00056   simAddress stack_addr;
00057   unsigned long stack_len;
00058 };
00059 #endif

Generated on Fri Oct 22 2010 11:02:21 for SST by  doxygen 1.7.1