From: Andrew Schultz Date: Wed, 22 Oct 2003 22:50:54 +0000 (-0400) Subject: Changed the init_param to a uint64_t from int X-Git-Tag: m5_1.0_beta2~364 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98fd66ed0c2596644bb3c6a58f924f0a8756a048;p=gem5.git Changed the init_param to a uint64_t from int --HG-- extra : convert_revision : fbd3d3bbaa539661f63e4f7991b0a6275992d60a --- diff --git a/kern/tru64/tru64_system.cc b/kern/tru64/tru64_system.cc index 0a4f8ae4e..823a00e5a 100644 --- a/kern/tru64/tru64_system.cc +++ b/kern/tru64/tru64_system.cc @@ -43,7 +43,7 @@ using namespace std; -Tru64System::Tru64System(const string _name, const int _init_param, +Tru64System::Tru64System(const string _name, const uint64_t _init_param, MemoryController *_memCtrl, PhysicalMemory *_physmem, const string &kernel_path, const string &console_path, const string &palcode, const string &boot_osflags) @@ -208,7 +208,7 @@ BEGIN_DECLARE_SIM_OBJECT_PARAMS(Tru64System) SimObjectParam mem_ctl; SimObjectParam physmem; - Param init_param; + Param init_param; Param kernel_code; Param console_code; diff --git a/kern/tru64/tru64_system.hh b/kern/tru64/tru64_system.hh index 7fd337eb5..f1b8bb532 100644 --- a/kern/tru64/tru64_system.hh +++ b/kern/tru64/tru64_system.hh @@ -79,7 +79,7 @@ class Tru64System : public System public: Tru64System(const std::string _name, - const int _init_param, + const uint64_t _init_param, MemoryController *_memCtrl, PhysicalMemory *_physmem, const std::string &kernel_path, diff --git a/sim/system.cc b/sim/system.cc index 0e0b83332..903362f0b 100644 --- a/sim/system.cc +++ b/sim/system.cc @@ -38,7 +38,7 @@ vector System::systemList; int System::numSystemsRunning = 0; System::System(const std::string _name, - const int _init_param, + const uint64_t _init_param, MemoryController *_memCtrl, PhysicalMemory *_physmem) : SimObject(_name), diff --git a/sim/system.hh b/sim/system.hh index 56a3d6a6f..f10b70a4e 100644 --- a/sim/system.hh +++ b/sim/system.hh @@ -46,7 +46,7 @@ class ExecContext; class System : public SimObject { public: - const int init_param; + const uint64_t init_param; MemoryController *memCtrl; PhysicalMemory *physmem; @@ -56,7 +56,7 @@ class System : public SimObject void registerExecContext(ExecContext *xc); public: - System(const std::string _name, const int _init_param, + System(const std::string _name, const uint64_t _init_param, MemoryController *, PhysicalMemory *); ~System();