Deleted Added
sdiff udiff text old ( 8232:b28d06a175be ) new ( 9919:803903a8dac1 )
full compact
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
9 * notice, this list of conditions and the following disclaimer;
10 * redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the

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

28 *
29 * Authors: Kevin Lim
30 */
31
32#include "base/trace.hh"
33#include "cpu/o3/free_list.hh"
34#include "debug/FreeList.hh"
35
36UnifiedFreeList::UnifiedFreeList(const std::string &_my_name,
37 PhysRegFile *_regFile)
38 : _name(_my_name), regFile(_regFile)
39{
40 DPRINTF(FreeList, "Creating new free list object.\n");
41
42 // Have the register file initialize the free list since it knows
43 // about its internal organization
44 regFile->initFreeList(this);
45}