main.cc (5522:e56c3d89be79) main.cc (10453:d0365cc3d05f)
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 */
30
31#include <Python.h>
32
33#include "sim/init.hh"
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 */
30
31#include <Python.h>
32
33#include "sim/init.hh"
34#include "sim/init_signals.hh"
34
35// main() is now pretty stripped down and just sets up python and then
36// calls initM5Python which loads the various embedded python modules
37// into the python environment and then starts things running by
38// calling m5Main.
39int
40main(int argc, char **argv)
41{

--- 23 unchanged lines hidden ---
35
36// main() is now pretty stripped down and just sets up python and then
37// calls initM5Python which loads the various embedded python modules
38// into the python environment and then starts things running by
39// calling m5Main.
40int
41main(int argc, char **argv)
42{

--- 23 unchanged lines hidden ---