request.hh (5744:342cbc20a188) request.hh (5745:6b0f8306704b)
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;

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

48#include "sim/core.hh"
49
50class Request;
51
52typedef Request* RequestPtr;
53
54class Request : public FastAlloc
55{
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;

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

48#include "sim/core.hh"
49
50class Request;
51
52typedef Request* RequestPtr;
53
54class Request : public FastAlloc
55{
56 friend class Packet;
57
56 public:
57 typedef uint32_t FlagsType;
58 typedef ::Flags<FlagsType> Flags;
59
60 /** ASI information for this request if it exists. */
61 static const FlagsType ASI_BITS = 0x000000FF;
62 /** The request is a Load locked/store conditional. */
63 static const FlagsType LOCKED = 0x00000100;

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

450 if (flags.any(NO_HALF_WORD_ALIGN_FAULT))
451 return false;
452
453 if ((vaddr & 0x2))
454 return true;
455
456 return false;
457 }
58 public:
59 typedef uint32_t FlagsType;
60 typedef ::Flags<FlagsType> Flags;
61
62 /** ASI information for this request if it exists. */
63 static const FlagsType ASI_BITS = 0x000000FF;
64 /** The request is a Load locked/store conditional. */
65 static const FlagsType LOCKED = 0x00000100;

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

452 if (flags.any(NO_HALF_WORD_ALIGN_FAULT))
453 return false;
454
455 if ((vaddr & 0x2))
456 return true;
457
458 return false;
459 }
458
459 friend class Packet;
460};
461
462#endif // __MEM_REQUEST_HH__
460};
461
462#endif // __MEM_REQUEST_HH__