base.hh (11151:ca4ea9b5c052) | base.hh (11168:f98eb2da15a4) |
---|---|
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 --- 70 unchanged lines hidden (view full) --- 79 public: 80 BaseKvmCPU(BaseKvmCPUParams *params); 81 virtual ~BaseKvmCPU(); 82 83 void init(); 84 void startup(); 85 void regStats(); 86 | 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 --- 70 unchanged lines hidden (view full) --- 79 public: 80 BaseKvmCPU(BaseKvmCPUParams *params); 81 virtual ~BaseKvmCPU(); 82 83 void init(); 84 void startup(); 85 void regStats(); 86 |
87 void serializeThread(CheckpointOut &cp, 88 ThreadID tid) const M5_ATTR_OVERRIDE; 89 void unserializeThread(CheckpointIn &cp, 90 ThreadID tid) M5_ATTR_OVERRIDE; | 87 void serializeThread(CheckpointOut &cp, ThreadID tid) const override; 88 void unserializeThread(CheckpointIn &cp, ThreadID tid) override; |
91 | 89 |
92 DrainState drain() M5_ATTR_OVERRIDE; 93 void drainResume() M5_ATTR_OVERRIDE; | 90 DrainState drain() override; 91 void drainResume() override; |
94 95 void switchOut(); 96 void takeOverFrom(BaseCPU *cpu); 97 98 void verifyMemoryMode() const; 99 100 MasterPort &getDataPort() { return dataPort; } 101 MasterPort &getInstPort() { return instPort; } 102 | 92 93 void switchOut(); 94 void takeOverFrom(BaseCPU *cpu); 95 96 void verifyMemoryMode() const; 97 98 MasterPort &getDataPort() { return dataPort; } 99 MasterPort &getInstPort() { return instPort; } 100 |
103 void wakeup(ThreadID tid = 0) M5_ATTR_OVERRIDE; | 101 void wakeup(ThreadID tid = 0) override; |
104 void activateContext(ThreadID thread_num); 105 void suspendContext(ThreadID thread_num); 106 void deallocateContext(ThreadID thread_num); 107 void haltContext(ThreadID thread_num); 108 109 ThreadContext *getContext(int tn); 110 111 Counter totalInsts() const; --- 659 unchanged lines hidden --- | 102 void activateContext(ThreadID thread_num); 103 void suspendContext(ThreadID thread_num); 104 void deallocateContext(ThreadID thread_num); 105 void haltContext(ThreadID thread_num); 106 107 ThreadContext *getContext(int tn); 108 109 Counter totalInsts() const; --- 659 unchanged lines hidden --- |