free_list.cc (9920:028e4da64b42) | free_list.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Kevin Lim 30 */ 31 | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Kevin Lim 30 */ 31 |
32#include "cpu/o3/free_list.hh" 33 |
|
32#include "arch/registers.hh" 33#include "base/trace.hh" 34#include "config/the_isa.hh" | 34#include "arch/registers.hh" 35#include "base/trace.hh" 36#include "config/the_isa.hh" |
35#include "cpu/o3/free_list.hh" | |
36#include "debug/FreeList.hh" 37 38UnifiedFreeList::UnifiedFreeList(const std::string &_my_name, 39 PhysRegFile *_regFile) 40 : _name(_my_name), regFile(_regFile) 41{ 42 DPRINTF(FreeList, "Creating new free list object.\n"); 43 44 // Have the register file initialize the free list since it knows 45 // about its internal organization 46 regFile->initFreeList(this); 47} | 37#include "debug/FreeList.hh" 38 39UnifiedFreeList::UnifiedFreeList(const std::string &_my_name, 40 PhysRegFile *_regFile) 41 : _name(_my_name), regFile(_regFile) 42{ 43 DPRINTF(FreeList, "Creating new free list object.\n"); 44 45 // Have the register file initialize the free list since it knows 46 // about its internal organization 47 regFile->initFreeList(this); 48} |