base.cc (11839:dd6df2e47c14) base.cc (12085:de78ea63e0ca)
1/*
2 * Copyright (c) 2012, 2015 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

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

159 (char *)_kvmRun + (mmioOffset * pageSize));
160 } else {
161 inform("KVM: Coalesced not supported by host OS\n");
162 }
163
164 thread->startup();
165
166 Event *startupEvent(
1/*
2 * Copyright (c) 2012, 2015 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

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

159 (char *)_kvmRun + (mmioOffset * pageSize));
160 } else {
161 inform("KVM: Coalesced not supported by host OS\n");
162 }
163
164 thread->startup();
165
166 Event *startupEvent(
167 new EventWrapper<BaseKvmCPU,
168 &BaseKvmCPU::startupThread>(this, true));
167 new EventFunctionWrapper([this]{ startupThread(); }, name(), true));
169 schedule(startupEvent, curTick());
170}
171
172BaseKvmCPU::Status
173BaseKvmCPU::KVMCpuPort::nextIOState() const
174{
175 return (activeMMIOReqs || pendingMMIOPkts.size())
176 ? RunningMMIOPending : RunningServiceCompletion;

--- 1217 unchanged lines hidden ---
168 schedule(startupEvent, curTick());
169}
170
171BaseKvmCPU::Status
172BaseKvmCPU::KVMCpuPort::nextIOState() const
173{
174 return (activeMMIOReqs || pendingMMIOPkts.size())
175 ? RunningMMIOPending : RunningServiceCompletion;

--- 1217 unchanged lines hidden ---