memtest.hh (8975:7f36d4436074) memtest.hh (9044:904ddeecc653)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

29 * Steve Reinhardt
30 */
31
32#ifndef __CPU_MEMTEST_MEMTEST_HH__
33#define __CPU_MEMTEST_MEMTEST_HH__
34
35#include <set>
36
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

29 * Steve Reinhardt
30 */
31
32#ifndef __CPU_MEMTEST_MEMTEST_HH__
33#define __CPU_MEMTEST_MEMTEST_HH__
34
35#include <set>
36
37#include "base/fast_alloc.hh"
38#include "base/statistics.hh"
39#include "mem/mem_object.hh"
40#include "mem/port.hh"
41#include "mem/port_proxy.hh"
42#include "params/MemTest.hh"
43#include "sim/eventq.hh"
44#include "sim/sim_exit.hh"
45#include "sim/sim_object.hh"

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

107
108 virtual void recvRetry();
109 };
110
111 CpuPort cachePort;
112 CpuPort funcPort;
113 PortProxy funcProxy;
114
37#include "base/statistics.hh"
38#include "mem/mem_object.hh"
39#include "mem/port.hh"
40#include "mem/port_proxy.hh"
41#include "params/MemTest.hh"
42#include "sim/eventq.hh"
43#include "sim/sim_exit.hh"
44#include "sim/sim_object.hh"

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

106
107 virtual void recvRetry();
108 };
109
110 CpuPort cachePort;
111 CpuPort funcPort;
112 PortProxy funcProxy;
113
115 class MemTestSenderState : public Packet::SenderState, public FastAlloc
114 class MemTestSenderState : public Packet::SenderState
116 {
117 public:
118 /** Constructor. */
119 MemTestSenderState(uint8_t *_data)
120 : data(_data)
121 { }
122
123 // Hold onto data pointer

--- 75 unchanged lines hidden ---
115 {
116 public:
117 /** Constructor. */
118 MemTestSenderState(uint8_t *_data)
119 : data(_data)
120 { }
121
122 // Hold onto data pointer

--- 75 unchanged lines hidden ---