Deleted Added
sdiff udiff text old ( 13646:626670cc6da4 ) new ( 13965:347e04956cfe )
full compact
1/*
2 * Copyright (c) 2013-2014 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

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

309 case Enums::Random:
310 priority_list = cpu.randomPriority();
311 break;
312 default:
313 panic("Unknown fetch policy");
314 }
315
316 for (auto tid : priority_list) {
317 if (getInput(tid) && !decodeInfo[tid].blocked) {
318 threadPriority = tid;
319 return tid;
320 }
321 }
322
323 return InvalidThreadID;
324}
325

--- 26 unchanged lines hidden ---