init.cc (11548:91f58918a76a) init.cc (11793:ef606668d247)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 */
43
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 */
43
44#include "sim/init.hh"
45
44#include <Python.h>
45
46#include <marshal.h>
47#include <zlib.h>
48
49#include <iostream>
50#include <list>
51#include <string>
52
53#include "base/cprintf.hh"
54#include "base/misc.hh"
55#include "base/types.hh"
56#include "config/have_protobuf.hh"
57#include "sim/async.hh"
58#include "sim/core.hh"
46#include <Python.h>
47
48#include <marshal.h>
49#include <zlib.h>
50
51#include <iostream>
52#include <list>
53#include <string>
54
55#include "base/cprintf.hh"
56#include "base/misc.hh"
57#include "base/types.hh"
58#include "config/have_protobuf.hh"
59#include "sim/async.hh"
60#include "sim/core.hh"
59#include "sim/init.hh"
60
61#if HAVE_PROTOBUF
62#include <google/protobuf/stubs/common.h>
61
62#if HAVE_PROTOBUF
63#include <google/protobuf/stubs/common.h>
64
63#endif
64
65using namespace std;
66
67// The python library is totally messed up with respect to constness,
68// so make a simple macro to make life a little easier
69#define PyCC(x) (const_cast<char *>(x))
70

--- 183 unchanged lines hidden ---
65#endif
66
67using namespace std;
68
69// The python library is totally messed up with respect to constness,
70// so make a simple macro to make life a little easier
71#define PyCC(x) (const_cast<char *>(x))
72

--- 183 unchanged lines hidden ---