Changeset 173 for soft/giet_vm/memo/include
- Timestamp:
- Jul 18, 2012, 4:59:19 PM (12 years ago)
- Location:
- soft/giet_vm/memo/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/memo/include/exception.h
r163 r173 1 1 /* -*- c++ -*- 2 2 * 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 22 8 * 23 * Copyright (c) UPMC, Lip6, Asim24 * Nicolas Pouillon <nipo@ssji.net>, 200725 *26 * Maintainers: nipo27 9 */ 28 10 29 #ifndef SOCLIB_EXCEPTION_H_30 #define SOCLIB_EXCEPTION_H_11 #ifndef _EXCEPTION_H_ 12 #define _EXCEPTION_H_ 31 13 32 14 #include <exception> … … 34 16 #include <iostream> 35 17 36 namespace soclib { namespaceexception {18 namespace exception { 37 19 38 20 class Exception … … 96 78 }; 97 79 98 } }80 } 99 81 100 82 #endif /* SOCLIB_EXCEPTION_H_ */ -
soft/giet_vm/memo/include/libelfpp/elfpp/elfpp_section.hh
r163 r173 110 110 111 111 /** @this sets pointer to section content buffer */ 112 inlinevoid set_content(void* a);112 void set_content(void* a); 113 113 /** @this gets pointer to section content buffer */ 114 114 inline uint8_t *get_content() const; -
soft/giet_vm/memo/include/libelfpp/elfpp/elfpp_section.hxx
r163 r173 23 23 24 24 #include <stdexcept> 25 25 26 26 27 namespace elfpp … … 130 131 } 131 132 132 void section::set_content(void* a)133 {134 content_ = (uint8_t*) a;135 }136 137 133 uint8_t * section::get_content() const 138 134 { -
soft/giet_vm/memo/include/memo.h
r163 r173 71 71 elfpp::object* m_generator;//TODO:delete 72 72 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 74 76 elfpp::section* get_sect_by_addr(elfpp::object *loader, unsigned int addr); 75 77 elfpp::section* get_sect_by_name(elfpp::object *loader, std::string name);
Note: See TracChangeset
for help on using the changeset viewer.