RubyRequest.hh (8092:6782b51ae8a8) | RubyRequest.hh (8164:b043c0efa024) |
---|---|
1/* 2 * Copyright (c) 2009 Mark D. Hill and David A. Wood 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; --- 18 unchanged lines hidden (view full) --- 27 */ 28 29#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__ 30#define __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__ 31 32#include <ostream> 33 34#include "mem/packet.hh" | 1/* 2 * Copyright (c) 2009 Mark D. Hill and David A. Wood 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; --- 18 unchanged lines hidden (view full) --- 27 */ 28 29#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__ 30#define __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__ 31 32#include <ostream> 33 34#include "mem/packet.hh" |
35#include "mem/protocol/AccessModeType.hh" | 35#include "mem/protocol/RubyAccessMode.hh" |
36#include "mem/protocol/CacheRequestType.hh" 37#include "mem/protocol/Message.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/ruby/common/Address.hh" 40 41typedef void* RubyPortHandle; 42enum RubyRequestType { 43 RubyRequestType_NULL, --- 4 unchanged lines hidden (view full) --- 48 RubyRequestType_Store_Conditional, 49 RubyRequestType_RMW_Read, 50 RubyRequestType_RMW_Write, 51 RubyRequestType_Locked_RMW_Read, 52 RubyRequestType_Locked_RMW_Write, 53 RubyRequestType_NUM 54}; 55 | 36#include "mem/protocol/CacheRequestType.hh" 37#include "mem/protocol/Message.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/ruby/common/Address.hh" 40 41typedef void* RubyPortHandle; 42enum RubyRequestType { 43 RubyRequestType_NULL, --- 4 unchanged lines hidden (view full) --- 48 RubyRequestType_Store_Conditional, 49 RubyRequestType_RMW_Read, 50 RubyRequestType_RMW_Write, 51 RubyRequestType_Locked_RMW_Read, 52 RubyRequestType_Locked_RMW_Write, 53 RubyRequestType_NUM 54}; 55 |
56enum RubyAccessMode { 57 RubyAccessMode_User, 58 RubyAccessMode_Supervisor, 59 RubyAccessMode_Device 60}; 61 | |
62class RubyRequest 63{ 64 public: 65 uint64_t paddr; 66 uint8_t* data; 67 int len; 68 uint64_t pc; 69 RubyRequestType type; --- 32 unchanged lines hidden --- | 56class RubyRequest 57{ 58 public: 59 uint64_t paddr; 60 uint8_t* data; 61 int len; 62 uint64_t pc; 63 RubyRequestType type; --- 32 unchanged lines hidden --- |