Changed the init_param to a uint64_t from int
authorAndrew Schultz <alschult@umich.edu>
Wed, 22 Oct 2003 22:50:54 +0000 (18:50 -0400)
committerAndrew Schultz <alschult@umich.edu>
Wed, 22 Oct 2003 22:50:54 +0000 (18:50 -0400)
--HG--
extra : convert_revision : fbd3d3bbaa539661f63e4f7991b0a6275992d60a

kern/tru64/tru64_system.cc
kern/tru64/tru64_system.hh
sim/system.cc
sim/system.hh

index 0a4f8ae4ec250fcecb33e6d69151b8565fb6604e..823a00e5a1014031438aff00ddfd0f9fbaf8e9fc 100644 (file)
@@ -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<MemoryController *> mem_ctl;
     SimObjectParam<PhysicalMemory *> physmem;
-    Param<int> init_param;
+    Param<uint64_t> init_param;
 
     Param<string> kernel_code;
     Param<string> console_code;
index 7fd337eb59cf58f1fe28d5db68ffdfdbcd5cceb5..f1b8bb532632f40ab8e89ef1ebddb70186782205 100644 (file)
@@ -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,
index 0e0b83332b95f4aea03eff98ae805ac0f43c85c2..903362f0bd4c5198abff3d12603d82b7f53dfb14 100644 (file)
@@ -38,7 +38,7 @@ vector<System *> 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),
index 56a3d6a6f31de2c7bd5ed38ae8a675f099f01052..f10b70a4e715e2bac7fb433fb3a0a6bd9beb5733 100644 (file)
@@ -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();