gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
packet.cc File Reference

Definition of the Packet Class, a packet is a transaction occuring between a single level of the memory heirarchy (ie L1->L2). More...

#include "mem/packet.hh"
#include <cstring>
#include <iostream>
#include "base/cprintf.hh"
#include "base/misc.hh"
#include "base/trace.hh"

Go to the source code of this file.

Macros

#define SET1(a1)   (1 << (a1))
 
#define SET2(a1, a2)   (SET1(a1) | SET1(a2))
 
#define SET3(a1, a2, a3)   (SET2(a1, a2) | SET1(a3))
 
#define SET4(a1, a2, a3, a4)   (SET3(a1, a2, a3) | SET1(a4))
 
#define SET5(a1, a2, a3, a4, a5)   (SET4(a1, a2, a3, a4) | SET1(a5))
 
#define SET6(a1, a2, a3, a4, a5, a6)   (SET5(a1, a2, a3, a4, a5) | SET1(a6))
 
#define SET7(a1, a2, a3, a4, a5, a6, a7)
 

Detailed Description

Definition of the Packet Class, a packet is a transaction occuring between a single level of the memory heirarchy (ie L1->L2).

Definition in file packet.cc.

Macro Definition Documentation

#define SET1 (   a1)    (1 << (a1))

Definition at line 63 of file packet.cc.

#define SET2 (   a1,
  a2 
)    (SET1(a1) | SET1(a2))

Definition at line 64 of file packet.cc.

#define SET3 (   a1,
  a2,
  a3 
)    (SET2(a1, a2) | SET1(a3))

Definition at line 65 of file packet.cc.

#define SET4 (   a1,
  a2,
  a3,
  a4 
)    (SET3(a1, a2, a3) | SET1(a4))

Definition at line 66 of file packet.cc.

#define SET5 (   a1,
  a2,
  a3,
  a4,
  a5 
)    (SET4(a1, a2, a3, a4) | SET1(a5))

Definition at line 67 of file packet.cc.

#define SET6 (   a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)    (SET5(a1, a2, a3, a4, a5) | SET1(a6))

Definition at line 68 of file packet.cc.

#define SET7 (   a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7 
)
Value:
(SET6(a1, a2, a3, a4, a5, a6) | \
SET1(a7))
#define SET1(a1)
Definition: packet.cc:63
#define SET6(a1, a2, a3, a4, a5, a6)
Definition: packet.cc:68
Bitfield< 22 > a1
Definition: miscregs.hh:1688

Definition at line 69 of file packet.cc.


Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6