Ignore:
Timestamp:
Jul 18, 2012, 4:59:19 PM (12 years ago)
Author:
karaoui
Message:

Adding BLOB type for vobj.
Don't forget to set as BLOB type the mapping_info vobj in the xml.

Location:
soft/giet_vm/memo/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/memo/include/exception.h

    r163 r173  
    11/* -*- c++ -*-
    22 *
    3  * SOCLIB_LGPL_HEADER_BEGIN
    4  *
    5  * This file is part of SoCLib, GNU LGPLv2.1.
    6  *
    7  * SoCLib is free software; you can redistribute it and/or modify it
    8  * under the terms of the GNU Lesser General Public License as published
    9  * by the Free Software Foundation; version 2.1 of the License.
    10  *
    11  * SoCLib is distributed in the hope that it will be useful, but
    12  * WITHOUT ANY WARRANTY; without even the implied warranty of
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    14  * Lesser General Public License for more details.
    15  *
    16  * You should have received a copy of the GNU Lesser General Public
    17  * License along with SoCLib; if not, write to the Free Software
    18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    19  * 02110-1301 USA
    20  *
    21  * SOCLIB_LGPL_HEADER_END
     3 * Copyright (c) UPMC, Lip6, Asim
     4 *      copy of the soclib exception file, original writer:
     5 *          Nicolas Pouillon <nipo@ssji.net>, 2007
     6 *      modified by:
     7 *         Mohamed Lamine Karaoui <Mohamed.Karaoui@lip6.fr>, 2012
    228 *
    23  * Copyright (c) UPMC, Lip6, Asim
    24  *         Nicolas Pouillon <nipo@ssji.net>, 2007
    25  *
    26  * Maintainers: nipo
    279 */
    2810
    29 #ifndef SOCLIB_EXCEPTION_H_
    30 #define SOCLIB_EXCEPTION_H_
     11#ifndef _EXCEPTION_H_
     12#define _EXCEPTION_H_
    3113
    3214#include <exception>
     
    3416#include <iostream>
    3517
    36 namespace soclib { namespace exception {
     18namespace exception {
    3719
    3820class Exception
     
    9678};
    9779
    98 }}
     80}
    9981
    10082#endif /* SOCLIB_EXCEPTION_H_ */
  • soft/giet_vm/memo/include/libelfpp/elfpp/elfpp_section.hh

    r163 r173  
    110110
    111111    /** @this sets pointer to section content buffer */
    112     inline void set_content(void* a);
     112    void set_content(void* a);
    113113    /** @this gets pointer to section content buffer */
    114114    inline uint8_t *get_content() const;
  • soft/giet_vm/memo/include/libelfpp/elfpp/elfpp_section.hxx

    r163 r173  
    2323
    2424#include <stdexcept>
     25
    2526
    2627namespace elfpp
     
    130131  }
    131132 
    132   void section::set_content(void* a)
    133   {
    134     content_ = (uint8_t*) a;
    135   }
    136 
    137133  uint8_t * section::get_content() const
    138134  {
  • soft/giet_vm/memo/include/memo.h

    r163 r173  
    7171    elfpp::object* m_generator;//TODO:delete
    7272
    73     void* load_bin(std::string name);
     73    size_t load_bin(std::string filename, void* buffer);   
     74    size_t bin_size(std::string filename);
     75
    7476    elfpp::section* get_sect_by_addr(elfpp::object *loader, unsigned int addr);
    7577    elfpp::section* get_sect_by_name(elfpp::object *loader, std::string name);
Note: See TracChangeset for help on using the changeset viewer.